ClickOnce download fails if end user does not have VS2008

I am still working on the problem described here, trying to get ClickOnce to work with Visual Studio 2008. Initially, I assumed that the problem was that the application I was deploying was updated since 2005. But this is not so. I created a new VS2008 application and deployed it with the same result.

I tried (I think) every possible combination of publishing options (other than signing the manifest, which I don't need to do because I am deploying through the intranet). Most users receive the same message.

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

I have another developer who has VS2008 try to open the application, and it worked for him. Others not updated since 2005 receive an error message. I am targeting 3.5, and the 3.5 Framework is included in the prerequisites.

Users have already installed version 3.5. I am wondering if it may be installed incompletely or inaccurately. Can anyone think of any other reason that users who do not have VS2008 installed will not be able to run the ClickOnce application created by VS2008?

+3
source share
4 answers

, .NET 3.5. , , ClickOnce. , .

+1

" . ". , : ClickOnce,

.

Microsoft.mshtml.dll, " ". Microsoft.mshtml.dll... !!. , , , DLL ( Visual Studio 2005: → "" → DLL ).

, -...

+2

. . .

. .

. .

, . , . , .

ClickOnce

, ?

, , .

0

I solved this using the 'copy local' trick mentioned in Problems with mshtml.dll after installing VS2008 .

0
source

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


All Articles