[MonoDevelop] Import of a VS 2005 project

Ankit Jain radical at gmail.com
Fri Dec 15 16:20:26 EST 2006


Oh btw, if you are using a released copy of MD, then you won't be able to
open the vs2005 file. The code is in svn, so you can either get it from there
or wait for the next release.

-Ankit

On 12/16/06, Ankit Jain <radical at gmail.com> wrote:
> Hi,
>
> The importer works only for VS2003 projects. For vs2005 solution you
> don't need to
> import it, just open the (vs2005) .sln as any other project
> (File->Open). Once you
> have the project opened, you can work with it and any changes you make
> to the project
> will be saved back to the .sln and .csproj files.
>
> -Ankit
>
> On 12/16/06, TSalm <tsalm at free.fr> wrote:
> > Hi,
> >
> > I'm trying to import VS 2005 project but MD return me an exception :
> >
> > if I import the .sln, the detail says :
> > ____________________________________________________________
> > Importing solution
> > Importing project: /home/tsalm/SOURCE/TestReseau/TestReseau.csproj
> > ERROR: Could not import project:/home/tsalm/SOURCE/TestReseau/TestReseau.csproj. Sharing violation on path /home/tsalm/SOURCE/TestReseau/TestReseau.csproj
> > ____________________________________________________________
> >
> >
> >
> > and if I import the csprj, the detail says :
> > ____________________________________________________________
> > Exception occurred: There is an error in XML document.
> >
> > System.InvalidOperationException: There is an error in XML document. ---> System.InvalidOperationException: <Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003'> was not expected
> >   at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000]
> >   at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000]
> >   at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] --- End of inner exception stack trace ---
> >
> >   at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000]
> >   at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader) [0x00000]
> >   at System.Xml.Serialization.XmlSerializer.Deserialize (System.IO.Stream stream) [0x00000]
> >   at MonoDevelop.Prj2Make.SlnMaker.CreatePrjxFromCsproj (System.String csprojFileName, IProgressMonitor monitor) [0x00000]
> > ____________________________________________________________
> >
> >
> > It was a VS 2003 project, convert in VS 2005, and now (trying to) importing in MD.
> >
> >
> > Thanks,
> >
> > Florent
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
>
>
> --
> Blog : http://ankitj.blogspot.com
>


-- 
Blog : http://ankitj.blogspot.com


More information about the Monodevelop-list mailing list