Fixing dotnet migrate global.json. This was failing because we were turning global.json into an empty string and trying to construct a directory for it. The fix was to detect this and transform it into a . directory. Migrate is already respecting the projects node in global.json.

This commit is contained in:
Livar Cunha 2017-01-19 10:32:32 -08:00
parent 908b6515cb
commit cdf91f2f30
11 changed files with 83 additions and 8 deletions

View file

@ -0,0 +1,12 @@
using System;
namespace App.Tests
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World from Test asset!");
}
}
}

View file

@ -0,0 +1,15 @@
{
"frameworks": {
"netcoreapp1.0": {
"imports": [
"portable-net451+win8"
],
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0",
"type": "platform"
}
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"projects": [
"App",
"App.Tests"
"src",
"test"
]
}