Forum C# WTF? - error: uses the non-allowed method System.XML.Linq

WTF? - error: uses the non-allowed method System.XML.Linq

Postby igli1 » July 22nd, 2013, 8:13 pm

Trying last loaded dll
- error: MyGame.GameCode..ctor(...) uses the non-allowed method: System.Xml.Linq.XDocument System.Xml.Linq.XDocument::Load(System.String)

Trying last loaded dll
- error: MyGame.GameCode..ctor(...) uses the non-allowed method: System.Xml.Linq.XDocument System.Xml.Linq.XDocument::Load(System.String)

Trying last loaded dll
- error: MyGame.GameCode..ctor(...) uses the non-allowed method: System.Xml.Linq.XDocument System.Xml.Linq.XDocument::Load(System.String)

Trying last loaded dll
- error: Could not find any Player.IO room types [RoomType(...)] in the dll.

The debugger in my development server
Again, WTF? I thougt you guys actually support XML
igli1
 
Posts: 38
Joined: June 29th, 2013, 1:12 pm

Re: WTF? - error: uses the non-allowed method System.XML.Lin

Postby igli1 » July 24th, 2013, 7:43 pm

Anyone??
Support Y U NO actually support?
igli1
 
Posts: 38
Joined: June 29th, 2013, 1:12 pm

Re: WTF? - error: uses the non-allowed method System.XML.Lin

Postby Henrik » July 26th, 2013, 12:38 am

The class System.Xml.XmlDocument and related should be whitelisted.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: WTF? - error: uses the non-allowed method System.XML.Lin

Postby igli1 » July 26th, 2013, 9:32 am

Henrik wrote:The class System.Xml.XmlDocument and related should be whitelisted.

Then why isn't??
igli1
 
Posts: 38
Joined: June 29th, 2013, 1:12 pm

Re: WTF? - error: uses the non-allowed method System.XML.Lin

Postby Henrik » July 26th, 2013, 6:44 pm

You're trying to use classes from System.Xml.Linq, that's not whitelisted.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: WTF? - error: uses the non-allowed method System.XML.Lin

Postby igli1 » August 1st, 2013, 11:01 pm

That sucks lol, well is XPath supported?
At least can someone give me an example of parsing XML? (since Linq isn't allowed)
igli1
 
Posts: 38
Joined: June 29th, 2013, 1:12 pm


Return to C#



cron