Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Be careful what you name a Project or Solution in MonoDevelop - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.

News

Visual Studio Magazine Column Personal Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

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.

Posted: Jan 02 2010, 10:15 AM by Wallym | with 1 comment(s)
Filed under: ,

Comments

No Comments