Question about temporary ASP.NET files

Do you have a question about the "Temporary ASP.NET Files" folder; I have a little knowledge of what this folder is for, as described by another thread in this forum

What is the "Temporary ASP.NET Files" folder for?

But lately, I get a warning when trying to create my new project below

'c: \ WINNT \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET files \ some folder \ filename.cs' conflict with the imported type ... using one ...

It seems that two copies (shadow copy) of the same file (.cs file) exist in two different versions of the temporary directory and therefore confuse how to use which one.

My question is: should I continue and delete all the contents from the folder "Temporary ASP.NET Files"? Is there any side if I do this? Please let me know.

Thanks Rahul

+4
source share
3 answers

If you close all instances of VS 2005, you can delete all files / folders in this folder. This folder exactly matches the name - temporary. It downloads all instances of your compiled files when they enter memory, when they load for the website. When you execute a β€œclean” solution, it should clear the files in the folder related to your open solution.

If you cleaned your files and you still have this problem, the problem will be related to how you referenced projects and third-party libraries in your solution.

0
source

If you take your project now, put it in a zip code and send it to a friend, than he does not have a temporary folder for this project, and he can also build it ... So, your main material should be in the project of the directory itself. Have you saved everything properly? Then close your Vs and clear the clutter. (99%)

0
source

Have you tried to clear your solution / project and recompile? This will only remove compiled / temporary files associated with this project.

0
source

Source: https://habr.com/ru/post/1340825/


All Articles