|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | -<VersionPrefix>1.4.0</VersionPrefix> |
5 | | -<TargetFrameworks>netstandard2.0;net46</TargetFrameworks> |
| 4 | +<VersionPrefix>2.0.0</VersionPrefix> |
| 5 | +<TargetFrameworks>netstandard2.0</TargetFrameworks> |
6 | 6 | </PropertyGroup> |
7 | 7 |
|
8 | 8 | <PropertyGroup> |
| 9 | +<MinClientVersion>5.0</MinClientVersion> |
9 | 10 | <DevelopmentDependency>true</DevelopmentDependency> |
10 | 11 | <BuildOutputTargetFolder>tools</BuildOutputTargetFolder> |
11 | 12 | <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
12 | 13 | <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> |
13 | 14 | </PropertyGroup> |
14 | 15 |
|
15 | 16 | <ItemGroup> |
16 | | -<None Include="package\build\*" Pack="true" PackagePath="build;buildMultiTargeting" /> |
| 17 | +<None Include="package\build\*" Pack="true" PackagePath="build" /> |
17 | 18 | <None Include="package\*" Pack="true" PackagePath="tools" /> |
18 | 19 | <None Include="$(OutputPath)\*\Mono.Cecil.dll" Pack="true" PackagePath="tools" /> |
19 | | -<None Include="$(OutputPath)\*\System.ValueTuple.dll" Pack="true" PackagePath="tools" /> |
20 | 20 | </ItemGroup> |
21 | 21 |
|
22 | 22 | <ItemGroup> |
23 | | -<PackageReference Include="Microsoft.Build.Utilities.Core" Version="15.9.20" /> |
| 23 | +<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.0.461" /> |
24 | 24 | <PackageReference Include="Mono.Cecil" Version="0.11.5" PrivateAssets="all" /> |
25 | | -<PackageReference Condition="$(DefineConstants.Contains('NETFRAMEWORK'))" Include="System.ValueTuple" Version="4.5.0" /> |
26 | 25 | <!-- these are for use in the test project, downloaded here to avoid version conflicts when building tests --> |
27 | 26 | <PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[7.0.0]" /> |
28 | 27 | <PackageDownload Include="Microsoft.NETFramework.ReferenceAssemblies.net48" Version="[1.0.0]" /> |
29 | 28 | </ItemGroup> |
30 | 29 |
|
31 | 30 | <Target Name="VerifyPackDependencies" BeforeTargets="GenerateNuspec"> |
32 | | -<Error Condition="@(None->WithMetadataValue('Pack', 'true')->WithMetadataValue('Filename', 'Mono.Cecil')->Count()) != 2" Text="Dependencies were not present for pack. Start build again." /> |
| 31 | +<Error Condition="@(None->WithMetadataValue('Pack', 'true')->WithMetadataValue('Filename', 'Mono.Cecil')->Count()) != 1" Text="Dependencies were not present for pack. Start build again." /> |
33 | 32 | </Target> |
34 | 33 |
|
35 | 34 | </Project> |
0 commit comments