Only adding rids for full framework TFMs if the project.json does not already have Runtimes in its Runtimes section.
This commit is contained in:
parent
9c3141b63f
commit
b2ce6c794a
5 changed files with 101 additions and 14 deletions
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Xml;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
#if NET20 || NET35 || NET45 || NET461
|
||||
// Force XmlDocument to be used
|
||||
var doc = new XmlDocument();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"buildOptions": {
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
"dependencies": {},
|
||||
"frameworks": {
|
||||
"net20": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Xml": {}
|
||||
}
|
||||
},
|
||||
"net35": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Xml": {}
|
||||
}
|
||||
},
|
||||
"net40": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Xml": {}
|
||||
}
|
||||
},
|
||||
"net461": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Xml": {}
|
||||
}
|
||||
},
|
||||
"netcoreapp1.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NetCore.App": "1.0.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"runtimes": {
|
||||
"win7-x64": {},
|
||||
"win7-x86": {}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue