0

Hi, I've ran into a problem when publishing/updating the clickonce project. I publish project to network share and what hapenes is that app doesn't update on startup as it should. Just old version openes, no update hapenes, seems like it doesn't see the update waiting. I've done this update a lot of times and I had no problems at all. And I did nothing different now.

What I've noticed is that "Project_name.exe.manifest" files have some differences between last working version (1.0.0.19) and the newer ones.

v.1.0.0.19

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1">
  <asmv1:assemblyIdentity version="1.0.0.19" name="Project_name.exe" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
  <description asmv2:iconFile="driver.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
  <application />

v.1.0.0.20

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
  <asmv1:assemblyIdentity name="Project_name.exe" version="1.0.0.20" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
  <description asmv2:iconFile="driver.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
  <application />

What falls in my eye is this difference:

v19: <asmv1:assemblyIdentity version="1.0.0.19" name="Project_name.exe"
v20: <asmv1:assemblyIdentity name="Project_name.exe" version="1.0.0.20"

Is it possible that app wont update because of this? And what caused this change?

I'm very gratefull for all your help.

2
Contributors
1
Reply
8
Views
1 Year
Discussion Span
Last Post by G_Waddell
0

Hi,
There are a couple of things I'd try (some of which you may have done already)

  1. Check the Build version under the Project properties
  2. Under the Build menu I would Clean the solution then Build and deploy
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.