Skip to content

Commit 6429029

Browse files
committed
addressing review comments
1 parent 449c8df commit 6429029

File tree

19 files changed

+29
-27
lines changed

19 files changed

+29
-27
lines changed

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,5 @@
132132
API missing from old) -->
133133
<RunApiCompatForSrc>true</RunApiCompatForSrc>
134134
<RunMatchingRefApiCompat>false</RunMatchingRefApiCompat>
135-
<MicrosoftDotNetApiCompatPackageVersion>1.0.0-beta.19225.5</MicrosoftDotNetApiCompatPackageVersion>
136135
</PropertyGroup>
137136
</Project>

Microsoft.ML.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,6 @@ Global
971971
{E02DA82D-3FEE-4C60-BD80-9EC3C3448DFC}.Release-netfx|Any CPU.ActiveCfg = Release-netfx|Any CPU
972972
{E02DA82D-3FEE-4C60-BD80-9EC3C3448DFC}.Release-netfx|Any CPU.Build.0 = Release-netfx|Any CPU
973973
{C1884169-7330-42DF-B401-9427C6EFB092}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
974-
{C1884169-7330-42DF-B401-9427C6EFB092}.Debug|Any CPU.Build.0 = Debug|Any CPU
975974
{C1884169-7330-42DF-B401-9427C6EFB092}.Debug-Intrinsics|Any CPU.ActiveCfg = Debug-Intrinsics|Any CPU
976975
{C1884169-7330-42DF-B401-9427C6EFB092}.Debug-Intrinsics|Any CPU.Build.0 = Debug-Intrinsics|Any CPU
977976
{C1884169-7330-42DF-B401-9427C6EFB092}.Debug-netfx|Any CPU.ActiveCfg = Debug-netfx|Any CPU

build/Dependencies.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<CodecovVersion>1.1.1</CodecovVersion>
3737
<CoverletVersion>2.6.0</CoverletVersion>
3838
<ReportGeneratorVersion>4.0.9</ReportGeneratorVersion>
39+
<MicrosoftDotNetApiCompatPackageVersion>1.0.0-beta.19225.5</MicrosoftDotNetApiCompatPackageVersion>
3940
</PropertyGroup>
4041

4142
<!-- Test-only Dependencies -->

src/Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,8 @@
3838
</AdditionalFiles>
3939
</ItemGroup>
4040

41+
<PropertyGroup>
42+
<RunApiCompat Condition="'$(RunApiCompat)' == ''">$(IsStableProject)</RunApiCompat>
43+
</PropertyGroup>
44+
4145
</Project>

src/Directory.Build.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
ResolveMatchingContract
3535
</ResolveReferencesDependsOn>
3636

37-
<StabelApiProject>$(RepoRoot)tools-local\Microsoft.ML.StableApi\Microsoft.ML.StableApi.csproj</StabelApiProject>
37+
<StableApiProject>$(RepoRoot)tools-local\Microsoft.ML.StableApi\Microsoft.ML.StableApi.csproj</StableApiProject>
3838
</PropertyGroup>
3939

4040
<ItemGroup Condition="'$(RunApiCompat)' == 'true'">
@@ -44,7 +44,7 @@
4444
</ItemGroup>
4545

4646
<Target Name="ResolveMatchingContract">
47-
<MSBuild Projects="$(StabelApiProject)"
47+
<MSBuild Projects="$(StableApiProject)"
4848
Targets="GetContract"
4949
Properties="ContractName=$(AssemblyName);TargetFramework=$(TargetFramework)">
5050
<Output TaskParameter="TargetOutputs" ItemName="ResolvedMatchingContract"/>

src/Microsoft.ML.Analyzer/Microsoft.ML.Analyzer.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFramework>netstandard1.3</TargetFramework>
55
<IncludeAnalyzerInPackage>Microsoft.ML</IncludeAnalyzerInPackage>
6-
<RunApiCompat>true</RunApiCompat>
76
</PropertyGroup>
87

98
<ItemGroup>

src/Microsoft.ML.Core/Microsoft.ML.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<DefineConstants>CORECLR</DefineConstants>
88
<RootNamespace>Microsoft.ML</RootNamespace>
9-
<RunApiCompat>true</RunApiCompat>
9+
<IsStableProject>true</IsStableProject>
1010
</PropertyGroup>
1111

1212
<ItemGroup>

src/Microsoft.ML.CpuMath/Microsoft.ML.CpuMath.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<DefineConstants>$(DefineConstants);CPUMATH_INFRASTRUCTURE</DefineConstants>
99
<LangVersion>7.3</LangVersion>
10-
<RunApiCompat>true</RunApiCompat>
10+
<IsStableProject>true</IsStableProject>
1111
</PropertyGroup>
1212

1313
<ItemGroup>

src/Microsoft.ML.Data/Microsoft.ML.Data.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<IncludeInPackage>Microsoft.ML</IncludeInPackage>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<DefineConstants>CORECLR</DefineConstants>
8-
<RunApiCompat>true</RunApiCompat>
8+
<IsStableProject>true</IsStableProject>
99
</PropertyGroup>
1010

1111
<ItemGroup>

src/Microsoft.ML.DataView/Microsoft.ML.DataView.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<IncludeInPackage>Microsoft.ML.DataView</IncludeInPackage>
6-
<RunApiCompat>true</RunApiCompat>
6+
<IsStableProject>true</IsStableProject>
77
</PropertyGroup>
88

99
<ItemGroup>

0 commit comments

Comments
 (0)