Add Portable Test Package Asset

This commit is contained in:
Bryan Thornbury 2016-03-17 11:43:01 -07:00
parent ae83a73e35
commit 51dcb6063f
5 changed files with 36 additions and 5 deletions

View file

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

View file

@ -0,0 +1,18 @@
{
"version": "1.0.0",
"compilationOptions": {
"emitEntryPoint": true
},
"frameworks": {
"netstandard1.5": {
"imports": [
"dnxcore50",
"portable-net45+win8"
],
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-23911"
}
}
}
}

View file

@ -17,8 +17,8 @@
}, },
"testRunner": "must-be-specified-to-generate-deps", "testRunner": "must-be-specified-to-generate-deps",
"tools": { "tools": {
"dotnet-hello": { "dotnet-portable": {
"version": "2.0.0", "version": "1.0.0",
"target": "package" "target": "package"
} }
} }

View file

@ -12,8 +12,8 @@
} }
}, },
"tools": { "tools": {
"dotnet-hello": { "dotnet-portable": {
"version": "2.0.0", "version": "1.0.0",
"target": "package" "target": "package"
} }
} }

View file

@ -16,7 +16,8 @@ namespace Microsoft.DotNet.Cli.Build
public static readonly string[] TestPackageProjects = new[] public static readonly string[] TestPackageProjects = new[]
{ {
"dotnet-hello/v1/dotnet-hello", "dotnet-hello/v1/dotnet-hello",
"dotnet-hello/v2/dotnet-hello" "dotnet-hello/v2/dotnet-hello",
"dotnet-portable"
}; };
public static readonly string[] TestProjects = new[] public static readonly string[] TestProjects = new[]