Macros in Visual Studio seems to have stopped working in Vista RC2. When attaching to vsmsvr.exe exceptions are thrown when you try to run a macro from devenv.exe. From debugging the disassebly I think it is a access denied message. I also saw a string "Bad IL format" if that helps.
Anyone have an idea how to solve this issue without waiting for RTM or going back to RC1

Visual Studio 2005 Macros and 5744
MainSoft
Dave Evans
Here is the exception information with SP1 installed attached with managed debugging:
A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll
An exception of type 'System.BadImageFormatException' occurred in mscorlib.dll and wasn't handled before a managed/native boundary
Additional information: Could not load file or assembly '20479 bytes loaded from mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. An attempt was made to load a program with an incorrect format.
kforrey
Okugops
Error 1234: User choose all defaults - was my issue (not really a error code but shoould be). Every once in a while I will run through an install just going the default route.
Catch the problem As soon as I went back and included the optional compilers for vs and wsdk everything was all good, note if you do web there is an option to run as 32bit. My main question regards including the Itimium processor as well (I am running a pentium d) Hope this helps and is not off subject for everyone.
Mark Benningfield
Have you tried installing VS2005 SP1 Beta VS2005 is not expected to work correctly in Vista without SP1. I don't know if SP1 Beta has anything to do with this but you can give it a try.
TPECI
the-rpd
Karthikeyan Mahadevan
smartpi
I tried that too. The debugger attaches and the Output window says
"'vsmsvr.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled."
And that's all. Nothing else happens.
Viktor78
Has anyone gotten anywhere with this I am running into it too. I have a clean VistaRC2 install (32bit) followed by a clean VS2005 install (no SP1)
Do we really just have to wait for VS2005 SP1 to resolve this
thanks :-)
-john
Imad.Ozone
SiddCF
Abhishek bhadouria
I've installed SP1 beta too.
but It doesn't work. :(
Rykin Poe