Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试在 Visual Basic 中发布我的程序时,它会为我提供安装文件,但不会更新调试文件夹中的 .exe 文件,这是怎么回事?我能做些什么?我已经重新安装了 VB,但这并没有帮助。我能做些什么?
发布是否会生成发布版本?请尝试检查 Release 文件夹。
当您发布应用程序时,.exe 文件变为 .exe.deploy 并在安装时解压缩到用户计算机。调试和发布文件夹中的 .exe 文件不会更新,因为发布会在临时目录中生成发布版本,然后将其复制到 .exe.deploy 文件中。
这些是我对您的问题的研究结果,我可以确认默认的 Visual Studio 设置就是这种情况。但是,您的配置可能会有所不同。
希望这可以帮助...