<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <!-- The properties need to be redefined to have a nuget package built as a part of MSBuild build. --> <PropertyGroup> <IsPackable>true</IsPackable> <IsShipping>false</IsShipping> <PackageVersion>1.0.0</PackageVersion> <ArtifactsNonShippingPackagesDir>$(ArtifactsBinDir)Microsoft.Build.BuildCheck.UnitTests\CustomChecks</ArtifactsNonShippingPackagesDir> <NoWarn>NU5101;NU5128;MSB3277;NU1507;NU1701;NU1702;NU5104</NoWarn> </PropertyGroup> <!-- In the real world scenario, the dependencies are added as Nuget PackageReference, modified for test purposes only. --> <ItemGroup> <ProjectReference Include="..\..\..\Build\Microsoft.Build.csproj" IncludeInPackage="true" /> </ItemGroup> </Project> |