I have 3.5SP1 applications that I have been successfully deploying on a client computer using clickonance.
Now I have got a new requirement - one of our customers needs to run applications on machines equipped with NIT 3.0, and it is impossible to upgrade or install anything on machines. I had already tried to run some of the 3.5's. Copy the 3.5 .NET Framework into the application directory with DLLs, and it worked without any problems. The only problem at the moment is ClickOnce. I already have it 3.5. NET Framework System *. Dll files are included in the list of application files, but it always closes the installation on 3.0 machine with error message:
Unable to install or run the application application It is necessary that the assembly system .core version 3.5.0.0 is installed first in the global assembly cache (GAC). Please contact your system administrator.
I have already tried to do the necessary things on the published tab of my project, but no combination is able to solve the problem.
Which part of ClickOnce is responsible for checking anything else? I have already tried using mageui.exe
, but the 3.5 .NET Framework error still exists.
This project was created using Visual Studio 2010.
I can get a reason for this problem - ClickOnas publishing process (and meguii) also generates an application manifest file that depends on the "some predecessor" 3.5 3.5 assemblies (system. Core, system. Data, entity). So I just need to publish one click / MageUI to not generate these dependencies in any way ...
How about stub targeting the 3.0 framework? Using XE? With the stub as the entry point, you can deploy your app and stub into a single click once installed, the only job of the stub will be to start executable 3.5.
I'm not sure that you will be able to create such a deployment with Visual Studio. You may need to use it instead.
Edit
In response to your comment, try removing "prerequisites" entries from the manifest file, simply deleting them using a text editor and then pressing Resign from the line.
Comments
Post a Comment