File tree 6 files changed +19
-1
lines changed 6 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 11
11
12
12
<IsReferenceAssemblyProject >false</IsReferenceAssemblyProject >
13
13
<IsReferenceAssemblyProject Condition =" $(MSBuildProjectDirectory.EndsWith('ref'))" >true</IsReferenceAssemblyProject >
14
- <OutDirName Condition =" '$(IsReferenceAssemblyProject)' == 'true'" >$(MSBuildProjectName)-ref</OutDirName >
14
+ <RefOutDirName >$(MSBuildProjectName)-ref</RefOutDirName >
15
+ <OutDirName Condition =" '$(IsReferenceAssemblyProject)' == 'true'" >$(RefOutDirName)</OutDirName >
15
16
16
17
<IsBenchmarkProject Condition =" $(MSBuildProjectName.EndsWith('.Performance')) OR $(RepoRelativeProjectDir.Contains('perf'))" >true</IsBenchmarkProject >
17
18
<IsSpecificationTestProject Condition =" $(MSBuildProjectName.EndsWith('.Specification.Tests'))" >true</IsSpecificationTestProject >
Original file line number Diff line number Diff line change 115
115
<AssemblyVersion >$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0.0</AssemblyVersion >
116
116
</PropertyGroup >
117
117
118
+ <PropertyGroup Label =" APICompat settings" >
119
+ <!-- Don't run APICompat on projects without ref assemblies -->
120
+ <RunApiCompat Condition =" '$(HasReferenceAssembly)' == 'false'" >false</RunApiCompat >
121
+ <ContractDir Condition =" '$(HasReferenceAssembly)' == 'true'" >$(OutputPath.Replace('$(OutDirName)','$(RefOutDirName)'))</ContractDir >
122
+ </PropertyGroup >
123
+
124
+ <ItemGroup Condition =" '$(HasReferenceAssembly)' == 'true'" >
125
+ <ResolvedMatchingContract Include =" $(ContractDir)$(TargetFileName)" />
126
+ </ItemGroup >
127
+
118
128
<ItemGroup >
119
129
<KnownFrameworkReference Update =" Microsoft.NETCore.App" >
120
130
<!-- Always update the 'latest version', whether the repo is servicing or not. -->
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ and are generated based on the last package release.
28
28
<LatestPackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" $(MicrosoftCodeAnalysisCSharpPackageVersion)" />
29
29
<LatestPackageReference Include =" Microsoft.CodeAnalysis.Razor" Version =" $(MicrosoftCodeAnalysisRazorPackageVersion)" />
30
30
<LatestPackageReference Include =" Microsoft.CSharp" Version =" $(MicrosoftCSharpPackageVersion)" />
31
+ <LatestPackageReference Include =" Microsoft.DotNet.APICompat" Version =" $(MicrosoftDotNetAPICompatPackageVersion)" />
31
32
<LatestPackageReference Include =" Microsoft.DotNet.GenAPI" Version =" $(MicrosoftDotNetGenApiPackageVersion)" />
32
33
<LatestPackageReference Include =" Microsoft.DotNet.PlatformAbstractions" Version =" $(MicrosoftDotNetPlatformAbstractionsPackageVersion)" />
33
34
<LatestPackageReference Include =" Microsoft.Extensions.ActivatorUtilities.Sources" Version =" $(MicrosoftExtensionsActivatorUtilitiesSourcesPackageVersion)" />
Original file line number Diff line number Diff line change 417
417
<Uri >https://github.com/aspnet/Extensions</Uri >
418
418
<Sha >d40e21ccc14908a054b2181b1d6aeb22c49c630d</Sha >
419
419
</Dependency >
420
+ <Dependency Name =" Microsoft.DotNet.APICompat" Version =" 1.0.0-beta.19607.3" >
421
+ <Uri >https://github.com/dotnet/arcade</Uri >
422
+ <Sha >4d80b9cfa53e309c8f685abff3512f60c3d8a3d1</Sha >
423
+ </Dependency >
420
424
<Dependency Name =" Microsoft.DotNet.GenAPI" Version =" 1.0.0-beta.19607.3" >
421
425
<Uri >https://github.com/dotnet/arcade</Uri >
422
426
<Sha >4d80b9cfa53e309c8f685abff3512f60c3d8a3d1</Sha >
Original file line number Diff line number Diff line change 63
63
<PropertyGroup Label =" Automated" >
64
64
<!-- Packages from dotnet/arcade -->
65
65
<MicrosoftDotNetGenAPIPackageVersion >1.0.0-beta.19607.3</MicrosoftDotNetGenAPIPackageVersion >
66
+ <MicrosoftDotNetAPICompatPackageVersion >1.0.0-beta.19607.3</MicrosoftDotNetAPICompatPackageVersion >
66
67
<!-- Packages from dotnet/roslyn -->
67
68
<MicrosoftNetCompilersToolsetPackageVersion >3.4.0-beta4-19569-03</MicrosoftNetCompilersToolsetPackageVersion >
68
69
<!-- Packages from dotnet/core-setup -->
Original file line number Diff line number Diff line change 12
12
<PackageReference Include =" MicroBuild.Core" Version =" 0.3.0" PrivateAssets =" All" AllowExplicitReference =" true" ExcludeAssets =" All" />
13
13
14
14
<PackageReference Condition =" '$(DotNetBuildFromSource)' != 'true'" Include =" Microsoft.DotNet.GenAPI" PrivateAssets =" All" Version =" $(MicrosoftDotNetGenApiPackageVersion)" IsImplicitlyDefined =" true" />
15
+ <PackageReference Condition =" '$(DotNetBuildFromSource)' != 'true'" Include =" Microsoft.DotNet.APICompat" PrivateAssets =" All" Version =" $(MicrosoftDotNetAPICompatPackageVersion)" IsImplicitlyDefined =" true" />
15
16
</ItemGroup >
16
17
17
18
<ItemGroup Condition =" '$(UsingMicrosoftNETSdkWeb)' == 'true' OR '$(RazorSdkCurrentVersionProps)' != ''" >
You can’t perform that action at this time.
0 commit comments