gpt4 book ai didi

.net - 为什么 .NET Framework 先决条件不能从安装文件的同一位置运行?

转载 作者:行者123 更新时间:2023-12-02 15:43:28 25 4
gpt4 key购买 nike

我在 C# 中创建了一个安装项目,并选择了 dot net Framework 3.5 作为先决条件,并设置了选项“从与我的应用程序相同的位置下载”。但是,虽然当我运行 Setup.msi 时它假定从本地运行,但它会通过互联网安装 .NET Framework 3.5。

有人可以告诉我为什么吗?

最佳答案

来自Application Deployment Prerequisites (强调):

... Visual Studio generates a Windows executable program named Setup.exe, also known as a bootstrapper. The bootstrapper is responsible for installing these prerequisites before your application runs.

msi 文件只是 Windows 安装程序数据库,无法执行引导操作。

关于.net - 为什么 .NET Framework 先决条件不能从安装文件的同一位置运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7460432/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com