1

We are trying to generate a click once application using azure devops pipelines.

During this, we publish the project to create a setup.exe. All the pre-requisites required are ticked, the project builds and publishes the setup.exe without any issues.

However, every time the setup.exe is run we see the prompt in Image 1.

Image 1

We have ensured the installURL is correct, and the .NET Framework 4.7.2 is on the build machine and install machine.

When we publish the project in visual studio, the setup.exe does not show this prompt.

Does anyone have any idea how to stop this prompt showing or what we could try next?

O. Grant
  • 11
  • 2

1 Answers1

0

In your Visual Studio build task in your pipeline, make sure you have Visual Studio 2019 selected due to a bug in earlier versions of VS.

enter image description here https://developercommunity.visualstudio.com/content/problem/743594/dotnetfx472-and-dotnetfx48-not-finding-information.html

dstnrgrs
  • 107
  • 1
  • 1
  • 7
  • Have tried changing all the build tasks to make sure they are running VS 2019 but still same issue. – O. Grant Aug 10 '20 at 09:23