[MonoDevelop] Import of a VS 2005 project

Ankit Jain radical at gmail.com
Fri Dec 15 17:22:35 EST 2006


Are you sure that you are running the md that you compiled from svn?
check the path with 'which monodevelop'.
What svn rev are you at? 'svn info' in the monodevelop directory.

You could also try selecting 'All files' filter and then trying to
load your .sln, but you should be getting that "Visual Studio 2005
solutions" filter anyway :/

-Ankit

On 12/16/06, TSalm <tsalm at free.fr> wrote:
> I ensure you that I've no "VS2005 Solution" :(
>
> ps: Ankit, sorry for the double send, I forgot to send using "Reply all"...
> Florent
>
>
> On Sat, 16 Dec 2006 03:34:03 +0530
> "Ankit Jain" <radical at gmail.com> wrote:
>
> > Select the "Visual Studio 2005 Solution" filter :)
> >
> > -Ankit
> >
> > On 12/16/06, TSalm <tsalm at free.fr> wrote:
> > > Hello Ankit,
> > >
> > >
> > > I'm using the svn to update MD ;-)
> > >
> > > So, I've trying to open my project via the "open" item but, oddly, my MD didn't list "*.sln" when I use "open" in my project folder ("Solution Files" filter)...
> > >
> > > Here is some additional informations (don't know if it could help...) :
> > >
> > > I'm getting MD via the command :
> > > svn co svn://svn.myrealbox.com/source/trunk/monodevelop
> > >
> > > I'm compiling using no additionnal args (compiling with mono 1.2.2.1)
> > >
> > > In the about item, MD return prj2make-sharp-lib version 0.12.0.0
> > >
> > > Florent
> > >
> > >
> > > On Sat, 16 Dec 2006 02:50:26 +0530
> > > "Ankit Jain" <radical at gmail.com> wrote:
> > >
> > > > 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
> > > >
> > >
> >
> >
> > --
> > Blog : http://ankitj.blogspot.com
> >
>


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


More information about the Monodevelop-list mailing list