Web.config changes 2.0 to 4.0

Web.config snippets…

Upgrading to .NET4.0

Upgrading a super simple c# project from 2.0 to 4.0 gave me this simple change in web.config:

<!-- 2.0 (Before/Find) -->
<compilation debug="true"></compilation>
<!-- 4.0 (Arfter/Replace) -->
<compilation debug="true" targetFramework="4.0"/>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>

Debugging SP2010


 <SafeMode CallStack="true" AllowPageLevelTrace="true">
 <customErrors mode="Off" />
 <compilation debug="true">

The end.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: