© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
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)
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...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Need help Publishing / Trimming my Maui / Blazor app
C#CC# / help
11mo ago
Need help withDeployment / Publishing of .Net Maui App
C#CC# / help
3y ago
Publishing application with native libraries
C#CC# / help
3y ago
❔ Publishing project
C#CC# / help
3y ago