-
Notifications
You must be signed in to change notification settings - Fork 746
Expand file tree
/
Copy pathNuGet.Build.Tasks.Console.csproj
More file actions
64 lines (56 loc) · 2.84 KB
/
NuGet.Build.Tasks.Console.csproj
File metadata and controls
64 lines (56 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(IsVsixBuild)' != 'true'">$(TargetFrameworksExe)</TargetFrameworks>
<TargetFramework Condition="'$(IsVsixBuild)' == 'true'">$(NETFXTargetFramework)</TargetFramework>
<OutputType>Exe</OutputType>
<Shipping>true</Shipping>
<PackProject>true</PackProject>
<SkipShared>true</SkipShared>
<Description>NuGet Build tasks for MSBuild and dotnet restore. Contains restore logic using the MSBuild static graph functionality.</Description>
<NoWarn>$(NoWarn);CS1591;NU5100;NU5128</NoWarn>
<XPLATProject>true</XPLATProject>
<IncludeBuildOutput>false</IncludeBuildOutput>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs</TargetsForTfmSpecificContentInPackage>
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
<ServerGarbageCollection>true</ServerGarbageCollection>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<UsePublicApiAnalyzer>false</UsePublicApiAnalyzer>
<ApplicationManifest>app.manifest</ApplicationManifest>
<RollForward>LatestMajor</RollForward>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\NuGet.Build.Tasks\NuGet.Build.Tasks.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="Runtime" />
<PackageReference Include="Microsoft.Build" ExcludeAssets="Runtime" />
<PackageReference Include="Microsoft.Build.Tasks.Core" ExcludeAssets="Runtime" />
<PackageReference Include="Microsoft.Build.Utilities.Core" ExcludeAssets="Runtime" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == '$(NETFXTargetFramework)' ">
<Reference Include="Microsoft.Build.Utilities.v4.0" Aliases="MicrosoftBuildUtilitiesv4" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" Condition=" '$(TargetFramework)' == '$(NETFXTargetFramework)' " />
<None Include="app.manifest" />
</ItemGroup>
<ItemGroup Label="NuGet Shared">
<Compile Include="$(SharedDirectory)\NoAllocEnumerateExtensions.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="..\NuGet.Build.Tasks\NuGet.RestoreEx.targets">
<Link>%(Filename)%(Extension)</Link>
<PackagePath>runtimes\any\native</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="NuGet.Build.Tasks.Console.Test" />
</ItemGroup>
<Target Name="PackBuildOutputs">
<ItemGroup>
<TfmSpecificPackageFile Include="$(TargetPath)" PackagePath="contentFiles\any\$(TargetFramework)" PackageCopyToOutput="true" />
<TfmSpecificPackageFile Include="$(ProjectRuntimeConfigFilePath)" Condition=" '$(TargetFramework)' != '$(NETFXTargetFramework)' " PackagePath="contentFiles\any\$(TargetFramework)" PackageCopyToOutput="true" />
</ItemGroup>
</Target>
</Project>