I am trying to build a web app project using C#. and i am getting the error message "A namespace doesnot containmembers such as fields or methods". Error Code 7. and file name is my CSS file that it is showing with Row number and column no. 1. I am using Visual Studio 2008, and the first class created(body)开发者_JAVA百科 is blue underlined. I have checked the web.config file and it its build action is set to "none"
Any help on this would be greatly appreciated.
Are you sure your file extension is .CSS and not .CS? If so, rename the file with a .css extension and try again.
Change the build action to Content? Does it have .css as the extension?
精彩评论