Fix run behaviour when only single target exists
This commit is contained in:
parent
f81ba05a7c
commit
6ca22e4a56
15 changed files with 197 additions and 7 deletions
1
TestAssets/TestProjects/CompileFail/.noautobuild
Normal file
1
TestAssets/TestProjects/CompileFail/.noautobuild
Normal file
|
@ -0,0 +1 @@
|
|||
noautobuild
|
|
@ -0,0 +1 @@
|
|||
noautobuild
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
.WriteLine("NET451");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"compilationOptions": {
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"net451": { }
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
noautobuild
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
#if NET451
|
||||
Console.WriteLine("NET451");
|
||||
#else
|
||||
Console.WriteLine("CoreCLR");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"compilationOptions": {
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"NETStandard.Library": "1.0.0-rc2-23811"
|
||||
},
|
||||
},
|
||||
"net451": { }
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
noautobuild
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
#if NET451
|
||||
Console.WriteLine("NET451");
|
||||
#else
|
||||
Console.WriteLine("CoreCLR");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"compilationOptions": {
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"dummy1": { },
|
||||
"net451": { }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue