《LYFvs2013转vs2010》
1.修改解决方案文件(**.sln)
将-------------------------------------------------------------
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
改为--------------------->>------------------------------------
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010

2.修改工程文件(**.csproj)
ctrl+f 查找以下标签两次,并删除或注释,如果没有此标签,则不管
<PlatformToolset>v100</PlatformToolset>

3.修改配置文件(**.config)
将------------------------------------------------------------------------
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
改为---------------------------->>---------------------------------------
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
4.完成

***理解****************************************************************************************************************
看看2013的解决方案的文件:
Microsoft Visual Studio Solution File, Format Version 12.00 //格式版本
# Visual Studio 2013 //vs版本
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1 //最低vs版本
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lyfMusicPlay", "lyfMusicPlay\lyfMusicPlay.csproj", "{53C2FFBD-5D7C-475F-AE12-2477C359E2C3}"
EndProject
Global //全局
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{53C2FFBD-5D7C-475F-AE12-2477C359E2C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{53C2FFBD-5D7C-475F-AE12-2477C359E2C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{53C2FFBD-5D7C-475F-AE12-2477C359E2C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{53C2FFBD-5D7C-475F-AE12-2477C359E2C3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal //结束全局
2010的解决方案的文件----------------------------------------------------------------------------------
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication1", "WindowsFormsApplication1\WindowsFormsApplication1.csproj", "{1765E0E8-D447-4C60-A7CD-05EECC79062F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1765E0E8-D447-4C60-A7CD-05EECC79062F}.Debug|x86.ActiveCfg = Debug|x86
{1765E0E8-D447-4C60-A7CD-05EECC79062F}.Debug|x86.Build.0 = Debug|x86
{1765E0E8-D447-4C60-A7CD-05EECC79062F}.Release|x86.ActiveCfg = Release|x86
{1765E0E8-D447-4C60-A7CD-05EECC79062F}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
=======================================================================================================================
2013的工程文件:
<?xml version="1.0" encoding="utf-8"?>
<!--工程 工具版本="12.0" -->
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <!--属性值组 -->
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{53C2FFBD-5D7C-475F-AE12-2477C359E2C3}</ProjectGuid> <!--工程ID -->
<OutputType>WinExe</OutputType> <!--输出类型:生成的是EXE窗体-->
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>lyfMusicPlay</RootNamespace> <!-- 根空间名称 -->
<AssemblyName>lyfMusicPlay</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <!-- 目标框架版本 -->
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<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' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="IrisSkin, Version=2006.3.22.45, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\IrisSkin.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data.Linq" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="LYFfrm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LYFfrm.Designer.cs">
<DependentUpon>LYFfrm.cs</DependentUpon>
</Compile>
<Compile Include="LYFSongDB.designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>LYFSongDB.dbml</DependentUpon>
</Compile>
<Compile Include="MusicDBModel.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Song.cs" />
<EmbeddedResource Include="LYFfrm.resx">
<DependentUpon>LYFfrm.cs</DependentUpon>
</EmbeddedResource>
<None Include="bin\Debug\lyfEXE\LYFScanbin\Debug\LYFScan.exe.config" />
<None Include="bin\Debug\lyfEXE\LYFScanbin\Debug\LYFScan.vshost.exe.config" />
<None Include="bin\Debug\lyfEXE\LYFScanbin\Debug\LYFScan.vshost.exe.manifest" />
<None Include="LYFSongDB.dbml.layout">
<DependentUpon>LYFSongDB.dbml</DependentUpon>
</None>
<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>
<None Include="bin\Debug\lyfEXE\肥皂泡泡.scr" />
<None Include="bin\Debug\LYFimages\player_skin.bmp" />
<None Include="bin\Debug\LyfMusic\易欣 - 一天爱一点.LRC" />
<None Include="bin\Debug\LyfMusic\昨日重现-Yes.lrc" />
<None Include="LYFSongDB.dbml">
<Generator>MSLinqToSQLGenerator</Generator>
<LastGenOutput>LYFSongDB.designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<COMReference Include="AxWMPLib">
<Guid>{6BF52A50-394A-11D3-B153-00C04F79FAA6}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>aximp</WrapperTool>
<Isolated>False</Isolated>
</COMReference>
<COMReference Include="WMPLib">
<Guid>{6BF52A50-394A-11D3-B153-00C04F79FAA6}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<None Include="bin\Debug\LYFimages\hot-playlist_add.bmp" />
</ItemGroup>
<ItemGroup>
<None Include="bin\Debug\LYFimages\hot-playlist_model.bmp" />
</ItemGroup>
<ItemGroup>
<None Include="bin\Debug\LYFimages\hot-playlist_del.bmp" />
</ItemGroup>
<ItemGroup>
<None Include="bin\Debug\LYFimages\hot-playlist_sort.bmp" />
</ItemGroup>
<ItemGroup>
<None Include="bin\Debug\LYFimages\未命名2.jpg" />
</ItemGroup>
<ItemGroup>
<Content Include="bin\Debug\ico\aac.ico" />
<Content Include="bin\Debug\ico\lyf.ico" />
<Content Include="bin\Debug\ico\lyf1.ico" />
<Content Include="bin\Debug\ico\lyf3.ico" />
<None Include="bin\Debug\ico\ThumbnailToolbar.bmp" />
<None Include="bin\Debug\LYFimages\playlist_center.bmp" />
<Content Include="bin\Debug\lyfEXE\LYFScanbin\Debug\lyf3.ico" />
<Content Include="bin\Debug\lyfEXE\LYFScanbin\Debug\LYFScan.exe" />
<Content Include="bin\Debug\lyfEXE\LYFScanbin\Debug\LYFScan.pdb" />
<Content Include="bin\Debug\lyfEXE\LYFScanbin\Debug\LYFScan.vshost.exe" />
<Content Include="bin\Debug\LyfMusic\易欣 - 一天爱一点.mp3" />
<Content Include="bin\Debug\LyfMusic\昨日重现-Yes.mp3" />
<Content Include="bin\Debug\LYFPicture\0.jpg" />
<Content Include="bin\Debug\LYFPicture\1.jpg" />
<Content Include="bin\Debug\LYFPicture\2.jpg" />
<Content Include="bin\Debug\LYFPicture\3.jpg" />
<Content Include="bin\Debug\LYFPicture\4.jpg" />
<Content Include="bin\Debug\LYFPicture\5.jpg" />
<Content Include="bin\Debug\LYFPicture\6.jpg" />
<Content Include="bin\Debug\LYFPicture\7.jpg" />
<Content Include="bin\Debug\LYFPicture\8.jpg" />
<Content Include="bin\Debug\lyf说明.html" />
<Content Include="bin\Debug\tyyykw.wav" />
</ItemGroup>
<ItemGroup>
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
</ItemGroup>
<ItemGroup>
<Folder Include="bin\Debug\lyfEXE\LYFScanbin\Release\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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>
2010的工程文件--------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1765E0E8-D447-4C60-A7CD-05EECC79062F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WindowsFormsApplication1</RootNamespace>
<AssemblyName>WindowsFormsApplication1</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<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|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<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="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>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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>
=========================================================================================================
2013的配置文件:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="lyfMusicPlay.Properties.Settings.LYFDBConnectionString"
connectionString="Data Source=.;Initial Catalog=LYFDB;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
2010无配置文件

《LYFvs2013转vs2010》的更多相关文章

  1. 简单物联网:外网访问内网路由器下树莓派Flask服务器

    最近做一个小东西,大概过程就是想在教室,宿舍控制实验室的一些设备. 已经在树莓上搭了一个轻量的flask服务器,在实验室的路由器下,任何设备都是可以访问的:但是有一些限制条件,比如我想在宿舍控制我种花 ...

  2. 利用ssh反向代理以及autossh实现从外网连接内网服务器

    前言 最近遇到这样一个问题,我在实验室架设了一台服务器,给师弟或者小伙伴练习Linux用,然后平时在实验室这边直接连接是没有问题的,都是内网嘛.但是回到宿舍问题出来了,使用校园网的童鞋还是能连接上,使 ...

  3. 外网访问内网Docker容器

    外网访问内网Docker容器 本地安装了Docker容器,只能在局域网内访问,怎样从外网也能访问本地Docker容器? 本文将介绍具体的实现步骤. 1. 准备工作 1.1 安装并启动Docker容器 ...

  4. 外网访问内网SpringBoot

    外网访问内网SpringBoot 本地安装了SpringBoot,只能在局域网内访问,怎样从外网也能访问本地SpringBoot? 本文将介绍具体的实现步骤. 1. 准备工作 1.1 安装Java 1 ...

  5. 外网访问内网Elasticsearch WEB

    外网访问内网Elasticsearch WEB 本地安装了Elasticsearch,只能在局域网内访问其WEB,怎样从外网也能访问本地Elasticsearch? 本文将介绍具体的实现步骤. 1. ...

  6. 怎样从外网访问内网Rails

    外网访问内网Rails 本地安装了Rails,只能在局域网内访问,怎样从外网也能访问本地Rails? 本文将介绍具体的实现步骤. 1. 准备工作 1.1 安装并启动Rails 默认安装的Rails端口 ...

  7. 怎样从外网访问内网Memcached数据库

    外网访问内网Memcached数据库 本地安装了Memcached数据库,只能在局域网内访问,怎样从外网也能访问本地Memcached数据库? 本文将介绍具体的实现步骤. 1. 准备工作 1.1 安装 ...

  8. 怎样从外网访问内网CouchDB数据库

    外网访问内网CouchDB数据库 本地安装了CouchDB数据库,只能在局域网内访问,怎样从外网也能访问本地CouchDB数据库? 本文将介绍具体的实现步骤. 1. 准备工作 1.1 安装并启动Cou ...

  9. 怎样从外网访问内网DB2数据库

    外网访问内网DB2数据库 本地安装了DB2数据库,只能在局域网内访问,怎样从外网也能访问本地DB2数据库? 本文将介绍具体的实现步骤. 1. 准备工作 1.1 安装并启动DB2数据库 默认安装的DB2 ...

  10. 怎样从外网访问内网OpenLDAP数据库

    外网访问内网OpenLDAP数据库 本地安装了OpenLDAP数据库,只能在局域网内访问,怎样从外网也能访问本地OpenLDAP数据库? 本文将介绍具体的实现步骤. 1. 准备工作 1.1 安装并启动 ...

随机推荐

  1. jmeter里json path postprocessor的用法

    后置处理器添加 json path postprocessor. 用处: 当前接口响应返回的json中提取内容,作为变量可以在不同的请求中传递. 如下,从登陆接口返回的json中提取user id,变 ...

  2. css的三种引入方式、常用的元素选择器以及css三大特性

    第一.html文件中如何使用css html文件中使用css有3种方式:链接式.嵌入式.行内式,推荐使用程度依次递减:1.链接式:在html文件通过<link />标签引入,rel属性值必 ...

  3. 给Linux添加google搜索命令

    一次面试时,面试官问怎么在终端直接做到在百度搜索自己的名字,当时没回答出来,面试官给了提示,问http协议.答案是说telnet连接www.baidu.com之后GET 昨天偶然看到一篇博客,http ...

  4. (转载)uefi启动解析:由原理到实例

    这是本文的全部内容:A:什么是UEFI,其含义B:UEFI模块包含的文件逐个分析及其引导流程+ESP分区的本质C:判断自己的机器是X64(64 bit)构架还是IA32(32 bit)的构架D:给传统 ...

  5. Scala学习---映射和元祖

    1.设置一个映射,其中包含你想要的一些装备,以及他们的价格.然后构建另一个映射,采用同一组键,但在价格上打9折. scala> val map = Map("a"->1 ...

  6. .NET架构师

    闲话不多扯,关于.NET架构师的培训  架构师的知识体系总结:7大重点,对7大重点作为细节的阐述将再后面陆续展开!架构师的体系纲领主要来着这7点.(必须严格记下) 1:现代软件开发过程及架构策略 1. ...

  7. 浅谈position: absolute和position:relative

    一.在此先说一下文档流的概念: 1,文档流定义: 百度百科定义:文档流是文档中可显示对象在排列时所占用的位置. 大多网友的理解:元素的位置由元素在 (X)HTML 中的位置决定.将窗体自上而下分成一行 ...

  8. Android设置对话框去除黑边

    在res/values/styles.xml文件中添加如下内容 <style name="dialog" parent="@android:style/Theme. ...

  9. SOCKET的一些注意事项

    1. 如果采用同步处理,其实,是可以多次接受数据的, MemoryStream ms = new MemoryStream();    while (true)   {     Console.Wri ...

  10. [CSS备忘] css3零散

    -webkit-overflow-scrolling:touch;下拉滚动回弹