C#C
C#3y ago
Thalnos

❔ Need help with publishing

We use click-once deployment. I am using Visual Studio Publish Wizard. I incremented the version number and pressed "Publish".

Visual studio says "Publish Succeeded"

Now upon restarting the application on a client, it successfully installs the new version from our NAS which means publishing has worked.

However the new donloaded version of the app doesn't start, even tho it worked for me before I have published.

All I have as information is this Error Summary here:
ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of \\Nas02\Software\AgentUI\AgentUI.application resulted in exception. Following failure messages were detected:
        + Exception occurred during store operation.
        + The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)


As you can see it complains about
  1. Exception during store operation
  2. file being used by another process
about first error I have no idea what this means, regarding second - I have checked which processes are using the file, there are none...
Was this page helpful?