Friday, June 16, 2017

run Visual Studio in elevated mode to avoid this error

Consider this error upon build for Visual Studio 2015:

The command ""C:\Users\tom.jaeschke\Documents\stuff\Whatever\\..\Tools\gacutil\gacutil.exe" /if "C:\Users\tom.jaeschke\Documents\stuff\Whatever\bin\DEV.Debug\Whatever.dll" IF %ERRORLEVEL% NEQ 0 ECHO ERROR: PLEASE RUN VISUAL STUDIO IN ELEVATED MODE TO AVOID THIS ERROR so Whatever.dll can be installed to GAC" exited with code 1. Whatever

 
 

To get around this I:

  1. restarted Visual Studio, running as Administrator
  2. closed a second instance of Visual Studio I had opened
  3. temporarily switched from the unusual startup project I had picked back to the default just so I could build .dlls and then switched back

No comments:

Post a Comment