php - I see a DLL in GAC_MSIL but there's not an assembly -
i'm looking @ classlibrary1.dll inside
c:\windows\microsoft.net\assembly\gac_msil\classlibrary1\v4.0_1.0.0.0__2efc1c0b243a0c09
that placed there automatically result of this:
c:\program files (x86)\microsoft sdks\windows\v7.0a\bin\netfx 4.0 tools>gacutil. exe /i "c:\users\wherever\classlibrary1.dll" microsoft (r) .net global assembly cache utility. version 4.0.30319.1 copyright (c) microsoft corporation. rights reserved. assembly added cache c:\program files (x86)\microsoft sdks\windows\v7.0a\bin\netfx 4.0 tools>
but afterward corresponding assembly found inside
c:\windows\assembly
what doing wrong? i'd able use class library following code:
<?php $obj = new dotnet("classlibrary1", "version=1.0.0.0", "culture=neutral", "publickeytoken=2efc1c0b243a0c09", "classlibrary1.class1"); $output=$obj->helloworld(); echo $output; ?>
the class looks this:
public class class1 public sub helloworld() msgbox("hello, world") end sub end class
thank help.
i assume it's .net 4 assembly? if so, notice how none of .net 4 assemblies listed in \windows\assembly.
that's because .net 4 assemblies in different location. nothing worry about, long can use assembly in gac.
Comments
Post a Comment