Reputation: 14897
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
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.
Marc
Upvotes: 27
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
Reputation: 10254
Right click on the project, add new folder and title it "AppData"
Upvotes: 0