It took me absolutly ages to find why I couldn't run GACUtil or the RegAsm.exe from a build script. It is because VS2005 Beta 2 doesn't seem to load the PATH Envionment variables at build time. This results in VS2005 Beta 2 not being able to find the files it needs. There is a simple cure to this problemThe Following doesn't work and causes build errors (because the build script doesn't run)
cd $(ProjectDir)\bin\Releasegacutil.exe /if Favorites.dllregasm Favorites.dll
CALL "%VS80COMNTOOLS%\vsvars32.bat" > NULLcd $(ProjectDir)\bin\Releasegacutil.exe /if Favorites.dllregasm Favorites.dll
About Me: Paul Kinlan
I lead the Chrome Developer Relations team at Google.
We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.
Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.