I am having this issue of missing file when building an ASP.NET website application in Visual Studio 2012, I got the error below:
Error 27 Could not find file 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\<ApplicationDirectoryName>\e37604f0\99f25d47\App_Web_lmsgiywk.24.vb'.
I have built the application over and over again and have not gottena way out yet.
Tips and way out of this issue will be appreciated.
kill IIS Express if you're using that or perform an iisreset command if you're making use of IIS on your dev machine.
Then perform a clean build on your solution and then a rebuild solution (basically I always use the latter for building instead of just Build).
You can also try to delete everything under the Temporary ASP.NET Files folder.
In the past also Indexing Services from Windows needed to be excluded to index that particular folder (gave us quite some headache before I found that one out).
Grz, Kris.
Read my blog | Twitter Working with Azure, chatbots, ASP.NET MVC, Web API, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Member
40 Points
40 Posts
File Missing in ASP.NET Temporary Compilation Folder
Jul 08, 2014 02:44 AM|ajafik|LINK
Hello,
I am having this issue of missing file when building an ASP.NET website application in Visual Studio 2012, I got the error below:
Error 27 Could not find file 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\<ApplicationDirectoryName>\e37604f0\99f25d47\App_Web_lmsgiywk.24.vb'.
I have built the application over and over again and have not gottena way out yet.
Tips and way out of this issue will be appreciated.
Thanks.
All-Star
191721 Points
20949 Posts
ASPInsiders
Moderator
MVP
Re: File Missing in ASP.NET Temporary Compilation Folder
Jul 08, 2014 02:52 AM|XIII|LINK
Hi,
kill IIS Express if you're using that or perform an iisreset command if you're making use of IIS on your dev machine.
Then perform a clean build on your solution and then a rebuild solution (basically I always use the latter for building instead of just Build).
You can also try to delete everything under the Temporary ASP.NET Files folder.
In the past also Indexing Services from Windows needed to be excluded to index that particular folder (gave us quite some headache before I found that one out).
Grz, Kris.
Working with Azure, chatbots, ASP.NET MVC, Web API, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!