从天蓝色管道生成的Setup.exe在每次运行时提示.NET Framework 4.7.2

时间:2020-06-24 13:56:37

标签: azure continuous-integration azure-pipelines publish setup.exe

我们正在尝试使用azure devops管道生成一次单击的应用程序。

在此期间,我们发布项目以创建setup.exe。选中所有必需的前提条件,项目就可以毫无问题地构建和发布setup.exe。

但是,每次运行setup.exe时,我们都会在图像1中看到提示。

Image 1

我们确保installURL正确,并且.NET Framework 4.7.2位于生成计算机和安装计算机上。

当我们在Visual Studio中发布项目时,setup.exe不会显示此提示。

有人知道如何停止显示此提示或我们接下来可以尝试什么吗?

1 个答案:

答案 0 :(得分:0)

在管道中的Visual Studio构建任务中,请确保由于VS早期版本中的错误而选择了Visual Studio 2019。

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

相关问题