Skip to content

Commit

Permalink
Merge pull request dotnet#42785 from sharwell/scripting-netcoreapp
Browse files Browse the repository at this point in the history
Add netcoreapp3.1 target for the scripting layer
  • Loading branch information
sharwell authored Mar 30, 2020
2 parents ff02440 + 441286e commit 7c63d34
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.CSharp.Scripting</RootNamespace>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;netstandard2.0</TargetFrameworks>

<!-- NuGet -->
<IsPackable>true</IsPackable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ private static bool TryReadMvid(string filePath, out Guid mvid)
}
catch
{
mvid = default;
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Scripting/Core/Microsoft.CodeAnalysis.Scripting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.Scripting</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;netstandard2.0</TargetFrameworks>
<DefineConstants>$(DefineConstants);SCRIPTING</DefineConstants>

<!-- NuGet -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;netstandard2.0</TargetFrameworks>
<RootNamespace></RootNamespace>
</PropertyGroup>
<ItemGroup Label="Project References">
Expand Down

0 comments on commit 7c63d34

Please sign in to comment.