Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add missing System.CodeDom dependency for .NET core
  • Loading branch information
filmor committed Nov 15, 2018
commit 3d6024d05dcbf52e717c0c39f3cca79bac09ca45
6 changes: 5 additions & 1 deletion src/embed_tests/Python.EmbeddingTest.15.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

<PropertyGroup>
Expand Down Expand Up @@ -82,8 +82,12 @@
<PackageReference Include="NUnit3TestAdapter" Version="3.8.0" />
<PackageReference Include="NUnitLite" Version="3.7.2" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="System.CodeDom">
<Version>4.5.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\runtime\Python.Runtime.15.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/embed_tests/TestConsoleInterrupt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Python.EmbeddingTest
/// </summary>
public class TestConsoleInterrupt
{
static string program = @"
static readonly string program = @"
using System;
using Python.Runtime;
using System.Text;
Expand Down