The source file 'obj \ ARM \ Release \ TemporaryGeneratedFile_ <GUID> cs' was not found.

So, my Windows Metro application will not be created because I get a few errors that say Source file 'obj\ARM\Release\TemporaryGeneratedFile_<GUID>.cs' could not be found. <GUID> is a lot of long alphanumeric strings.

This is followed by a series of other warnings indicating Source file 'obj\Release\\TemporaryGeneratedFile_<GUID>.cs' specified multiple times . GUIDs correspond to errors.

Here is another piece of information. If I run this application right where I am developing, I have no problem. I still get warnings, but none of the errors. The application works without problems. However, when I click this code on Git and then upload the code either to another computer or to the same computer, I get the errors above and the application does not start, which leads me to believe that some important file is not a jerk.

However, I do not know where to look, because I do not understand the meaning of the message. Does anyone have an idea that all these temporary generated files?

+4
source share
2 answers

Try checking the length of your path where TemporaryGeneratedFile_ [guid] is located. In our case, these files were too deep in the folder hierarchy, and the compiler could not find them. Moving the staging folder closer to the root of the disk solved the problem for us.

+1
source

I cannot explain it, but I had a similar problem after I deleted the obj/Debug folder. I ended up fixing it by unloading csproj and reloading. Magic things are just fixed.

0
source

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


All Articles