开发者

How to remove "App_data" from a web project?

When I asked VS to create m开发者_C百科e a web application it also created App_Data. I delete this guy from the local folder structure but he is showing up in the project (in vs). When I try to delete him i get "source controlled item is either exclusively locked elsewhere....)


To delete the App_Data folder, first delete it from your local file system. Close your solution in Visual Studio if you have it open. Then, in Source Control Explorer, manually check out your .csproj file (or .vbproj, etc). Open the project file in a text editor and search for this:

<Folder Include="App_Data\" />

Delete that line and save & close the file. In Source Control Explorer, check the file back in. When you reopen your project in Visual Studio, the App_Data folder should be gone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜