#VS cant run on Debug but can on Release?
42 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
@strong fern
Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!
LNK1104 cannot open file 'C:\Users\alber\Documents\Code\C++\VS\OpenGL\x64\Debug\OpenGL.exe' OpenGL C:\Users\alber\Documents\Code\C++\VS\OpenGL\LINK 1
when i run it in debug mode it says:
on release it just opens normaly:
now i changed something in the code and i cant compile in release too
it doesnt work for booth ways
Looks like your executables are still running
i looked in my task manager and there was none of my exe
close visual studio
done
can you find that file and delete it?
after deleting it:
restore that file
you ment the exe
yup
which? 👀
uhm
but basically, it looks like something was holding on to the process handle and preventing writes to the file
(aka something was keeping it open)
Task Manager can kinda suck for finding these stray processes. I tend to reach for Resource Monitor. Not quite as user friendly, but more powerful imo