wp7 beta fork compilation error

Aug 6, 2010 at 10:04 PM
Attempted to compile the 8/4/2010 drop of the wp7 beta fork by Anand. Got following nasties (see way below). Tim Heuer type fix ( http://timheuer.com/blog/archive/2010/04/29/windows-phone-tools-update-april-2010-silverlight-xna.aspx ) did not work, error continued. Gonna be ugly if we have to do this to all signed assemblies in the future. Using devtools from 2010/07/20 build. Will try on later build sometime this weekend and will try on basic beta tools box once I get one setup. --- build barf --- Error 1 The "ValidateXaml" task failed unexpectedly. System.IO.FileLoadException: Could not load file or assembly 'file:///C:\dev\WP7\Foursquare.2010.0804\References\Layout\System.Windows.Controls.Layout.Toolkit.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'file:///C:\dev\WP7\Foursquare.2010.0804\References\Layout\System.Windows.Controls.Layout.Toolkit.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
Aug 8, 2010 at 9:19 PM

During a separate dialog w @billreiss, we tried 'unblocking' the DLL on one of his projects for a deployment.  Didn't work on his, but DID WORK on 4square for wp7. 

Instructions to 'unblock' a 'blocked' dll can be found here http://www.izenda.com/Site/KB/FAQ/How-to-unblock-your-dll-under-windows-7 (not my post).

Still haven't worked out the issues for Bill, but I can now get the 4square fork to compile.  Will deploy to physical wp7 device shortly.