2013-04-10 101 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中,互联网 上的一些信息说,它不支持开发用于移动设备的了...

=)

相关问题