开发者

Error while deploying asp.net website!

开发者 https://www.devze.com 2022-12-12 13:05 出处:网络
Line 108:<compilers> Line 109:<compiler language=\"c#;cs;csharp\" extension=\".cs\" warningLevel=\"4\" type=\"Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, Pu
Line 108:    <compilers>
Line 109:      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Line 110:        <providerOption name="CompilerVersion" value="v3.5"/>
Line 111:        <providerOption name="WarnAsError" value="false"/>
Line 112:      </compiler>

Could we recompile the project using .NET Framework Version 2.0.5072开发者_JAVA技巧7, as 3 or 3.5 frameworks aren't on our production server? I developed it in vs2008


It depends on whether you have used any of the 3.0/3.5 goodness; implicit typing, Linq et al.

Kindness,

Dan


There is no need to use VS2005, just open the project properties dialog and change the "Target Framework" back to ".NET Framework 2.0" to make use of VS2008's multi-targeting functionality. As Daniel has mentioned, your project wont compile if you have used any features from the newer .NET versions.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号