-1

J'ai créé un projet avec VS2005. J'ai converti le projet en VS2008 et trouvé OK. Mais quand j'ai essayé de convertir le projet en VS2010, il me montre "Le type de projet n'est pas supporté par cette installation". Je n'ai pas pu trouver la solution exacte, mais j'ai essayé différentes façons. Le projet utilisant .NET Framework 2.0 et PlatformFamilyName est WindowsCE. Pour une analyse détaillée, je suis coller le contenu du fichier de projet VS2005 ci-dessous: -La conversion du projet VS2005 vers VS2010 montre "Le type de projet n'est pas pris en charge par cette installation"

++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ ++

<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>{97630F0B-C62D-4135-A1F9-06092B830918}</ProjectGuid> 
    <OutputType>Library</OutputType> 
    <AppDesignerFolder>Properties</AppDesignerFolder> 
    <RootNamespace>NativeMethods</RootNamespace> 
    <AssemblyName>NativeMethods</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>NativeMethods</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> 
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 
    </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> 
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 
    </PropertyGroup> 
    <ItemGroup> 
    <Reference Include="mscorlib" /> 
    <Reference Include="System" /> 
    <Reference Include="System.Data" /> 
    <Reference Include="System.Windows.Forms" /> 
    <Reference Include="System.Xml" /> 
    </ItemGroup> 
    <ItemGroup> 
    <Compile Include="ceddk.cs" /> 
    <Compile Include="coredll.cs" /> 
    <Compile Include="Properties\AssemblyInfo.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> 

+++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++

+0

Lecture [this] (http://stackoverflow.com/a/10337114/1064610) –

+0

La prise en charge des projets Windows Mobile a été complètement supprimée dans VS2010. La dernière version de Visual Studio qui les prend en charge est VS2008. Vous pouvez dire en essayant de créer un nouveau projet à partir de zéro, vous trouverez les modèles de projet manquant. Il y a une explication facile à cela, le nom de l'entreprise ressemble à un fruit et commence par la lettre A. –

Répondre

1

Visual Studio 2010 ne fonctionne pas soutenir le développement .NET Compact Framework. La dernière version prise en charge est Visual Studio 2008.

Questions connexes