Skip to content

Commit

Permalink
Update sample (#6012)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtivel committed Sep 11, 2023
1 parent ebc21d3 commit ab900b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="Moq" Version="4.16.1" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VisualStudioVersion = 17.0.32112.339
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppSettingStronglyTyped", "AppSettingStronglyTyped\AppSettingStronglyTyped.csproj", "{0EDB0B2F-8086-4F4E-9413-425CB9D47185}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppSettingStronglyTyped.Test", "AppSettingStronglyTyped.Test\AppSettingStronglyTyped.Test.csproj", "{307BBB4B-1FB2-4704-B4B0-E46476D0E779}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppSettingStronglyTyped.Test", "AppSettingStronglyTyped.Test\AppSettingStronglyTyped.Test.csproj", "{307BBB4B-1FB2-4704-B4B0-E46476D0E779}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<!-- we need the assemblies bundled, so set this so we don't expose any dependencies to the outside world -->
<GenerateDependencyFile>true</GenerateDependencyFile>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
<!-- This property tells MSBuild where the root folder of the package's build assets should be. Because we are not a library package, we should not pack to 'lib'. Instead, we choose 'tasks' by convention. -->
<BuildOutputTargetFolder>tasks</BuildOutputTargetFolder>
<!-- NuGet does validation that libraries in a package are exposed as dependencies, but we _explicitly_ do not want that behavior for MSBuild tasks. They are isolated by design. Therefore we ignore this specific warning. -->
<NoWarn>NU5100</NoWarn>
<DebugType>embedded</DebugType>
<IsPackable>true</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit ab900b0

Please sign in to comment.