编译器错误消息: 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的时候,如下如下错误: 说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改...

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;解决办法 报错图片: 解决:                         ...

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

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

解决win8及8.1安装mysql等msi类型文件2503,2502的问题

当我们在装较大型软件的时候总会遇到一些问题,尤其是win8或者更高window系统。最近由于换电脑需要重新安装mysql,好不容易下载安装版,结果提示我不能安装,于是我就开始了网上搜寻资料的问题,下面...

ISO15765-1-2-3-4全套中文

  • 2017年02月04日 11:31
  • 17.67MB
  • 下载

ISO10373-1\2\3\5部分

  • 2011年11月17日 12:54
  • 1.64MB
  • 下载

戴尔服务器r530 windows server 2012 r2 安装无法找到install.wim 错误代码0x80070026,以及制作U启动盘决解ISO文件超过5G大小限制的解决方案

戴尔服务器r530 windows server 2012 r2 安装无法找到install.wim 错误代码0x80070026,以及制作U启动盘决解ISO文件超过5G大小限制的解决方案 ...

ISO7816-1-2-3-4 完全中文版

  • 2017年09月12日 14:57
  • 462KB
  • 下载

openCV 学习笔记1, (tbb_debug错误, 学习opencv 例2-1, 2-2, 2-3, 2-4, 2-5, 2-6, 2-7, 2-8,22-9,2-0)

openCV心得(1) 资料《学习openCV》第二章主要介绍了一些比较常见以及有意思的函数和数据类型,让初步入门的学生对图像处理更有兴趣,虽然对函数的内在实验不明白,一些定义的常量的含义也不是很清...

RAD Studio XE2 v16.0 ISO镜像文件下载 Update4 Hotfix 1(附破解) 百度云盘

百度云盘地址http://pan.baidu.com/s/1c0czCPy win7 64位可以用 安装程序为“delphicbuilder_xe2_4504_win.rar”里的i...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:编译器错误消息: CS1617: 选项“6”对 /langversion 无效;必须是 ISO-1、ISO-2、3、4、5 或 Default
举报原因:
原因补充:

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