Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello everybody,
Is there any possibility to use a dll from the GAC?
In .Net this is in c:\windows\microsoft.net etc.
Thanks
Yes it is, but it depends where you want to use the dll.
I use a GAC registered dll from a razor template and also a .net user control.
For Razor, add an entry in the Assemblies section of the web.config like so
<add assembly="OTHFramework, Version=1.1.0.0, Culture=neutral,PublicKeyToken=7913b864a1659efe" />
and a @using statement in the razor template:
@using OTHFramework;
hth
Jay
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Use dll from global assembly cache (GAC)
Hello everybody,
Is there any possibility to use a dll from the GAC?
In .Net this is in c:\windows\microsoft.net etc.
Thanks
Yes it is, but it depends where you want to use the dll.
I use a GAC registered dll from a razor template and also a .net user control.
For Razor, add an entry in the Assemblies section of the web.config like so
<add assembly="OTHFramework, Version=1.1.0.0, Culture=neutral,PublicKeyToken=7913b864a1659efe" />
and a @using statement in the razor template:
@using OTHFramework;
hth
Jay
is working on a reply...