fix framework assembly resolution for net35 (#2557)
This commit is contained in:
parent
e8eaebdaeb
commit
7c688eea7f
3 changed files with 33 additions and 11 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Xml;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
|
@ -7,6 +8,10 @@ namespace ConsoleApplication
|
|||
public static void Main()
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
#if NET20 || NET35 || NET45 || NET461
|
||||
// Force XmlDocument to be used
|
||||
var doc = new XmlDocument();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue