Visual Studio 2017挂起“准备解决方案”打开包含安装程序项目的解决方案时 [英] Visual Studio 2017 hangs at "Preparing Solution" when opening a solution that contains Installer Projects
问题描述
我最近将我的Visual Studio 2017安装从v15.9.7更新到v15.9.9。 我有一个包含7个项目的解决方案,其中2个是安装程序项目。 我一直在使用Microsoft Visual Studio Installer Projects扩展v0.9.0而没有与早期版本的Visual Studio 2017的
问题。
现在,当我打开我的解决方案文件时,Visual Studio显示一个对话框,指出"准备解决方案"。并挂起直到我杀死Visual Studio。
如果我重命名解决方案文件夹中的两个Installer Project子目录,除了指示安装程序项目的两个对话框之外,我可以毫无问题地打开解决方案无法找到。 如果我然后将两个Installer Project子目录
重命名为原始名称,并在解决方案资源管理器中单击每个安装程序项目,然后选择"重新加载项目"。从弹出的上下文菜单中,项目加载没有错误。 然后我可以构建我的解决方案并使用安装程序项目来
创建安装程序.msi文件和Setup.exe而不会出现问题。
我已经尝试运行"gacutil"。 exe文件"命令来自"https://developercommunity.visualstudio.com/content/problem/311136/update-to-1580-projects-wont-load.html"我试过删除".vs"我的解决方案文件夹中的文件夹。
这些都没有解决问题。
最重要的是,在Visual Studio加载整个解决方案期间,安装程序项目加载并运行得很好,*除了*。 我花了整个上午用各种关键词进行搜索,但我没有找到任何其他建议的修复。
希望其他人看到这个并有一个建议....
-Polar Weasel
根据描述,问题与Visual Studio有关。此论坛正在讨论并询问有关Windows窗体和ClickOnce的问题。我将把这个帖子移到相应的论坛: Visual
Studio一般问题。
感谢您的理解。
问候,
Kyle
I recently updated my Visual Studio 2017 installation from v15.9.7 to v15.9.9. I have a solution that contains 7 projects, 2 of which are Installer Projects. I've been using the Microsoft Visual Studio Installer Projects extension v0.9.0 without problems with the earlier version of Visual Studio 2017.
Now when I open my solution file, Visual Studio displays a dialog stating "Preparing Solution" and hangs there until I kill Visual Studio.
If I rename the two Installer Project subdirectories in my solution folder, I can open the solution without problems aside from the two dialogs that indicate the Installer Projects can't be found. If I then rename the two Installer Project subdirectories back to their original names and click on each installer project in Solution Explorer and select "Reload Project" from the pop-up context menu, the projects load without errors. I can then build my solution and use the installer projects to create the installer .msi file and Setup.exe without issues.
I've tried running the "gacutil.exe" commands from "https://developercommunity.visualstudio.com/content/problem/311136/update-to-1580-projects-wont-load.html" and I've tried deleting the ".vs" folder in my solution folder. Neither of these fixed the problem.
The bottom line is that Installer Projects load and run just fine, *except* during when Visual Studio is loading the entire solution. I've spent the entire morning running searches with various keywords but I haven't found any other suggested fixes.
Hopefully someone else out there has seen this and has a suggestion ....
-Polar Weasel
Hi,
According to the description, the issue is more related about Visual Studio. And this forum is discussing and asking questions about the Windows Forms and ClickOnce. I will move this thread to corresponding forum: Visual Studio General Questions.
Thank you for your understanding.
Regards,
Kyle
这篇关于Visual Studio 2017挂起“准备解决方案”打开包含安装程序项目的解决方案时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!