URGENT: ComCompatibleVersionAttribute does not work

  • Thread starter Thread starter Sai
  • Start date Start date
S

Sai

Hello everybody,

I am trying to use ComCompatibleVersionAttribute in my
assembly. But when i compile the tlb gets generated with
a new GUID. ComCompatibleVersionAttribute should help me
preserve my GUIDs compatible to the version i specify,
but it does not seem to work.

Please help. Thanks in advance.
Sai.
 
Hello Everybody,

I have finally figured out why my machine had this issue
of ComCompatibleVersionAttribute not working. The PATH
environment variable was pointing to my old Framework
version "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705"
and not the new one that i
have "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322".

Once i fixed the PATH variable RegAsm.exe from this
version was used and everything is working fine.

Thanks,
Sai
 
Back
Top