Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e38124a

Browse files
committed
Add missing System.CodeDom dependency for .NET core
1 parent f9810f8 commit e38124a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/embed_tests/Python.EmbeddingTest.15.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project>
1+
<Project>
22
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
33

44
<PropertyGroup>
@@ -82,8 +82,12 @@
8282
<PackageReference Include="NUnit3TestAdapter" Version="3.8.0" />
8383
<PackageReference Include="NUnitLite" Version="3.7.2" />
8484
</ItemGroup>
85+
8586
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
8687
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
88+
<PackageReference Include="System.CodeDom">
89+
<Version>4.5.0</Version>
90+
</PackageReference>
8791
</ItemGroup>
8892
<ItemGroup>
8993
<ProjectReference Include="..\runtime\Python.Runtime.15.csproj" />

src/embed_tests/TestConsoleInterrupt.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Python.EmbeddingTest
1414
/// </summary>
1515
public class TestConsoleInterrupt
1616
{
17-
static string program = @"
17+
static readonly string program = @"
1818
using System;
1919
using Python.Runtime;
2020
using System.Text;

0 commit comments

Comments
 (0)