зеркало из https://github.com/dotnet/samples.git
Update sample (#6012)
This commit is contained in:
Родитель
ebc21d3398
Коммит
ab900b0699
|
@ -8,6 +8,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.0.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
|
||||||
<PackageReference Include="Moq" Version="4.16.1" />
|
<PackageReference Include="Moq" Version="4.16.1" />
|
||||||
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
|
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
|
||||||
|
|
|
@ -5,7 +5,7 @@ VisualStudioVersion = 17.0.32112.339
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppSettingStronglyTyped", "AppSettingStronglyTyped\AppSettingStronglyTyped.csproj", "{0EDB0B2F-8086-4F4E-9413-425CB9D47185}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppSettingStronglyTyped", "AppSettingStronglyTyped\AppSettingStronglyTyped.csproj", "{0EDB0B2F-8086-4F4E-9413-425CB9D47185}"
|
||||||
EndProject
|
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
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|
|
@ -11,6 +11,10 @@
|
||||||
<!-- we need the assemblies bundled, so set this so we don't expose any dependencies to the outside world -->
|
<!-- we need the assemblies bundled, so set this so we don't expose any dependencies to the outside world -->
|
||||||
<GenerateDependencyFile>true</GenerateDependencyFile>
|
<GenerateDependencyFile>true</GenerateDependencyFile>
|
||||||
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
|
<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>
|
<DebugType>embedded</DebugType>
|
||||||
<IsPackable>true</IsPackable>
|
<IsPackable>true</IsPackable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче