ClickOnce Deployment Error in Updated .NET Application

I have a Windows forms application that was developed in Visual Studio 2005 and deployed to an IIS server through ClickOnce. I upgraded to VS2008, so I decided to upgrade and redeploy the application (in the test). I launched the update wizard, manually changed the project runtime to 3.5, deleted all old publication files from the deployment server and published the application.

I can run it without problems (ie, "running on my machine"), but when others start it, they get an error.

Unable to continue. The application is not formatted correctly. Contact your application provider for assistance.

The Details button will appear in the error dialog box. Here are some of the contents.

PLATFORM VERSION INFO
Windows             : 5.1.2600.131072 (Win32NT)
Common Language Runtime     : 2.0.50727.1433
System.Deployment.dll       : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll            : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll           : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll          : 2.0.50727.1433 (REDBITS.050727-1400)

Please note that CLR 2.0.

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://{deployment host name}/ resulted in exception. Following failure messages were detected:
    + Exception reading manifest from http://{deployment host name}/{application name}.application: the manifest may not be valid or the file could not be opened.
    + Manifest XML signature is not valid.
    + No signature was present in the subject.

. . , , , .NET 2.0 3.5. , , 3.5 runtime.

, , , , rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache. ( ), .

- , ClickOnce 2.0 3.5? , ?

+2
1

, .NET Framework 3.5 .

→ →

+1

Source: https://habr.com/ru/post/1707064/


All Articles