forked from NuGet/NuGet.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNuGet.CommandLine.XPlat.csproj
More file actions
69 lines (62 loc) · 2.57 KB
/
NuGet.CommandLine.XPlat.csproj
File metadata and controls
69 lines (62 loc) · 2.57 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>NuGet executable wrapper for the dotnet CLI nuget functionality.</Description>
<TargetFrameworks>$(MinimalTargetFrameworksExeSigning)</TargetFrameworks>
<RuntimeIdentifier Condition=" '$(TargetFramework)' == '$(NETFXTargetFramework)' ">win7-x86</RuntimeIdentifier>
<NoWarn>$(NoWarn);CS1591;CS1701;NU5104;CA1307;CA2000</NoWarn>
<OutputType>Exe</OutputType>
<Shipping>true</Shipping>
<PackProject>true</PackProject>
<XPLATProject>true</XPLATProject>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\NuGet.Commands\NuGet.Commands.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.CommandLineUtils.Sources" PrivateAssets="All" />
<PackageReference Include="System.Diagnostics.Debug" />
<PackageReference Include="Microsoft.Build" ExcludeAssets="runtime" />
</ItemGroup>
<!-- Microsoft.Build.Locator is only used when debugging, and the compiler will skip copying this dependency from Release assemblies we insert because we only refer to it conditionally with the DEBUG configuration.
Uncomment the following when debugging. Also uncomment the MSBuildLocator code from Program.cs -->
<!-- <ItemGroup>
<PackageReference Include="Microsoft.Build.Locator" PrivateAssets="All" />
</ItemGroup> -->
<ItemGroup>
<Compile Remove="external\*" />
<Compile Update="Commands\Verbs.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Verbs.tt</DependentUpon>
</Compile>
<Compile Update="Commands\CommandParsers.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>CommandParsers.tt</DependentUpon>
</Compile>
<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>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<ItemGroup>
<None Update="Commands\Verbs.tt">
<LastGenOutput>Verbs.cs</LastGenOutput>
<Generator>TextTemplatingFileGenerator</Generator>
</None>
<None Update="Commands\CommandParsers.tt">
<LastGenOutput>CommandParsers.cs</LastGenOutput>
<Generator>TextTemplatingFileGenerator</Generator>
</None>
</ItemGroup>
</Project>