Re: [Ikvm-developers] IKVM with additional .Net dll reference
Brought to you by:
jfrijters
From: Jeroen F. <je...@su...> - 2006-07-25 08:00:47
|
avadhoot kulkarni wrote: > Why is that so? I mean If a type name starts with cli the dll=20 > reference can be loaded from the GAC. You can't just go load random assemblies from the GAC based on namespaces, and even if you could this would break versioning and would be horribly slow. Note that the C# compiler also requires references to assemblies that you want to use (although it does by default automatically reference a few of the most common .NET Framework assemblies). > Q2. I also want to use some feature of .Net 2.0 in the java=20 > code part. With the IKVMStub (even if run on 2.0 dll) do not=20 > generate stub for the additional properties and Methods which=20 > are added in .Net 2.0. You have to run ikvmstub.exe on the .NET 2.0 Framework. To do this create a file named ikvmstub.exe.config in the same directory as ikvmstub.exe with the following contents: <?xml version=3D"1.0"?> <configuration> <startup> <supportedRuntime version=3D"v2.0.50727"/> <requiredRuntime version=3D"v2.0.50727"/> </startup> </configuration> Regards, Jeroen |