Add Portable Test Package Asset
This commit is contained in:
parent
ae83a73e35
commit
51dcb6063f
5 changed files with 36 additions and 5 deletions
12
TestAssets/TestPackages/dotnet-portable/Program.cs
Normal file
12
TestAssets/TestPackages/dotnet-portable/Program.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello Portable World!");
|
||||
}
|
||||
}
|
||||
}
|
18
TestAssets/TestPackages/dotnet-portable/project.json
Normal file
18
TestAssets/TestPackages/dotnet-portable/project.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -17,8 +17,8 @@
|
|||
},
|
||||
"testRunner": "must-be-specified-to-generate-deps",
|
||||
"tools": {
|
||||
"dotnet-hello": {
|
||||
"version": "2.0.0",
|
||||
"dotnet-portable": {
|
||||
"version": "1.0.0",
|
||||
"target": "package"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
}
|
||||
},
|
||||
"tools": {
|
||||
"dotnet-hello": {
|
||||
"version": "2.0.0",
|
||||
"dotnet-portable": {
|
||||
"version": "1.0.0",
|
||||
"target": "package"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
public static readonly string[] TestPackageProjects = new[]
|
||||
{
|
||||
"dotnet-hello/v1/dotnet-hello",
|
||||
"dotnet-hello/v2/dotnet-hello"
|
||||
"dotnet-hello/v2/dotnet-hello",
|
||||
"dotnet-portable"
|
||||
};
|
||||
|
||||
public static readonly string[] TestProjects = new[]
|
||||
|
|
Loading…
Reference in a new issue