Address code review feedback

This commit is contained in:
Daniel Plaisted 2018-07-09 14:12:11 -07:00
parent 75e0dbb45d
commit 905d4d442d
2 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,9 @@
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<CliTargetFramework>netcoreapp3.0</CliTargetFramework>
<!-- We only need this until we get a stage0 with a 3.0 SDK. -->
<!-- Workaround until the stage0 SDK supports .NET Core 3.0.
It won't hurt anything to leave this in though. -->
<NETCoreAppMaximumVersion>3.0</NETCoreAppMaximumVersion>
</PropertyGroup>
</Project>

View file

@ -30,6 +30,7 @@ namespace Microsoft.DotNet.Tests.EndToEnd
string projectPath = Directory.GetFiles(projectDirectory, "*.csproj").Single();
// Override TargetFramework since there aren't .NET Core 3 templates yet
// https://github.com/dotnet/core-sdk/issues/24 tracks removing this workaround
XDocument project = XDocument.Load(projectPath);
var ns = project.Root.Name.Namespace;
project.Root.Element(ns + "PropertyGroup")