forked from NuGet/NuGet.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNuGet.Build.Tasks.csproj
More file actions
70 lines (63 loc) · 2.71 KB
/
NuGet.Build.Tasks.csproj
File metadata and controls
70 lines (63 loc) · 2.71 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
65
66
67
68
69
70
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(MinimalTargetFrameworksExeSigning)</TargetFrameworks>
<TargetFramework />
<Shipping>true</Shipping>
<IncludeInVSIX>true</IncludeInVSIX>
<PackProject>true</PackProject>
<Description>NuGet tasks for MSBuild and dotnet restore.</Description>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<XPLATProject>true</XPLATProject>
<UsePublicApiAnalyzer>false</UsePublicApiAnalyzer>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsVsixBuild)' == 'true' ">
<TargetFrameworks />
<TargetFramework>$(NETFXTargetFramework)</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Content Include="NuGet.RestoreEx.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Pack>false</Pack>
</Content>
<Content Include="NuGet.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\any\native</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="NuGet.props">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\any\native</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NuGet.Commands\NuGet.Commands.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == '$(NETFXTargetFramework)' ">
<ProjectReference Include="..\NuGet.PackageManagement\NuGet.PackageManagement.csproj" />
<Reference Include="Microsoft.Build.Utilities.v4.0" />
<Reference Include="Microsoft.Build.Framework" />
<PackageReference Include="System.Threading.Tasks.Dataflow" />
</ItemGroup>
<ItemGroup Condition=" '$(IsCore)' == 'true' ">
<PackageReference Include="Microsoft.Build.Tasks.Core" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Build.Utilities.Core" ExcludeAssets="runtime" />
<!-- System.Security.Cryptography.Xml is a dependency of Microsoft.Build.Tasks.Core. Therefore, we have assigned the same ExcludeAssets value. -->
<PackageReference Include="System.Security.Cryptography.Xml" ExcludeAssets="runtime" />
<PackageReference Include="System.Security.Cryptography.Pkcs" ExcludeAssets="compile" />
</ItemGroup>
<ItemGroup>
<Compile Update="Strings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Strings.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>