C# ClickOnce deployment error solution

黄舟
Release: 2017-03-15 11:19:18
Original
2075 people have browsed it

There are still many conveniences in using ClickOnce deployment program. You don’t need to design the upgrade program separately, and you can save a lot of energy to study the main business.

However, many problems will occur during the use of ClickOnce, such as the prompt reported today that "the reference in the manifest does not match the downloaded assembly identifier" and the program cannot be executed. 's started.

I reposted it several times and still had the same problem. Later I found that I had restored a file a few days ago, and the AssemblyFile originally set in the Properties\AssemblyInfo.cs file Version has become the original 1.0.0.0, but this value was changed before restoring the file, which is larger than 1.0.0.0. The newly released file is compared with the file version and it is found that the newly released program file is older. Of course, it is not allowed to be upgraded. Well, it turns out that the problem is here.

If it is not necessary, just leave this place unchanged and avoid some trouble for yourself.

The above is the detailed content of C# ClickOnce deployment error solution. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!