[MonoDevelop] Trouble importing Visual Studio SLN

Devin Venable venable.devin at gmail.com
Wed Aug 25 15:49:33 EDT 2010


I need to do some maintenance work on an in-house ASP.NET app.  I'm on Linux
and have no desire to switch OS's just to do the work, so I'm trying out
monodevelop.

We have a big sln file that includes subfolders, each with .csproj files.
 There are also web application folders that do not have .csproj files, but
they contain .aspx and .aspx.cs files.

I can't import the SLN because of errors like these:

"/home/me/Projects/Proj/Proj.sln: Unsupported or unrecognized
project:'/home/me/Projects/Proj/webproj"

I can manually remove the problem projects from the SLN file with a text
editor, but what's the proper way to get them re-added to the project under
MonoDevelop?  I'm looking for an option similiar to "create project from
existing sources" in NetBeans or Eclipse.  Something like that here?  Can I
get a quick tutorial? I can't find documentation for this.

Next, is there a MONO tool that is designed to help me fix differences from
the VisualStudio environment?

For example, here is a snippet from the SLN that is blowing up.  Obviously
the C: thing will cause problems, but I'm not sure what else would need to
change.

Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "C:\...\Card\", "Card\",
"{3C26EA37-942F-43DA-BCD0-ADE9BB446027}"
    ProjectSection(WebsiteProperties) = preProject
        ProjectReferences =
"{11FE75AF-DC07-450B-A6EF-41D3A609361B}|LIB.dll;{3736A18E-3EFA-4226-8CE0-0E6AAEDDFABC}|ECheck_2003.dll;"
        Debug.AspNetCompiler.VirtualPath = "/Card"
        Debug.AspNetCompiler.PhysicalPath = "Card\"
        Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Card\"
        Debug.AspNetCompiler.Updateable = "true"
        Debug.AspNetCompiler.ForceOverwrite = "true"
        Debug.AspNetCompiler.FixedNames = "false"
        Debug.AspNetCompiler.Debug = "True"
        Release.AspNetCompiler.VirtualPath = "/Card"
        Release.AspNetCompiler.PhysicalPath = "Card\"
        Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Card\"
        Release.AspNetCompiler.Updateable = "true"
        Release.AspNetCompiler.ForceOverwrite = "true"
        Release.AspNetCompiler.FixedNames = "false"
        Release.AspNetCompiler.Debug = "False"
        VWDPort = "1900"
    EndProjectSection
EndProject
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100825/d16dd5f2/attachment.html 


More information about the Monodevelop-list mailing list