forked from NuGet/NuGet.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NuGet.Common.csproj
55 lines (48 loc) · 2.04 KB
/
NuGet.Common.csproj
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
<Project>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'NuGet.sln'))\build\common.props" />
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<!-- //////////////////////////////////////////////////////////
// Start - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<AssemblyName>Chocolatey.NuGet.Common</AssemblyName>
<!-- //////////////////////////////////////////////////////////
// End - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<Description>Common utilities and interfaces for all NuGet libraries.</Description>
<TargetFrameworks>$(TargetFrameworksLibrary)</TargetFrameworks>
<TargetFramework />
<NoWarn>$(NoWarn);CS1591;CS1574</NoWarn>
<PackProject>true</PackProject>
<Shipping>true</Shipping>
<IncludeInVSIX>true</IncludeInVSIX>
<XPLATProject>true</XPLATProject>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsVsixBuild)' == 'true' ">
<TargetFrameworks />
<TargetFramework>$(NETFXTargetFramework)</TargetFramework>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == '$(NETFXTargetFramework)' " >
<Reference Include="System.Core" />
<Reference Include="System.IO.Compression" />
<Reference Include="mscorlib" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NuGet.Frameworks\NuGet.Frameworks.csproj" />
</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>
<Import Project="$(BuildCommonDirectory)common.targets"/>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
</Project>