Be careful what you name a Project or Solution in MonoDevelop - More Wally - Wallace B. McClure
in

MoreWally.com

Giving people what they want, More Wally. This is the technical and personal blog site of
Wallace B. (Wally) McClure.

This Blog

Syndication

News

Please goy buy 3-4 copies of my book on MonoTouch titled "Professional iPhone Programming with MonoTouch for .NET/C# Developers." They make great gifts all year round. Plus, I get about $.20 when you buy a copy.

Technical Sites

More Wally - Wallace B. McClure

This blog will have all kinds of posts about Wally McClure. In it, there will be tons of .NET and computer programming posts as well as Wally's views on life in general. As you might guess, this site and blog help you get More Wally in your life. What more could anyone want? iPhone, Android, MonoTouch, MonoDroid, Mobile, HTML5, .NET, ADO.NET, ASP.NET, AJAX, Atlas, Microsoft AJAX Library, ASP.NET AJAX, and Windows Azure............follow me on twitter at Wally

Be careful what you name a Project or Solution in MonoDevelop

I downloaded and installed MonoDevelop 2.2 on my Windows 7 laptop as well as installing Mono 2.6.  Everything installed correctly.  I decided to create my first ASP.NET web application and see if this will actually work.  I created an ASP.NET Web Project.  I got the following errors;

c:\Projects\MonoDevelop\First MD ASP.NET Web App\First MD ASP.NET Web App\Default.aspx(3,3): Error CS1646: Keyword, identifier, or string expected after verbatim specifier: @ (CS1646) (FirstMDASPNETWebApp)

c:\Projects\MonoDevelop\First MD ASP.NET Web App\First MD ASP.NET Web App\Default.aspx(1,1): Error CS0116: A namespace does not directly contain members such as fields or methods (CS0116) (FirstMDASPNETWebApp)

What is the cause of this error?  I've been trying to figure this out.  Then it hit me.  I created a new project with no spaces and not dots.  This new project worked.  Awesome.

Published Dec 31 2009, 05:14 PM by wallym
Filed under: ,

Comments

No Comments
2006 - Wallace B. McClure
Powered by Community Server (Non-Commercial Edition), by Telligent Systems