1

I had a ClickOnce application, written using .NET 4.5 and F# 4.3, that I'd published to IIS. Users could install the application from there and everything was great.

I then upgraded to .NET 4.5.1 and F# 4.3.1 and published a new version. Now, when users upgrade it downloads the application but then fails with:

"Cannot download the application. The application is missing required files."

When I look into the details it reports that:

"Downloading https://my.server.com/1.2.3.4/normidna.nlp.deploy did not succeed."

Googling this error suggests that the manifest refers to files that aren't present. However, I've checked the manifest and can't find any reference to normidna.nlp.

Also, if I copy the application folder from the IIS machine to my local machine and remove the .deploy extension from all files in that folder, I can then run the application locally. So there isn't actually a missing file, but for some reason the installer thinks there is.

Has anyone got any idea what might be going wrong?

Akash
  • 2,311
  • 1
  • 20
  • 37

1 Answers1

0

This answer provided the solution. Rather than installing the SDK I just copied the .NET 4.5.1 Reference Assemblies onto the build server and it worked. It seems strange that I could deploy other (non ClickOnce) .NET 4.5.1 applications that were built on that build server without needing the reference assemblies, so I guess it must be something related to ClickOnce and/or the specific assemblies used by this application.

Community
  • 1
  • 1
Akash
  • 2,311
  • 1
  • 20
  • 37