Indigo Lesson Learned: System.ServiceModel and Trust
Indigo's System.ServiceModel.dll assembly requires that it's callers be fully trusted. Installing SharePoint or other applications on a machine with the Indigo CTP may cause IIS to have its trust settings modified so that it does not run with full-trust.
Here is the error we were getting:
Error 1 Build (web):
System.ServiceModel, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089'
cannot be instantiated under a partially trusted security policy (AllowPartiallyTrustedCallersAttribute is not present on the target assembly).
The problem went away once we added <trust level="full"/> to the local config file.
More info on modifying trust settings for ASP.NET: