Files
NuGet.Client/test/TestExtensions/API.Test/API.Test.csproj
T

36 lines
1.4 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NETFXTargetFramework)</TargetFramework>
<SkipSigning>true</SkipSigning>
<NoWarn>$(NoWarn);1762</NoWarn>
<Description>An integration wrapper over the NuGet extensibility APIs for the Package Manager Console based end-to-end tests.</Description>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.PowerShell.3.ReferenceAssemblies" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\src\NuGet.Clients\NuGet.PackageManagement.VisualStudio\NuGet.PackageManagement.VisualStudio.csproj" />
</ItemGroup>
<Target Name="DeployToArtifacts" AfterTargets="Build;Rebuild">
<!--
Publish test extension artifacts to a well-known location so that
Import-Module NuGet.Tests.psm1 is able to locate it.
-->
<PropertyGroup>
<PublishDestination>$(ArtifactRoot)\TestExtensions</PublishDestination>
</PropertyGroup>
<Message Text="Publishing test extension artifacts..." Importance="high" />
<Message Text="$(TargetPath) -&gt; $(PublishDestination)" Importance="high" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PublishDestination)" OverwriteReadOnlyFiles="true" />
</Target>
</Project>