Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Cannot build a brand new project ASP.NET C#

$
0
0

Hello, I am running VS 2015. It has been running fine, but as of yesterday, when I start a new web forms project it has build errors before I even change a line of code. I can create a brand new project and when I try to run the default page I get an error in the Global.asax file dealing with namespace. 

The error is as follows:

 ; expected

Type or namespace definition, or end-of-file expected

The name 'RouteConfig' does not exist in the current context

The name 'BundleConfig' does not exist in the current context

; expected

Type or namespace definition, or end-of-file expected

In the App_Code folder there is a listing for. 

BundleConfig.cs

IdentityModels.cs

RouteConfig.cs

Startup.Auth.cs

Startup.cs

I do not understand why this is happening when I build a brand new project?

Thank you for any help. 

Ryan


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>