Click here to Skip to main content
15,914,594 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: GENUINE CHANNELS Pin
Dave Kreskowiak3-Aug-06 1:42
mveDave Kreskowiak3-Aug-06 1:42 
QuestionOnKeyDown Pin
Leslie Sanford2-Aug-06 17:05
Leslie Sanford2-Aug-06 17:05 
Question"Some of the properties associated with the solution could not be read" Pin
Dpriya2-Aug-06 11:23
Dpriya2-Aug-06 11:23 
QuestionHow to read in multiple values from Console Pin
mmhu2-Aug-06 11:03
mmhu2-Aug-06 11:03 
AnswerRe: How to read in multiple values from Console Pin
Colin Angus Mackay2-Aug-06 11:32
Colin Angus Mackay2-Aug-06 11:32 
GeneralRe: How to read in multiple values from Console Pin
mmhu3-Aug-06 2:57
mmhu3-Aug-06 2:57 
QuestionCan save a XML file into ResX ? Pin
Ariston Darmayuda2-Aug-06 5:28
Ariston Darmayuda2-Aug-06 5:28 
QuestionXml compatibility in VS2005 (.Net 2.0 run-time) between desktop an device application Pin
Ammar Ben Hadj Amor2-Aug-06 0:07
professionalAmmar Ben Hadj Amor2-Aug-06 0:07 
All of the following code was generated using VS2005.

Could this be some sort of Xml compatibility issue between "desktop" and
"device application" run-time support in .Net 2.0?

I've got a VS2005 DLL that generates an event. The events passes a
System.Xml.XmlElement as a parameter on the event.

Next I created a C# desktop application that references the above DLL. As
the DLL generates the event the C# desktop application properly receives the
event along with the event's XmlElement parameter.

Finially, I tried creating a C# "Device Application" that referenced the
above DLL. After creating event handlers in the "Device Application" for the
DLL event, I tried to reference the System.Xml.XmlElement parameter from
within this event handler. When I compile the code I get the following error
message:

The type 'System.Xml.XmlElement' is defined in an assembly that is not
referenced. You must add a reference to assembly 'System.Xml,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193e089'.

I'm not sure why I'm getting this error because the C# "Device Application"
does have a reference to the requested version of "System.Xml". Specifically,
the "Device Application" references "C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Xml.dll".

Looking into the problem a little further, I notice that the DLL also
references "System.Xml" (in order to generate the "System.Xml.XmlElement"
passed as the event parameter), but this version is different than the one
the "Device Application" compiler is complaining about. The DLL is using
version: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll".

Any ideas on how to deal with this problem would be appreciated.

Thank you.
QuestionCan a non-Component class have design time "Name" property? Pin
kmansari1-Aug-06 18:54
kmansari1-Aug-06 18:54 
QuestionHow to print PS/EPS files? Pin
ricecake1-Aug-06 10:49
ricecake1-Aug-06 10:49 
QuestionEnterprise LIbrary Logging Pin
Charith Jayasundara1-Aug-06 7:19
Charith Jayasundara1-Aug-06 7:19 
Question.NET Remoting Channels??? Pin
Small Rat1-Aug-06 6:18
Small Rat1-Aug-06 6:18 
AnswerRe: .NET Remoting Channels??? Pin
Stephen McGuire2-Aug-06 10:47
Stephen McGuire2-Aug-06 10:47 
QuestionIs real-time programming can be done with C# & .Net? Pin
eninyo1-Aug-06 6:18
eninyo1-Aug-06 6:18 
GeneralRe: Is real-time programming can be done with C# & .Net? Pin
Guffa1-Aug-06 10:19
Guffa1-Aug-06 10:19 
Questionplaying real media and quicktime files in .NET Pin
Vineet Rajan1-Aug-06 5:12
Vineet Rajan1-Aug-06 5:12 
AnswerRe: playing real media and quicktime files in .NET Pin
Dave Kreskowiak1-Aug-06 5:58
mveDave Kreskowiak1-Aug-06 5:58 
QuestionVisual studio 2005 installation question Pin
Jetli Jerry1-Aug-06 0:42
Jetli Jerry1-Aug-06 0:42 
AnswerRe: Visual studio 2005 installation question Pin
Mike Dimmick1-Aug-06 1:08
Mike Dimmick1-Aug-06 1:08 
GeneralRe: Visual studio 2005 installation question Pin
Jetli Jerry1-Aug-06 18:58
Jetli Jerry1-Aug-06 18:58 
Question.Net 2.0 Pin
Kanjinghat31-Jul-06 23:29
Kanjinghat31-Jul-06 23:29 
QuestionGetting underlaying String through a StringToken Pin
Don Teflon31-Jul-06 21:10
Don Teflon31-Jul-06 21:10 
QuestionSystem.DirectoryServices and SSL Certificate Policies Pin
serious-sam31-Jul-06 20:10
serious-sam31-Jul-06 20:10 
QuestionIntercepting Data Pin
Rabbit1731-Jul-06 12:52
Rabbit1731-Jul-06 12:52 
AnswerRe: Intercepting Data Pin
Dave Kreskowiak1-Aug-06 6:01
mveDave Kreskowiak1-Aug-06 6:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.