Skip to content

Commit 2bbef17

Browse files
sandyarmstrongIvanidzo4ka
authored andcommitted
Prevent annoying error in VSmac (#219)
* Prevent annoying error in VSmac Work around mono/monodevelop#3859 * Remove trailing whitespace * Explicitly set TargetFramework on all test projects And remove the property from Directory.Build.props for now.
1 parent d51321c commit 2bbef17

File tree

7 files changed

+9
-2
lines changed

7 files changed

+9
-2
lines changed

test/Directory.Build.props

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<Import Project="..\Directory.Build.props" />
33

44
<PropertyGroup>
5-
<TargetFramework>netcoreapp2.0</TargetFramework>
65
<VSTestLogger>trx</VSTestLogger>
76
<VSTestResultsDirectory>$(OutputPath)</VSTestResultsDirectory>
87
<AssemblyOriginatorKeyFile>$(ToolsDir)Test.snk</AssemblyOriginatorKeyFile>

test/Microsoft.ML.Benchmarks/Microsoft.ML.Benchmarks.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<LangVersion>7.2</LangVersion>
4+
<LangVersion>7.2</LangVersion>
55
<StartupObject>Microsoft.ML.Benchmarks.Program</StartupObject>
66
<TargetFramework>netcoreapp2.0</TargetFramework>
77
</PropertyGroup>

test/Microsoft.ML.Core.Tests/Microsoft.ML.Core.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFramework>netcoreapp2.0</TargetFramework>
34
<DefineConstants>CORECLR</DefineConstants>
45
</PropertyGroup>
56

test/Microsoft.ML.InferenceTesting/Microsoft.ML.InferenceTesting.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4+
<TargetFramework>netcoreapp2.0</TargetFramework>
45
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
56
<DefineConstants>CORECLR</DefineConstants>
67
</PropertyGroup>

test/Microsoft.ML.Predictor.Tests/Microsoft.ML.Predictor.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFramework>netcoreapp2.0</TargetFramework>
34
<DefineConstants>CORECLR</DefineConstants>
45
</PropertyGroup>
56
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

test/Microsoft.ML.TestFramework/Microsoft.ML.TestFramework.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFramework>netcoreapp2.0</TargetFramework>
34
<DefineConstants>CORECLR</DefineConstants>
45
</PropertyGroup>
56

test/Microsoft.ML.Tests/Microsoft.ML.Tests.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>netcoreapp2.0</TargetFramework>
4+
</PropertyGroup>
5+
26
<ItemGroup>
37
<ProjectReference Include="..\..\src\Microsoft.ML.PipelineInference\Microsoft.ML.PipelineInference.csproj" />
48
<ProjectReference Include="..\..\src\Microsoft.ML.StandardLearners\Microsoft.ML.StandardLearners.csproj" />

0 commit comments

Comments
 (0)