简体   繁体   English

如何从Visual Studio中找到c#项目的类型?

[英]How do I find type of c# project from Visual Studio?

I've never worked with C# and have been handed a huge piece of legacy code in C#, which I have to make changes to. 我从未使用过C#,并且已经在C#中处理了大量遗留代码,我必须对其进行更改。 I'm not sure what the template of the solution is and the solution refuses to run as one of the projects reads 我不确定解决方案的模板是什么,并且解决方案拒绝在项目之一读取时运行

(incompatible) The application is not installed. (不兼容)未安装该应用程序。

I'm trying to create a new solution and migrate all the existing projects within that solution to see if I can get it to work (going by this answer) but I'm not sure what the project template should be from the list that Visual Studio provides. 我正在尝试创建一个新的解决方案,并迁移该解决方案中的所有现有项目,以查看是否可以使它正常工作(按此答案),但是我不确定该项目模板应位于Visual的列表中。 Studio提供。

The list currently has these templates: 该列表当前具有以下模板:

  • WPF App (.NET Framework) WPF应用(.NET Framework)
  • Windows Forms App (.NET Framework) Windows窗体应用程序(.NET Framework)
  • Console App (.NET Core) 控制台应用程序(.NET Core)
  • Console App (.NET Framework) 控制台应用程序(.NET Framework)
  • Class Library (.NET Standard) 类库(.NET标准)
  • Class Library (.NET Framework) 类库(.NET Framework)
  • ASP.NET Core Web Application ASP.NET Core Web应用程序
  • ASP.NET Web Application (.NET Framework) ASP.NET Web应用程序(.NET Framework)

...(there are more but I don't think they're the right ones) ...(还有更多,但我不认为它们是正确的)

I'm not sure what the differences among any of them are. 我不确定它们之间有什么区别。 Please tell me how I can learn the project template of the solution that has been given to me. 请告诉我如何学习已提供给我的解决方案的项目模板。

您可以检查现有项目的GUID并将其与以下列表进行比较: https : //www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何找出我在Visual Studio 2017中使用的c#项目类型? - How can I find out what type of c# project I'm using in Visual Studio 2017? 如何在Visual Studio C中创建“项目概述”# - How do I create a “Project overview” in Visual Studio C# 如何在Visual Studio 2015的C#项目中运行简单的Powershell命令? - How do I run a simple Powershell command from my C# project in Visual Studio 2015? 如何在我的 Visual Studio Code c# 项目中设置默认的 c# 文件? - How do I set the default c# file in my Visual Studio Code c# Project? Visual Studio 2008 / C#:如何在项目中找到死代码? - Visual Studio 2008 / C# : How to find dead code in a project? 如何使用Visual Studio 2010为C#Web服务项目创建.msi安装程序? - How do I create an .msi installer with Visual Studio 2010 for a C# webservices project? 在带有C#的Visual Studio中,如何在键入时自动显示(),例如.Focus()? - In Visual Studio with C#, how do I make the () appear automatically when I type, such as .Focus()? 如何为我的 Visual Studio 2010 C# 项目制作安装程序? - How do I make an installer for my Visual Studio 2010 C# project? 如何在XAML文件中找到C#和Visual Studio 2010中匹配的部分类? - How do I find the matching partial-class in C# & Visual Studio 2010 in a XAML file? 如何在 Visual Studio 2017 中使用 C# 使用 Selenium 查找和选择下拉值 - How do I find and select a dropdown value with Selenium using C# in Visual Studio 2017
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM