J
John O'Neill
Hi
I am writing a class to interpret the contents of an xml file using
System.Xml.XmlReader and want to use the same class in a desktop application
which uses the .net standard framework and also on a pocket pc that uses the
..net compact framework.
When deploying to a desktop app, System.Xml.XmlReader is found in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Xml.dll and when
deploying to a pocket pc app, System.Xml.XmlReader is found in C:\Program
Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\System.XML.dll
At the moment I have created 2 projects; a windows desktop application
project and a smart device application project. Both projects have exactly
the same code in them, the only difference is that one of them uses a
reference to System.Xml.dll for the .net standard framework and the other
uses a reference to System.Xml.dll for the .net compact framework.
Is there another way I can do this without duplicating my code for both
platforms?
My next task is to somehow create a custom control that works on both
platforms without having to duplicate my code again!
Thanks
John
I am writing a class to interpret the contents of an xml file using
System.Xml.XmlReader and want to use the same class in a desktop application
which uses the .net standard framework and also on a pocket pc that uses the
..net compact framework.
When deploying to a desktop app, System.Xml.XmlReader is found in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Xml.dll and when
deploying to a pocket pc app, System.Xml.XmlReader is found in C:\Program
Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\System.XML.dll
At the moment I have created 2 projects; a windows desktop application
project and a smart device application project. Both projects have exactly
the same code in them, the only difference is that one of them uses a
reference to System.Xml.dll for the .net standard framework and the other
uses a reference to System.Xml.dll for the .net compact framework.
Is there another way I can do this without duplicating my code for both
platforms?
My next task is to somehow create a custom control that works on both
platforms without having to duplicate my code again!
Thanks
John