-
Notifications
You must be signed in to change notification settings - Fork 743
Expand file tree
/
Copy pathNuGet.Build.Tasks.Pack.csproj
More file actions
57 lines (49 loc) · 2.28 KB
/
NuGet.Build.Tasks.Pack.csproj
File metadata and controls
57 lines (49 loc) · 2.28 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(TargetFrameworksLibrary)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591;NU5128</NoWarn>
<AssemblyName>NuGet.Build.Tasks.Pack</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
<Shipping>true</Shipping>
<PackProject>true</PackProject>
<PreserveCompilationContext>true</PreserveCompilationContext>
<XPLATProject>true</XPLATProject>
<IncludeSatelliteOutputInPack>true</IncludeSatelliteOutputInPack>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<DevelopmentDependency>true</DevelopmentDependency>
<Description>NuGet tasks for MSBuild and dotnet pack.</Description>
<NoWarn>$(NoWarn);NU5100</NoWarn>
<DepsFileGenerationMode>old</DepsFileGenerationMode>
<UsePublicApiAnalyzer>false</UsePublicApiAnalyzer>
<DefineConstants>$(DefineConstants);PACK_TASKS</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\NuGet.Build.Tasks\Common\MSBuildLogger.cs" />
<Compile Include="..\NuGet.Build.Tasks\GetProjectTargetFrameworksTask.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NuGet.Commands\NuGet.Commands.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == '$(NETFXTargetFramework)' ">
<Reference Include="Microsoft.Build.Utilities.v4.0" Pack="false" />
<Reference Include="Microsoft.Build.Framework" Pack="false" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != '$(NETFXTargetFramework)' ">
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="runtime" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.Build.Tasks.Core" ExcludeAssets="runtime" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.Build.Utilities.Core" ExcludeAssets="runtime" GeneratePathProperty="true" />
</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>ResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>