forked from NuGet/NuGet.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NuGet.Frameworks.csproj
46 lines (41 loc) · 1.76 KB
/
NuGet.Frameworks.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
<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.Frameworks</AssemblyName>
<UsePublicApiAnalyzer>perTfm</UsePublicApiAnalyzer>
<!-- //////////////////////////////////////////////////////////
// End - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<Description>NuGet's understanding of target frameworks.</Description>
<TargetFrameworks>$(TargetFrameworksLibrary)</TargetFrameworks>
<TargetFramework />
<NoWarn>$(NoWarn);CS1591;CS1574;CS1573</NoWarn>
<PackProject>true</PackProject>
<Shipping>true</Shipping>
<IncludeInVSIX>true</IncludeInVSIX>
<XPLATProject>true</XPLATProject>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsVsixBuild)' == 'true' ">
<TargetFrameworks />
<TargetFramework>$(NETFXTargetFramework)</TargetFramework>
</PropertyGroup>
<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>