>Hi everybody,
>
>I've generated a new MVC 4 application using default Intrenet template. I see that I have app_data folder in it. First I attempted to delete it from the project and got this error
>
>---------------------------
>Microsoft Visual Studio
>---------------------------
>Error deleting folder 'App_Data'. The process cannot access the file because it is being used by another process.
>
>
>---------------------------
>OK
>---------------------------
>
>--------------
>The error is strange as what process is using it? I am not running my application.
>
>I then deleted this folder directly in WE. However, it is still in the solution explorer. How can I know if it's gone or not and get rid of it?
>
>Thanks in advance.
Never mind, got the answer in ASP.NET forums. The ASP.NET run was using this folder and I needed to close VS and re-open to be able to delete the folder.
If it's not broken, fix it until it is.
My Blog