Cannot compile with WPF

Nov 21, 2009 at 7:49 AM

Hi,

As soon as adding a new WPF project to the solution of DLR i am geeting alot of errors

Error 1 Friend access was granted to 'System.Core, PublicKey=00000000000000000400000000000000', but the output assembly is named 'System.Core, Version=0.9.6.20, Culture=neutral, PublicKeyToken=null'. Try adding a reference to 'System.Core, PublicKey=00000000000000000400000000000000' or changing the output assembly name to match.

Error 2 Warning as Error: The predefined type 'System.Linq.Expressions.ElementInit' is defined in multiple assemblies in the global alias; using definition from 'C:\DLR-0.92-Src\Codeplex-DLR-0.92\Src\Runtime\Microsoft.Scripting.Core\Ast\ElementInit.cs'

I am using VS.NET 2010 Beta2

Thanks in advance

Coordinator
Dec 3, 2009 at 11:10 PM

The inner-layer of the DLR (Microsoft.Scripting.Core) is already included in VS.NET 2010 beta 2 so you shouldn’t be doing anything with Microsoft.Scripting.Core.  It looks like we still include it in the Codeplex-DLR-Dev10.sln though which is probably why you get the errors.  You should be able to just delete the project from the solution.

From: tomix1980 [mailto:notifications@codeplex.com]
Sent: Friday, November 20, 2009 11:50 PM
To: Dino Viehland
Subject: Cannot compile with WPF [dlr:75788]

From: tomix1980

Hi,

As soon as adding a new WPF project to the solution of DLR i am geeting alot of errors

Error 1 Friend access was granted to 'System.Core, PublicKey=00000000000000000400000000000000', but the output assembly is named 'System.Core, Version=0.9.6.20, Culture=neutral, PublicKeyToken=null'. Try adding a reference to 'System.Core, PublicKey=00000000000000000400000000000000' or changing the output assembly name to match.

Error 2 Warning as Error: The predefined type 'System.Linq.Expressions.ElementInit' is defined in multiple assemblies in the global alias; using definition from 'C:\DLR-0.92-Src\Codeplex-DLR-0.92\Src\Runtime\Microsoft.Scripting.Core\Ast\ElementInit.cs'

I am using VS.NET 2010 Beta2

Thanks in advance

Read the full discussion online.

To add a post to this discussion, reply to this email (dlr@discussions.codeplex.com)

To start a new discussion for this project, email dlr@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com