Skip to content

Commit e1d5c8f

Browse files
fix system.text.json build error
1 parent 5adbea0 commit e1d5c8f

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

docs/samples/Microsoft.ML.Samples.GPU/Microsoft.ML.Samples.GPU.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
<ItemGroup>
4646
<PackageReference Include="Microsoft.ML.Onnx.TestModels" Version="$(MicrosoftMLOnnxTestModelsVersion)" />
47+
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
4748
</ItemGroup>
4849
<ItemGroup Condition=" '$(OS)' == 'Windows_NT'">
4950
<PackageReference Include="SciSharp.TensorFlow.Redist-Windows-GPU" Version="$(TensorFlowVersion)" />

docs/samples/Microsoft.ML.Samples/Microsoft.ML.Samples.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@
977977
<PackageReference Include="Microsoft.ML.Onnx.TestModels" Version="$(MicrosoftMLOnnxTestModelsVersion)" />
978978
<PackageReference Include="SciSharp.TensorFlow.Redist" Version="$(TensorFlowVersion)" />
979979
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="$(MicrosoftMLOnnxRuntimeVersion)" />
980+
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
980981
</ItemGroup>
981982

982983
<ItemGroup>

src/Microsoft.ML.Console/Microsoft.ML.Console.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<AssemblyName>MML</AssemblyName>
77
<StartupObject>Microsoft.ML.Tools.Console.Console</StartupObject>
@@ -27,6 +27,7 @@
2727
<ProjectReference Include="..\Microsoft.ML.Sweeper\Microsoft.ML.Sweeper.csproj" />
2828
<ProjectReference Include="..\Microsoft.ML.TensorFlow\Microsoft.ML.TensorFlow.csproj" />
2929
<ProjectReference Include="..\Microsoft.ML.Transforms\Microsoft.ML.Transforms.csproj" />
30+
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
3031

3132
<NativeAssemblyReference Include="FastTreeNative" />
3233
<NativeAssemblyReference Include="CpuMathNative" />

src/Microsoft.ML.SearchSpace/Microsoft.ML.SearchSpace.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<IncludeInPackage>Microsoft.ML.AutoML</IncludeInPackage>
5+
<IncludeInPackage>Microsoft.ML.Core</IncludeInPackage>
66
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
77
<NoWarn>MSML_ContractsCheckMessageNotLiteralOrIdentifier</NoWarn>
88
<LangVersion>9.0</LangVersion>

0 commit comments

Comments
 (0)