How to get information from .csproj file using xmlserialization
-
Hello! Can any body tel me abt the structure of .csproj file in solution of a .net project,As .csproj file is in xml format and xmlserializer class is used to serialize a class or deserialize an xml file back to the orignal class.i want to read and save information of .csproj file into my own class bt as i dont know vat is the structure of this file so i m unable to get information from this file using deserialize method of xmlserializer class coz it needs the class info to which it is to be serialized.If anyone have any info abt this plz share with me Thanks in advance! Sam
-
Hello! Can any body tel me abt the structure of .csproj file in solution of a .net project,As .csproj file is in xml format and xmlserializer class is used to serialize a class or deserialize an xml file back to the orignal class.i want to read and save information of .csproj file into my own class bt as i dont know vat is the structure of this file so i m unable to get information from this file using deserialize method of xmlserializer class coz it needs the class info to which it is to be serialized.If anyone have any info abt this plz share with me Thanks in advance! Sam
-
Hello! Can any body tel me abt the structure of .csproj file in solution of a .net project,As .csproj file is in xml format and xmlserializer class is used to serialize a class or deserialize an xml file back to the orignal class.i want to read and save information of .csproj file into my own class bt as i dont know vat is the structure of this file so i m unable to get information from this file using deserialize method of xmlserializer class coz it needs the class info to which it is to be serialized.If anyone have any info abt this plz share with me Thanks in advance! Sam
Well, .csproj is an MSBuild file. MSBuild is an XML format for build files, used from VS 2005 onwards. I guess you'll be better off writing your own parser using System.XML to parse out the Stuff you need from the MSBuild file[.csproj]. More Information is available here. Yuvi Panda T 15 Year old Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com