G
Guest
Hi, I have written an Excel addin in C# and have found that everything works fine when I only have v1.0 of the .NET Framework installed on my machine
In a normal C# exe built to work with v1.0, I would expect it by default to load v1.0 even if v1.1 is installed, unless config files or policies etc have been modified. However since the class that is loaded by Excel is a C# class regsitered with COM, version 1.1 of the framework is loaded, and while using v1.1 I have found several incompatabilities
What I need to do is force a certain version to be used( for now v1.0 )... Is there an easy way to do this? All I have found so far is the CorBindToRuntimeHost function? Could this be used
Any help would be much appreciate
John Sandifor
In a normal C# exe built to work with v1.0, I would expect it by default to load v1.0 even if v1.1 is installed, unless config files or policies etc have been modified. However since the class that is loaded by Excel is a C# class regsitered with COM, version 1.1 of the framework is loaded, and while using v1.1 I have found several incompatabilities
What I need to do is force a certain version to be used( for now v1.0 )... Is there an easy way to do this? All I have found so far is the CorBindToRuntimeHost function? Could this be used
Any help would be much appreciate
John Sandifor