0

我目前在我的 Win7 Pro x64 计算机上安装了 VS2010。然后下载了我要修改的设备的SDK的源代码,我用VS2010打开它,转换后,它显示了ff。错误信息:

无法打开项目文件“C:\Users\Vostro 2420\Documents\AMS Files\DL730&DL770_en_V3.5\DL730&DL770_RFID DevKit\DL770\DL770WinCE\DL770WinCE\DL770WinCE.csproj”。此安装不支持项目类型。

在这里找了一些解决方案和其他一些网站,好像VS2010不支持移动开发,所以我安装了XP Mode,在那里安装了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

4

1 回答 1

0

用记事本打开解决方案文件后,似乎代码是用VS2005创建的......

所以我安装了VS2005 Professional

便携式设备的应用程序开发仅在 Visual Studio 的 Pro 版本中受支持......但在 VS2010 中,互联网上的一些信息说它不再支持移动设备的开发......

=)

于 2013-05-24T03:52:19.320 回答