Skip to content

Commit

Permalink
Added custom module folders in test project output
Browse files Browse the repository at this point in the history
  • Loading branch information
valainisgt committed Apr 23, 2022
1 parent 15e5e63 commit b29ec29
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

PSDesiredStateConfiguration.Tests/Modules/
PSDesiredStateConfiguration.Tests/DscResourceModules/

# User-specific files
*.rsuser
*.suo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
Expand All @@ -21,4 +21,15 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<Compile Remove="Modules\**" />
<Content Include="Modules\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Compile Remove="DscResourceModules\**" />
<Content Include="DscResourceModules\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

</Project>

0 comments on commit b29ec29

Please sign in to comment.