2013-04-10 107 views
0

我目前在我的Win7 Pro x64計算機上安裝了VS2010。然後下載了我將修改的設備的SDK的源代碼,我使用VS2010打開它,轉換後顯示ff。錯誤信息:使用Visual Studio打開UHF RFID DevKit項目文件

項目文件 'C:\用戶\ Vostro成就2420 \文檔\ AMS 文件\ DL730 & DL770_en_V3.5 \ DL730 & DL770_RFID 的devkit \ DL770 \ DL770WinCE \ DL770WinCE \ DL770WinCE.csproj' 不能打開 。該安裝不支持該項目類型。

尋找一些解決方案在這裏和其他一些網站,似乎VS2010不支持移動開發,所以我安裝了XP模式,並在那裏安裝了Visual C#2005。但無濟於事,依然行不通。它仍然給出相同的「項目文件無法加載」的錯誤。

這是MS VS解決方案文件的內容:

Microsoft Visual Studio Solution File, Format Version 9.00 
# Visual Studio 2005 
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DL770WinCE",  "DL770WinCE\DL770WinCE.csproj", "{E07A0382-8B93-46A3-B389-C6D2C93CD4B8}" 
EndProject 
Global 
     GlobalSection(SolutionConfigurationPlatforms) = preSolution 
      Debug|Any CPU = Debug|Any CPU 
      Release|Any CPU = Release|Any CPU 
     EndGlobalSection 
     GlobalSection(ProjectConfigurationPlatforms) = postSolution 
      {E07A0382-8B93-46A3-B389-C6D2C93CD4B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 
      {E07A0382-8B93-46A3-B389-C6D2C93CD4B8}.Debug|Any CPU.Build.0 = Debug|Any CPU 
      {E07A0382-8B93-46A3-B389-C6D2C93CD4B8}.Debug|Any CPU.Deploy.0 = Debug|Any  CPU 
      {E07A0382-8B93-46A3-B389-C6D2C93CD4B8}.Release|Any CPU.ActiveCfg = Release|Any CPU 
      {E07A0382-8B93-46A3-B389-C6D2C93CD4B8}.Release|Any CPU.Build.0 = Release|Any CPU 
      {E07A0382-8B93-46A3-B389-C6D2C93CD4B8}.Release|Any CPU.Deploy.0 = Release|Any CPU 
     EndGlobalSection 
     GlobalSection(SolutionProperties) = preSolution 
      HideSolutionNode = FALSE 
     EndGlobalSection 
EndGlobal 

這裏是在記事本中打開Visual C#項目文件的內容:

<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
    <PropertyGroup> 
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 
     <ProductVersion>8.0.50727</ProductVersion> 
     <SchemaVersion>2.0</SchemaVersion> 
     <ProjectGuid>{E07A0382-8B93-46A3-B389-C6D2C93CD4B8}</ProjectGuid> 
     <OutputType>WinExe</OutputType> 
     <AppDesignerFolder>Properties</AppDesignerFolder> 
     <RootNamespace>DL770WinCE</RootNamespace> 
     <AssemblyName>DL770WinCE</AssemblyName> 
     <ProjectTypeGuids>{4D628B5B-2FBC-4AA6-8C16-197242AEB884};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> 
     <PlatformFamilyName>WindowsCE</PlatformFamilyName> 
     <PlatformID>E2BECB1F-8C8C-41ba-B736-9BE7D946A398</PlatformID> 
     <OSVersion>5.0</OSVersion> 
     <DeployDirSuffix>DL770WinCE</DeployDirSuffix> 
     <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> 
     <FormFactorID> 
     </FormFactorID> 
    </PropertyGroup> 
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
    <DebugSymbols>true</DebugSymbols> 
    <DebugType>full</DebugType> 
    <Optimize>false</Optimize> 
    <OutputPath>bin\Debug\</OutputPath> 
    <DefineConstants>DEBUG;TRACE;$(PlatformFamilyName)</DefineConstants> 
    <NoStdLib>true</NoStdLib> 
    <NoConfig>true</NoConfig> 
    <ErrorReport>prompt</ErrorReport> 
    <FileAlignment>512</FileAlignment> 
    <WarningLevel>4</WarningLevel> 
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> 
</PropertyGroup> 
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> 
    <DebugType>pdbonly</DebugType> 
    <Optimize>true</Optimize> 
    <OutputPath>bin\Release\</OutputPath> 
    <DefineConstants>TRACE;$(PlatformFamilyName)</DefineConstants> 
    <NoStdLib>true</NoStdLib> 
    <NoConfig>true</NoConfig> 
    <ErrorReport>prompt</ErrorReport> 
    <FileAlignment>512</FileAlignment> 
    <WarningLevel>4</WarningLevel> 
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> 
</PropertyGroup> 
<ItemGroup> 
    <Reference Include="mscorlib" /> 
    <Reference Include="System" /> 
    <Reference Include="System.Data" /> 
    <Reference Include="System.Drawing" /> 
    <Reference Include="System.Windows.Forms" /> 
    <Reference Include="System.Xml" /> 
</ItemGroup> 
<ItemGroup> 
    <Compile Include="Form1.cs"> 
     <SubType>Form</SubType> 
    </Compile> 
    <Compile Include="Form1.Designer.cs"> 
     <DependentUpon>Form1.cs</DependentUpon> 
    </Compile> 
    <Compile Include="Program.cs" /> 
    <Compile Include="Properties\AssemblyInfo.cs" /> 
    <EmbeddedResource Include="Form1.resx"> 
     <SubType>Designer</SubType> 
     <DependentUpon>Form1.cs</DependentUpon> 
    </EmbeddedResource> 
    <EmbeddedResource Include="Properties\Resources.resx"> 
     <Generator>ResXFileCodeGenerator</Generator> 
     <LastGenOutput>Resources.Designer.cs</LastGenOutput> 
     <SubType>Designer</SubType> 
    </EmbeddedResource> 
    <Compile Include="Properties\Resources.Designer.cs"> 
     <AutoGen>True</AutoGen> 
     <DependentUpon>Resources.resx</DependentUpon> 
     <DesignTime>True</DesignTime> 
    </Compile> 
    <Compile Include="RWDev.cs" /> 
</ItemGroup> 
<Import Condition="'$(TargetFrameworkVersion)' == 'v1.0'" Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.v1.targets" /> 
<Import Condition="'$(TargetFrameworkVersion)' == 'v2.0'" Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" /> 
<ProjectExtensions> 
    <VisualStudio> 
     <FlavorProperties GUID="{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"> 
      <HostingProcess disable="1" /> 
     </FlavorProperties> 
    </VisualStudio> 
</ProjectExtensions> 
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
     Other similar extension points exist, see Microsoft.Common.targets. 
    <Target Name="BeforeBuild"> 
    </Target> 
    <Target Name="AfterBuild"> 
    </Target> 
--> 
</Project> 

先感謝您的幫助。 :d

+0

看起來好像沒有很多代碼,你有沒有嘗試在2005年創建一個虛擬項目,然後逐個添加這些cs /文件? 然後將您創建的解決方案/ proj與原始文件進行比較,並與差異進行比較。 – Kelmen 2013-04-10 09:08:08

+0

還沒有,我會試試看... – athancardenas 2013-04-11 06:30:21

回答

0

在打開的記事本解決方案文件, 看來,代碼用VS2005創建...

所以我安裝VS2005專業

應用程序開發適用於便攜式設備僅在Pro支持Visual Studio中的版本 ...但在VS2010中,互聯網 上的一些信息說,它不支持開發用於移動設備的了...

=)

相關問題