Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework
Only .NET 1.0 assemblies in the GAC
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jo Vermeulen, post: 3663768"] Hello, I'm experiencing some trouble with the Global Assembly Cache (GAC). It contains only assemblies of the .NET 1.0 framework (version 1.0.5000.0) although I installed the .NET framework 1.1. I used gacutil.exe /i to manually load the 1.1 assemblies in the GAC, but that does not seem to work. The assemblies are not loaded into the GAC, although the output of gacutil.exe /i tells me so. When I view all assemblies using gacutil.exe /l, I only see the 1.0 ones. Same thing if I look into "C:\WINNT\assembly\". I want to load the 1.1 assemblies in the GAC because I am experiencing trouble with dynamic loading of assemblies. For instance, I load the System.Windows.Forms.dll using information from the System.Environment class. Apparantly this says I am using the .NET framework 1.1, so I dynamically load version 1.1.4322. I also had to add references to System.Windows.Forms, System.Drawing etc. to get the code to compile. When I run it, Visual Studio starts loading the 1.0.5000.0 versions out of the GAC. This gives me extremely weird behaviour such as receiving an InvalidCastException on this code (it's in C#): Button swfObject = (Button)(Activator.CreateInstance(classType)); Where "classType" is a System.Windows.Forms.Button Type instance! Any help would be greatly appreciated. Kind regards, [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework
Only .NET 1.0 assemblies in the GAC
Top