开发者

Error while deploying asp.net website!

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜