Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   .Net 3.5 messing up Regasm (https://www.kinook.com/Forum/showthread.php?t=4168)

DuncanL 09-21-2009 10:11 AM

.Net 3.5 messing up Regasm
 
The .Net "Register" steps in our build script are trying to run regasm from the v3.5 .Net framework folder - however it is not present there - it is in the "v2.0.50727" folder.

One machine is still working fine, but another has started showing this problem. Any ideas what the difference between the installs of .Net 3.5 might be and how we go about fixing the errant machine?

Thanks.

kinook 09-21-2009 10:17 AM

Update the DOTNET_DIR global macro (or create a project or temporary macro to override the global value) to point to the v2 path. Or copy regasm.exe to the 3.5 path.
http://www.kinook.com/VisBuildPro/Ma...omregister.htm

DuncanL 09-21-2009 10:42 AM

Ah-ha - RTFM! ;-)

Many thanks.

Out of interest, any suggestions on how that ended up being set differently on the two machines? Nobody would have changed in manually, since only two people have access.

kinook 09-21-2009 10:47 AM

The global DOTNET_DIR macro gets initialized (to the highest installed .NET version) when VBP first runs, so my guess is that 3.5 was not installed on machine A but was installed on machine B when VBP was first used. Unfortunately, .NET has become bifurcated since v2.0. With v3.5, parts of it are in the 3.5 path, while other parts are still in the 2.0 path. And it will probably be even more mixed up with v4.0 :^)


All times are GMT -5. The time now is 03:52 AM.


Copyright © 1999-2023 Kinook Software, Inc.