Home > Article > Backend Development > C# ClickOnce deployment error solution
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!