Home Forums Software Development MSB3073 exited with code 1 error Reply To: MSB3073 exited with code 1 error

#5915
Grant [Tobii]
Keymaster

Hi @benedict78,

A couple of things to check here: Your output path looks a little strange with the “:VCEnd” at the end of the line, I would double check that.

You could also try placing the MsBuild “Copy” task in an AfterBuild target over a post-build event.

Append this Target into your project file and remove the PostBuildEvent.

<Target Name="AfterBuild">
    <Copy SourceFiles="C:\Users\kang-injo\Downloads\TobiiEyeXSdk-Cpp-1.7.489\lib\x64\Tobii.EyeX.Client.dll" 
          DestinationFolder="C:\Users\kang-injo\Documents\Visual Studio 2015\Projects\ConsoleApplication5\x64\Debug\" 
          OverwriteReadOnlyFiles="true" 
          SkipUnchangedFiles="false" />
</Target>

Might also be worth ensuring you are running as administrator. I assumed you double checked the existing of the source DLL in the path you specified?