编译器错误消息: CS1617: 选项“6”对 /langversion 无效;必须是 ISO-1、ISO-2、3、4、5 或 Default

原创 2016年06月02日 10:08:11

   用VS2015将.net Framework从版本4.5.0升级到4.5.2的时候,如下如下错误:

              说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 

               编译器错误消息: CS1617: 选项“6”对 /langversion 无效;必须是 ISO-1、ISO-2、3、4、5 或 Default


错误日志如下:



C:\Program Files (x86)\IIS Express> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\a6ef30f2\27f82d80_b6bbd101\Owin.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\14a94b01\f30ab979_b6bbd101\Microsoft.Owin.Host.SystemWeb.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\77ee5dbc\4903bf7c_b6bbd101\SqlToGraphite.Plugin.SqlServer.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\00966ec3\fc14047c_b6bbd101\Microsoft.Owin.Security.Twitter.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\3aa61ebe\8d7a887b_b6bbd101\Microsoft.Owin.Security.OAuth.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\65c4fb37\de72227c_b6bbd101\Microsoft.Owin.Security.Cookies.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\97e61ff3\907dfc79_b6bbd101\Microsoft.Owin.Security.Facebook.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\7e3f5e61\3da0267d_b6bbd101\WebGrease.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\bdb81b9a\5fa96d69_b6bbd101\log4net.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\c7a1dcbf\00cdd727_1ea1d101\MySql.Data.Entity.EF6.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Web.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Web.Infrastructure.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\f83e7792\c84bcecc_d4a9d101\Fleck.Tests.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\9273ab92\cb3d6d6f_b6bbd101\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\08484b2c\c4274469_b6bbd101\AdoNetTracer.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\63640b88\e21ac3a5_70bcd101\ConvertToFmtAndMiWithCppDLL.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\8c6b9e65\fa365477_b6bbd101\AssimpNet.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\e4f328f7\f24bde1a_208bd101\CloudRenderSocketFrame.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\58fe73c2\b309f97a_b6bbd101\Microsoft.Owin.Security.Google.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\4d88b5dd\65c40972_b6bbd101\System.Web.Helpers.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\83499c4f\c8e7a1b1_70bcd101\ModelBank.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\53d7f0f6\baec5669_b6bbd101\Microsoft.AspNet.Identity.EntityFramework.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\a91bf186\7f3c6969_b6bbd101\Antlr3.Runtime.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\32a13ae3\a5fdf893_70bcd101\MBProject.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\3c3c4b78\b1d10c72_b6bbd101\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\c752c126\1163e16a_b6bbd101\System.Web.Mvc.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\aac7c1a8\53ffe16a_b6bbd101\Microsoft.AspNet.Identity.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\45493433\00cdd727_1ea1d101\MySql.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\07943d11\004f0210_5477d101\nunit.framework.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\81c13edf\47b1ac93_70bcd101\SEA3D.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\1f333e35\bdc7518a_3799d101\BuffLibrary.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\732685fb\fcb1f16f_b6bbd101\System.Net.Http.Formatting.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\074c8d31\e2460d72_b6bbd101\System.Web.WebPages.Razor.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\6bd8a4c9\ac717569_b6bbd101\EntityFramework.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization.Data.SqlServerCe\3.5.0.0__89845dcd8080cc91\Microsoft.Synchronization.Data.SqlServerCe.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\0634676c\14cc6f71_b6bbd101\System.Web.Http.WebHost.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d599ea0d\ec6dc393_70bcd101\CloudRenderClient.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\abf33a1e\c4274469_b6bbd101\CubeBuild.JSRazor.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\74de271c\dfede06a_b6bbd101\System.Web.Razor.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d876b688\d905107a_b6bbd101\Microsoft.Owin.Security.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\b3281bc4\e6f20a7c_b6bbd101\SqlToGraphiteInterfaces.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\4ce23ec1\1b659078_b6bbd101\Microsoft.Owin.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\e2785c21\217d457b_b6bbd101\Newtonsoft.Json.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\2011d732\96245794_70bcd101\TopSdk.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\aabfa4ce\687a92cc_d4a9d101\Fleck.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d9b5aba9\6e350c72_b6bbd101\System.Web.WebPages.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\51fc6a3e\ad78e06a_b6bbd101\EntityFramework.SqlServer.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\488db4c4\82db0c70_b6bbd101\System.Web.Http.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\42ed72fe\aa39686a_b6bbd101\Microsoft.AspNet.Identity.Owin.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\1428403d\b2d2677b_b6bbd101\Microsoft.Owin.Security.MicrosoftAccount.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization.Data\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\7be56f93\8f42e8ff_3599d101\CloudRenderSocketShare.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\275d56be\f8b8cfd3_3799d101\CloudRenderSocketClientA.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\985ff223\218ae16a_b6bbd101\System.Web.Optimization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\e056bbe9\98efbd93_70bcd101\Aliyun.OSS.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d58389f7\00a317e7_30c1ce01\Microsoft.QualityTools.Testing.Fakes.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\58251afc\004f0210_5477d101\Moq.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\App_global.asax.waomyiim.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:4 /nowarn:1659;1699;1701;612;618 /langversion:6 /nowarn:1659;1699;1701  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\App_global.asax.waomyiim.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\App_global.asax.waomyiim.1.cs"

Microsoft (R) Visual C# Compiler version 4.6.0081.0


for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.


This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240


error CS1617: 选项“6”对 /langversion 无效;必须是 ISO-1、ISO-2、3、4、5 或 Default
C:\Program Files (x86)\IIS Express> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\a6ef30f2\27f82d80_b6bbd101\Owin.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\14a94b01\f30ab979_b6bbd101\Microsoft.Owin.Host.SystemWeb.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\77ee5dbc\4903bf7c_b6bbd101\SqlToGraphite.Plugin.SqlServer.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\00966ec3\fc14047c_b6bbd101\Microsoft.Owin.Security.Twitter.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\3aa61ebe\8d7a887b_b6bbd101\Microsoft.Owin.Security.OAuth.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\65c4fb37\de72227c_b6bbd101\Microsoft.Owin.Security.Cookies.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\97e61ff3\907dfc79_b6bbd101\Microsoft.Owin.Security.Facebook.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\7e3f5e61\3da0267d_b6bbd101\WebGrease.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\bdb81b9a\5fa96d69_b6bbd101\log4net.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\c7a1dcbf\00cdd727_1ea1d101\MySql.Data.Entity.EF6.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Web.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Web.Infrastructure.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\f83e7792\c84bcecc_d4a9d101\Fleck.Tests.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\9273ab92\cb3d6d6f_b6bbd101\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\08484b2c\c4274469_b6bbd101\AdoNetTracer.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\63640b88\e21ac3a5_70bcd101\ConvertToFmtAndMiWithCppDLL.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\8c6b9e65\fa365477_b6bbd101\AssimpNet.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\e4f328f7\f24bde1a_208bd101\CloudRenderSocketFrame.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\58fe73c2\b309f97a_b6bbd101\Microsoft.Owin.Security.Google.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\4d88b5dd\65c40972_b6bbd101\System.Web.Helpers.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\83499c4f\c8e7a1b1_70bcd101\ModelBank.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\53d7f0f6\baec5669_b6bbd101\Microsoft.AspNet.Identity.EntityFramework.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\a91bf186\7f3c6969_b6bbd101\Antlr3.Runtime.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\32a13ae3\a5fdf893_70bcd101\MBProject.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\3c3c4b78\b1d10c72_b6bbd101\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\c752c126\1163e16a_b6bbd101\System.Web.Mvc.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\aac7c1a8\53ffe16a_b6bbd101\Microsoft.AspNet.Identity.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\45493433\00cdd727_1ea1d101\MySql.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\07943d11\004f0210_5477d101\nunit.framework.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\81c13edf\47b1ac93_70bcd101\SEA3D.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\1f333e35\bdc7518a_3799d101\BuffLibrary.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\732685fb\fcb1f16f_b6bbd101\System.Net.Http.Formatting.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\074c8d31\e2460d72_b6bbd101\System.Web.WebPages.Razor.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\6bd8a4c9\ac717569_b6bbd101\EntityFramework.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization.Data.SqlServerCe\3.5.0.0__89845dcd8080cc91\Microsoft.Synchronization.Data.SqlServerCe.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\0634676c\14cc6f71_b6bbd101\System.Web.Http.WebHost.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d599ea0d\ec6dc393_70bcd101\CloudRenderClient.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\abf33a1e\c4274469_b6bbd101\CubeBuild.JSRazor.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\74de271c\dfede06a_b6bbd101\System.Web.Razor.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d876b688\d905107a_b6bbd101\Microsoft.Owin.Security.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\b3281bc4\e6f20a7c_b6bbd101\SqlToGraphiteInterfaces.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\4ce23ec1\1b659078_b6bbd101\Microsoft.Owin.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\e2785c21\217d457b_b6bbd101\Newtonsoft.Json.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\2011d732\96245794_70bcd101\TopSdk.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\aabfa4ce\687a92cc_d4a9d101\Fleck.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d9b5aba9\6e350c72_b6bbd101\System.Web.WebPages.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\51fc6a3e\ad78e06a_b6bbd101\EntityFramework.SqlServer.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\488db4c4\82db0c70_b6bbd101\System.Web.Http.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\42ed72fe\aa39686a_b6bbd101\Microsoft.AspNet.Identity.Owin.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\1428403d\b2d2677b_b6bbd101\Microsoft.Owin.Security.MicrosoftAccount.dll" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization.Data\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\7be56f93\8f42e8ff_3599d101\CloudRenderSocketShare.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\275d56be\f8b8cfd3_3799d101\CloudRenderSocketClientA.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\985ff223\218ae16a_b6bbd101\System.Web.Optimization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\e056bbe9\98efbd93_70bcd101\Aliyun.OSS.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\d58389f7\00a317e7_30c1ce01\Microsoft.QualityTools.Testing.Fakes.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\assembly\dl3\58251afc\004f0210_5477d101\Moq.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\App_global.asax.waomyiim.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:4 /nowarn:1659;1699;1701;612;618 /langversion:6 /nowarn:1659;1699;1701  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\App_global.asax.waomyiim.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\b2495758\ac20ac4e\App_global.asax.waomyiim.1.cs"




Microsoft (R) Visual C# Compiler version 4.6.0081.0

for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.

This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240


error CS1617: 选项“6”对 /langversion 无效;必须是 ISO-1、ISO-2、3、4、5 或 Default


解决方法:

将解决方案中的Web.config中的 /langversion 的值改为指定的值,既可以解决,我这里采用的是默认值,Default

版权声明:本文为博主原创文章,未经博主允许不得转载。

编译器错误消息: CS1617: 选项“6”对 /langversion 无效;必须是 ISO-1、ISO-2、3、4、5 或 Default

用VS2015将.net Framework从版本4.5.0升级到4.5.2的时候,如下如下错误: 说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改...
  • reidcheng
  • reidcheng
  • 2016年07月07日 13:20
  • 7559

Python学习笔记(一)

一、基本语法 1、raw_input()取的内容永远以字符串的形式返回 2、“”和’'的一个区别是      “This’s a test!” √      ’This’s a test!’ ×   ...
  • sfh366958228
  • sfh366958228
  • 2015年02月03日 14:38
  • 1372

Compiler Error Message: CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 o

CS1617: Invalid option '6' for /langversion;解决办法 报错图片: 解决:                         ...
  • u011511086
  • u011511086
  • 2016年09月19日 09:46
  • 1119

iOS 将http%3A%2F%2F解析为URL

NSString *str = @"http%3A%2F%2Fmyimg.ifeng.com%2F200%2F22%2F8a941d71c4df48a5%2F1418632228%2F8a941d71...
  • worldzhy
  • worldzhy
  • 2014年12月15日 17:37
  • 9442

【蓝桥第二周】01背包问题

01背包问题 题目描述 Description     有N件物品和一个容量为V的背包。第i件物品的重量是w[i],价值是v[i]。 求解将哪些物品装入背包可使价值总和最大。 输入描述 Inpu...
  • c18219227162
  • c18219227162
  • 2015年12月19日 23:21
  • 229

hdu 1166 敌兵布阵——(区间和)树状数组/线段树

这就是一个区间求和问题,可以用树状数组来做: 在此之前,需要了解一下按位与运算符——&;计算的规则是,仅当两个数都为真,则结果为真。 例如 90&45==8——————因为 在二进制中 0101 1...
  • stffer
  • stffer
  • 2015年08月12日 08:39
  • 616

编译器? 求解两数运算?

这个问题也不算新鲜了,换一种方式提问就是"如何不用 + - * / 运算符,来求解两元素之和"的问题;大家很自然的回想起利用位运算。在数字电路中,我们都遇到过设计“加法器”的问题,利用位与、或、非、异...
  • gggg_ggg
  • gggg_ggg
  • 2015年08月26日 10:50
  • 763

Rxjava +Retrofit 你需要掌握的几个技巧,Retrofit缓存,RxJava封装,统一对有无网络处理,异常处理, 返回结果问题

本文出处 :Tamic 文/ http://blog.csdn.net/sk719887916/article/details/52132106( HTTP 504 Unsatisfiable ...
  • sk719887916
  • sk719887916
  • 2016年08月05日 19:49
  • 14693

js正则表达式之$1$2$3$4$5$6$7$8$9属性,返回子匹配的结果

功能:$1-$9存放着正则表达式中最近的9个正则表达式的匹配结果,这些结果按照子匹配的出现顺序依次排列。  基本语法RegExp.$n  注意:这些属性是静态的,除了replace中的第二...
  • ywb201314
  • ywb201314
  • 2015年11月21日 21:18
  • 1514

matlab的mbuild和mex之未找到支持的编译器或 SDK 解决方法--整理

=========================================================================================== 解决方法:安装...
  • chenzhen1080
  • chenzhen1080
  • 2016年11月17日 14:27
  • 10033
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:编译器错误消息: CS1617: 选项“6”对 /langversion 无效;必须是 ISO-1、ISO-2、3、4、5 或 Default
举报原因:
原因补充:

(最多只允许输入30个字)