-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathInternal.AspNetCore.Sdk.csproj
55 lines (47 loc) · 2.65 KB
/
Internal.AspNetCore.Sdk.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 Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<VersionPrefix>2.1.1</VersionPrefix>
<VerifyVersion>false</VerifyVersion>
<TargetFrameworks>netcoreapp2.0;net46</TargetFrameworks>
<DefineConstants>$(DefineConstants);SDK</DefineConstants>
<Serviceable>false</Serviceable>
<Description>Build targets and extensions to Microsoft.NET.Sdk. This package is intended for Microsoft use only.</Description>
<RootNamespace>Microsoft.AspNetCore.BuildTools</RootNamespace>
<NoPackageAnalysis>true</NoPackageAnalysis>
<BuildToolsPath>..\..\modules\BuildTools.Tasks\</BuildToolsPath>
<NuspecFile>$(MSBuildThisFileDirectory)$(MSBuildProjectName).nuspec</NuspecFile>
<IncludeSymbols>false</IncludeSymbols>
<IncludeSource>false</IncludeSource>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(BuildToolsPath)*.cs" />
<Compile Include="$(BuildToolsPath)Utilities\*.cs" />
<Compile Include="..\..\shared\Microsoft.Extensions.CommandLineUtils.Sources\**\*.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildVersion)" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="$(JsonNetInMSBuildVersion)" />
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" PrivateAssets="All" />
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net46'">
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" />
</ItemGroup>
<Target Name="SetPackageDependencies" BeforeTargets="GenerateNuspec">
<MSBuild Projects="..\ApiCheck.Console\ApiCheck.Console.csproj" Targets="GetPackageVersion">
<Output TaskParameter="TargetOutputs" PropertyName="ApiCheckPackageVersion" />
</MSBuild>
<PropertyGroup>
<NuspecProperties>$(NuspecProperties);apicheckVersion=$(ApiCheckPackageVersion)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);config=$(Configuration)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);version=$(PackageVersion)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);description=$(Description)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);copyright=$(Copyright)</NuspecProperties>
</PropertyGroup>
</Target>
</Project>