项目应用程序未安装

发布于 2025-01-05 10:41:10 字数 182 浏览 6 评论 0 原文

我正在打开一个显然是在 Visual Studio 2003 上构建的解决方案(不确定,我对此一无所知)并尝试迁移到 2010。当尝试迁移时,我收到消息:

项目“”的应用程序是未安装请确保已安装该项目类型 (.csproj) 的应用程序。

如果我打开解决方案的每个单个项目,它们都会很好地迁移,但解决方案本身不会迁移。

I'm opening a solution that was apparently built on Visual Studio 2003 (not sure, I don't know anything about it) and trying to migrate to 2010. When trying to migrate I get the message:

the application for project '' is not installed make sure the application for the project type (.csproj) is installed.

If I open each one of the single projects of the solution they migrate fine but not the solution itself.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(13

神爱温柔 2025-01-12 10:41:10

右键单击项目文件,然后“重新加载”

如果您的解决方案打开,但您的项目显示为“不兼容”,则可能需要重新加载。当我从 VS 运行更新时,这对我有用,但它无法识别我的 njsproj

Right-click on the project file, then "Reload"

If your solution opens, but your project is showing as "incompatible", it may need to just reload. This worked for me when running an update from VS, and it did not recognize my njsproj

一直在等你来 2025-01-12 10:41:10

我知道这是一个老问题,但它仍然出现在 VS 2013 中

。我有一个旧的 VS 2003 Web 应用程序。我在 VS 2013 (Ultimate) 中打开它并收到错误消息:

Could not find the server on the local machine.
Creating a virtual directory is only supported on the local IIS server

以及

The application for project is not installed.

是的,我正在升级,是的,我没有准备好其他一些元素。给我错误是可以的 - 但为什么你没有完成项目的迁移/加载。如果您不加载任何内容,我无法解决其他问题!您加载了子项目,然后告诉我应该选择更高版本的.NET Framework。太好了,我就是这样做的。那么你为什么不直接加载主项目并让我修复错误呢?

很多尝试修复这个问题都失败了。我的最终解决方案是{arrow pierces chest, dies with Arghhhhhhh on his嘴唇}...

我找到了 {project}.csproj 文件。我找到了 部分。 .NET Framework 组件的路径不再有效,并引用不再安装的旧版本(是的,升级,还记得吗?)。我手动更改了引用 .NET Framework 4.5 组件的路径。该项目仍然没有加载。

然后我找到了 {project}.csproj.webinfo 文件。它引用了 http://localhost/{stuff}/{project}.csproj,因此我将其设置为 {project}.csproj。运气不好。然后我只是重命名 webinfo 文件来隐藏它。尤里卡,这个项目很火爆!

项目加载后,我收到“您已完成转换 Visual Studio .NET 2003 Web 项目的第一步。要完成转换,请在解决方案资源管理器中选择您的项目,然后选择“转换为 Web 应用程序”上下文菜单项”。当然,它不存在,但作为项目菜单中的最后一项出现。然后我收到“此操作将添加将网站项目转换为 Web 应用程序项目所需的设计器和代码隐藏文件。是否要继续?”你打赌你的后路我想继续!现在我有了一个可以真正开始修复的项目。感谢 Microsoft 提供信息丰富的错误消息。

I know this is an old question, but it is still occurring in VS 2013.

I had an old VS 2003 web application. I opened it in VS 2013 (Ultimate) and had the error message:

Could not find the server on the local machine.
Creating a virtual directory is only supported on the local IIS server

along with

The application for project is not installed.

Yes, I am upgrading, and yes, I don't have some other elements ready. Giving me errors is fine - but why are you not completing the migration/load of the project. I can't fix the other issues if you don't LOAD ANYTHING! You loaded the subprojects, and then you told me that I should choose a later .NET Framework. Great, I did that. So why didn't you just finish loading the main project and let me fix the errors?

Lots of attempts to fix this failed. My final solution, just to get the project loaded was {arrow pierces chest, dies with Arghhhhhh on his lips}...

I located the {project}.csproj file. I found the <Reference> sections. The paths to the .NET Framework components were no longer valid and referred to old versions no longer installed (yeah, upgrading, remember?). I manually changed the paths to refer to .NET Framework 4.5 components. The project still didn't load.

Then I located the {project}.csproj.webinfo file. It referred to http://localhost/{stuff}/{project}.csproj, so I just set it to {project}.csproj. No luck. Then I just renamed the webinfo file to hide it. Eureka, the project was hot!

The project loaded, I got the "You have completed the first step in converting your Visual Studio .NET 2003 web project. To complete the conversion, please select your project in the Solution Explorer and choose the 'Convert to Web Application' context menu item." Which, of course, is not present, but is present as the very last item in the Project menu. Then I got the "This action will add designer and code behind files required for converting Web site projects to Web application projects. Do you want to continue?" You bet your posterior I want to continue! And now I have a project I can actually start to fix. Thanks, Microsoft, for the informative error messages.

迷荒 2025-01-12 10:41:10

我找到了适用于 Visual Studio 2017 的解决方案。

在 Visual Studio 中,转到工具 >扩展和更新。在右上角的搜索框中,搜索“集成”。它应该提供分析或诊断工具(或类似工具)。点击禁用,然后点击启用。退出该对话框,然后关闭 Visual Studio。重新启动并再次打开您的解决方案。您的项目仍然会抱怨由于不兼容而无法加载,但现在您可以单独右键单击它们并选择“重新加载项目”,它们应该可以正常加载。

感谢 Paul Potter 和 Paul Shaughnessy,网址为 https: //developercommunity.visualstudio.com/content/problem/216061/project-incomplete-application-not-installed.html - 我刚刚做了验证工作,压缩信息并交付:)

I found a solution that worked for Visual Studio 2017.

In Visual Studio, go to Tools > Extensions and updates. At the upper-right search box, search for "integration". It should come up with Analysis or Diagnostic Tools (or similar). Click Disable, then Enable. Exit the dialog, and close Visual Studio. Relaunch and open your solution again. Your projects will still complain they can't be loaded because of incompatibilities, but now you can right-click them individually and select "Reload Project" and they should load fine.

Credit goes to Paul Potter and Paul Shaughnessy at https://developercommunity.visualstudio.com/content/problem/216061/project-incompatible-application-not-installed.html - I just did the verification work, condensing the information, and delivery :)

吃兔兔 2025-01-12 10:41:10

如果您的项目单独迁移良好,则创建一个新的空白 Visual Studio 2010 解决方案,并单独添加新项目(右键单击解决方案->添加->现有项目)

但我不确定您的项目是否会单独加载良好。有些项目类型需要安装一些附加软件才能获得支持。我面临的最常见的问题是使用旧版本的 asp.net mvc(1 或 2)构建的旧项目,并且我安装了 asp.net mvc 3...或者使用 asp.net ajax 构建的真正旧项目...在这些中在这种情况下,您必须安装该附加软件,然后导入项目,或者找到一个工具将该项目类型升级到较新的版本。

If your projects individually migrate fine, then create a new blank visual studio 2010 solution, and add new projects individually (right click on solution->add->existing project)

But I'm not sure that your projects will load fine individually. There are project types that require some additional software to be installed in order to be supported. The most frequent problems I face are old projects built with old versions of asp.net mvc (1 or 2) and I have asp.net mvc 3 installed...or really old projects built with asp.net ajax...In those cases, you have to install that additional software and then import project, or find a tool to upgrade that project type to a newer version.

黄昏下泛黄的笔记 2025-01-12 10:41:10

添加此答案作为因缺少“.smproj”文件而登陆此处的人们的参考。

由于缺少各种项目文件,可能会出现此问题。对我来说,这是因为缺少“.smproj”文件,该文件是 SQL Server Analysis Services(SSAS) 的项目文件。我重新安装了 SQL Server Data Tools (SSDT) 并重新启动了 Visual Studio。
最初在这里回答

Adding this answer as reference for people who landed here for missing ".smproj" file.

This issue can arise due to various project files missing. For me, it was because of ".smproj" file missing which is Project file for SQL Server Analysis Services(SSAS). I re-installed SQL Server Data Tools (SSDT) and restarted the Visual studio.
Originally Answered here

断桥再见 2025-01-12 10:41:10

有时,“管理扩展”中的 SSIS 或 SSAS 扩展在设置中被禁用,必须手动启用。然后重新启动 Visual Studio

扩展>管理扩展

Sometimes the SSIS or SSAS Extension in "Manage Extension" is disabled in the settings and must be Enabled manually. And then restart Visual Studio

Extensions>Manage Extensions

青春如此纠结 2025-01-12 10:41:10

这也发生在我身上。

您通常确实只需要在解决方案中重新加载项目。但在某些情况下,您可能:

如果您已解决这两件事,请尝试再次重新加载项目。当我从 VS2019 迁移到 VS2022 时,这种情况发生在我身上,并且扩展以某种方式被禁用。

It happened to me as wel.

You usualy do really need only to reload project in the solution. But in some cases you maybe:

If you have both things settled then try to reload project again. This happened to me when I moved from VS2019 to VS2022 and extension was somehow disabled.

小苏打饼 2025-01-12 10:41:10

我正在使用 Visual Studio 2019,当我修改安装 SSDT 后在 Visual Studio 中重新打开 ASP.Net WebForm 应用程序时,我遇到了这个问题。
当 Visual Studio 软件包修改时(特别是安装 SSDT 时),会发生此问题。

要解决此问题,您必须转到项目文件夹并查找名为“.vs”的文件夹,该文件夹是隐藏的。

删除这些文件夹将解决问题,因为之后当您使用 Visual Studio 打开项目时,它将再次创建该文件夹。

I am using visual studio 2019 and I was faced with this issue when I reopened my ASP.Net webform App in visual studio after modifying for install SSDT.
this problem happens when Visual studio packages will modify (Especially when SSDT will be installed).

To solve this problem you have to go to you project folder and looking for the folder that named '.vs', this folder is hidden.

Deleting these folder will solve the problem because after that when you will open your project with visual studio, it will create the folder again.

窝囊感情。 2025-01-12 10:41:10

为那些在早期版本的 VS2017 中遇到 SSRS 项目问题的人添加此内容,因为这出现在 google 搜索中。

在 Visual Studio 中,转到工具 >扩展和更新。下载以下内容:

Microsoft Reporting Services 项目
Microsoft RDLC 报表设计器

Adding this for those who face issues for SSRS projects in VS2017 from earlier version as this comes up in google search.

In Visual Studio, go to Tools > Extensions and updates. Download the below :

Microsoft Reporting Services Projects
Microsoft RDLC Report Designer

倾城泪 2025-01-12 10:41:10

在 SSIS 2017 中,在右上角的搜索框中搜索 Microsoft Integration Services Projects。

go to Tools > Extensions and updates.
Enable -"Microsoft Integration Services Projects"

这将有助于解决重新启动 SSIS 的问题

In SSIS 2017, t the upper-right search box, search Microsoft Integration Services Projects.

go to Tools > Extensions and updates.
Enable -"Microsoft Integration Services Projects"

This will help to resolve the issue re-launch the SSIS

無處可尋 2025-01-12 10:41:10

禁用扩展

对于我的情况,我禁用了此扩展,结果证明它是必要的。

启用它解决了我的问题。

Disabled extension

For my case, I disabled this extension and turns out, it is needed.

Enabling it resolved my problem.

乱了心跳 2025-01-12 10:41:10

在 VS2019 中,在尝试上述任何操作之前,右键单击解决方案并单击“解决错误”,这让我的表格模型解决方案再次可用。

In VS2019 Before you try any of the above right click the solution and click "Resolve Errors" no kidding that made my tabular model solution being available again.

零崎曲识 2025-01-12 10:41:10

对我来说,有效的是 @vapcguy 解决方案的变体。

  1. 转到 Paul Potter 和 Paul Shaughnessy 解决方案的 @vapcguy 链接:https://developercommunity.visualstudio.com/content/problem/216061/project-inknown-application-not-installed.html - 我

  2. 关注阿尔伯特·罗密欧 (Albert Romeo) 对保罗·波特 (Paul Potter) 帖子的评论

  3. 集成服务插件已被禁用(如前所述:转到工具 > 扩展和更新 > 并搜索集成/分析/报告并启用应用程序

我必须启用集成服务,然后重新加载项目。我不知道为什么,因为我'几个月来,我们每周都会使用同一个 SSIS 项目数次。

For me what worked was a variation of @vapcguy solution.

  1. Go to @vapcguy link for Paul Potter and Paul Shaughnessy solution: https://developercommunity.visualstudio.com/content/problem/216061/project-incompatible-application-not-installed.html - I

  2. Follow comment on Paul Potter's post by Albert Romeo

  3. Integration Services Plugin was disabled(as explained before: Goto Tools > Extensions and updates > and search for integration/analysis/reporting and enable application

I had to enable integration services, then reload project. I don't know why since I've been using the same SSIS project several times a week for months.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文