burnt1ce
burnt1ce

Reputation: 14897

How do i add an App_Data folder in visual studio?

This is a silly question but How do I add an App_Data folder to a project? i have an xsd file that i want to include into the project.

Upvotes: 11

Views: 19478

Answers (3)

marc_s
marc_s

Reputation: 754408

App_Data only exists for ASP.NET web sites and web applications.

If you have a web app or web site, right-click on the main node for the web site/app and pick "Add ASP.NET Folder" - this opens up a context submenu, which should contain "App_Data" as one of its options.

alt text

Marc

Upvotes: 27

Encrypted Drink
Encrypted Drink

Reputation: 91

I had the similar issue. If you have two options in your "new project" then select the one with the name: "ASP.NET Web Application (.NET Framwork)" instead of the one with the name: "ASP.NET Core Web Application"

This is my troubleshoot and It worked for me :)

Upvotes: 0

Corey Sunwold
Corey Sunwold

Reputation: 10254

Right click on the project, add new folder and title it "AppData"

Upvotes: 0

Related Questions