如何确定 Visual Studio 中的项目类型? [英] How to determine the project type in Visual Studio?
问题描述
如何确定类型"?Visual Studio 中的项目?
How can one determine the "type" of a project in Visual Studio?
例如,如果一个项目是类库、Web 应用程序项目、WinForms 项目、WCF 项目等.它们中的许多图标明显不同,但是否有任何说明项目类型的地方?
For example, if a project is a class library, a web application project, a WinForms project, a WCF project, etc. The icons are obviously different for a lot of them, but is there anywhere where it states the project type?
推荐答案
一个简单的技巧就是将项目文件拖放到记事本中,在那里你可以看到这类东西<
One simple trick is drag and drop project file in notepad and where you can see this kind of stuff<
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>`enter code here`
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{27F8327B-239F-4125-809C-13FB6209D2E3}</ProjectGuid>
<OutputType>WinExe</OutputType>`enter code here`
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WpfApplication1</RootNamespace>
<AssemblyName>WpfApplication1</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
比较ProjectTypeGuid"有了这个链接.通过更改此 guid,您可以将 WPF 窗口添加到 WinForms 项目中.
Compare "ProjectTypeGuid" with this Link. by changing this guid you can add WPF window to WinForms project.
这篇关于如何确定 Visual Studio 中的项目类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!