none
Werid compile/build error

    Question

  • Hello

    When i want to build/compile my project its come up with this error: https://gyazo.com/fc5259558390f14d3a3511290145e159

    Error:

    Unable to copy file "obj\Debug\Steamstealerr.exe" to "bin\Debug\Steamstealerr.exe". Access to the path 'obj\Debug\Steamstealerr.exe' is denied

    How do i fix it?

    Regards Jens

    Wednesday, December 30, 2015 5:04 PM

Answers

  • Hi Jens Birk,

    Please clear solution through right-click solution -> Clean Solution first. And you also can delete all files under obj\Debug\ and bin\Debug, then re-build it again.

    Please check whether your project whether it is used by other programs, including every project files. We need to make sure all the files is not used when building project. If you can't confirm which program used the files, you just close all programs in Task Manager and then restart your Visual Studio.

    Then please check the project folder, whether it is can be accessed. Please set the folder as Full control by current windows user in folder properties windows -> Security tab.

    If still doesn't work, please create a new project and remove the project files to new project one by one. Then rebuild the new project.

    Best Regards,
    Weiwei

    Friday, January 01, 2016 5:46 AM
    Moderator