Greetings everyone,
I created a Windows Application using VB.NET 2005 Express Edition. In my project I have two references to DLLs from a 3rd part product, so that I could access its API (Ascent Capture 7.5 from Kofax if you needed to know). For the two references, I have set the Copy Local property to False, and in the app.config file I am using assemblyBinding to reference one of the DLLs.
When I build the application and then execute the EXE file in the \bin\Release folder, everything works fine. When I do a publish and try to run the setup.exe application that is created, I get an error message that basically states the DLL I referenced in the app.config file needs to be installed in the GAC.
So why does my application work fine from the Release folder without having to do anything to the GAC, but I cannot install using the setup.exe from the Publish? I would like to use the setup.exe because I need to install this on other machines than my own.
Let me know if you have any questions or comments.
I created a Windows Application using VB.NET 2005 Express Edition. In my project I have two references to DLLs from a 3rd part product, so that I could access its API (Ascent Capture 7.5 from Kofax if you needed to know). For the two references, I have set the Copy Local property to False, and in the app.config file I am using assemblyBinding to reference one of the DLLs.
When I build the application and then execute the EXE file in the \bin\Release folder, everything works fine. When I do a publish and try to run the setup.exe application that is created, I get an error message that basically states the DLL I referenced in the app.config file needs to be installed in the GAC.
So why does my application work fine from the Release folder without having to do anything to the GAC, but I cannot install using the setup.exe from the Publish? I would like to use the setup.exe because I need to install this on other machines than my own.
Let me know if you have any questions or comments.