這是我第一次遇到像這樣的東西。時間最長的,每當我想正是知道我使用下面的鏈接提供的指導該項目的類型:沒有項目在.CSProj文件中輸入Guid
How do you tell the Visual Studio project type from an existing Visual Studio project
,對我來說一直很大,到目前爲止。但是,我遇到了一個沒有提及ProjectType的項目。以下是用於參考的.csProj文件的XML。
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{87F6C2DE-6074-4E6D-9854-51EC812F7548}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PL.HR.Services.Employee.DAL</RootNamespace>
<AssemblyName>PL.HR.Services.Employee.DAL</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
我不知道怎麼能這樣呢
- 是否有可能沒有任何人手動去除.csproj的文件類型的信息?
- 如果不是,那麼VS在什麼情況下會發生?
- 有什麼我們可以做的,以防止這種事件發生在未來?
您是否有更多信息的示例?它是什麼類型的項目,它來自哪裏? –
ProjectType guid啓用VS加載項。這只是一個簡單的類庫,除了文本編輯器外,它不需要任何東西。 –