View previous topic :: View next topic |
Author |
Message |
SolTec
Joined: 22 Jun 2006 Posts: 7
|
Posted: Mon Aug 07, 2006 1:23 am Post subject: GAC error |
|
|
I'm getting a GAC error and I took off the ClickOnce. When I compile, now it says that the Infralution dll can't be found. HELP |
|
Back to top |
|
|
SolTec
Joined: 22 Jun 2006 Posts: 7
|
Posted: Mon Aug 07, 2006 3:29 pm Post subject: GAC error |
|
|
Unable to install or run the application. The application requires that the assembly Infralution.Licensing Version 3.0.0.0 be installin the Global Assembly Cache(GAC) first.
Please Contact Administrator. |
|
Back to top |
|
|
SolTec
Joined: 22 Jun 2006 Posts: 7
|
Posted: Mon Aug 07, 2006 3:35 pm Post subject: |
|
|
When I copy the Infralution.Licensing.dll into the folder it all works, but for some reason, when I build and publish, it's not taking the .dll from the project and putting it in the OneClick Installation. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Aug 07, 2006 10:39 pm Post subject: |
|
|
If you reference GAC assemblies in a ClickOnce project then those assemblies must be in the GAC on the target machine. To avoid this see this article on Google groups.
An easier and better solution is to not use the DLL at all. Since you have purchased the product why not simply incorporate the licensing classes directly in your project? _________________ Infralution Support |
|
Back to top |
|
|
|