How to manually add .NET 3.5 assemblies to web.config to take advantage of 3.5 features
I was able to remove the delegate statement for Func and got the import
of the System namespace to work by adding the following to my
web.config file: <system.web><compilation>
<assemblies>
<add assembly=”System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089″/>
<add assembly=”System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089″/>
</assemblies>
</compilation>
</system.web>
I got this information from the following posting:
http://forums.asp.net/t/1186042.aspx
I’m not using Visual Studio 2008 which I assume would have done all
this for me automatically. It’s interesting that I can’t find a file
named “system.core.dll” in any folder under “windows\Microsoft.NET”.Thank you,
John
No comments yet.





RSS feed