VS11 vs DevArt = Fail on embedding model resources on build

VS11 vs DevArt = Fail on embedding model resources on build

Postby Alladin » Thu 05 Apr 2012 11:42

Hello,

Just installed a fresh VS11 Ultimate Beta with fresh DevArt components.

After defining some simple model for my asp.net app, I'm getting an exception - Unable to load the specified metadata resource.

After some research I've found, that resources specified in connection string are not embedded during build process.

Anyone can help?
Alladin
 
Posts: 149
Joined: Mon 27 Nov 2006 16:18

Postby Shalex » Fri 06 Apr 2012 14:25

Thank you for your report. We have reproduced the problem with DevartEntityDeploy. We will post here when it is fixed.

As a workaround, please set the Metadata Artifact Processing property of your model to CopyToOutPutDirectory but generate the *.csdl, *.ssdl, *.msl, *.edps files using a standalone Entity Developer.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44

Postby Shalex » Thu 12 Apr 2012 15:31

Please move the Custom.After.Microsoft.Common.targets file from the "c:\Program Files\MSBuild\4.0\" folder to "c:\Program Files\MSBuild\v4.0\". This should fix the problem.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44

Postby Shalex » Thu 26 Apr 2012 15:07

The bug with metadata processing in Visual Studio 11 Beta is fixed in the new (6.80.350) build of dotConnect for Oracle which is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=23996 .
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44

Re: VS11 vs DevArt = Fail on embedding model resources on bu

Postby Alladin » Thu 10 May 2012 08:44

I'm using VS11 Beta on Windows 8 Consumer Preview. It has no .NET Framework 2.0/3.0/3.5 installed.

After installing fresh version of the Devart dotConnect, i'm getting following error:

The "DevartEntityDeploy" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Devart\v3.5\Devart.Data.Entity.Build.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. C:\Program Files (x86)\MSBuild\Devart\v3.5\Devart.Data.Entity.targets


How do I proceed?
Alladin
 
Posts: 149
Joined: Mon 27 Nov 2006 16:18

Re: VS11 vs DevArt = Fail on embedding model resources on bu

Postby Helen » Fri 11 May 2012 13:42

1) Make sure that the required assembly Devart.Data.Entity.Build.Tasks.dll is present in the C:\Program Files (x86)\MSBuild\Devart\v3.5\ folder.
2) If Devart.Data.Entity.Build.Tasks.dll is present in this location, create a test application, put Devart.Data.Entity.Build.Tasks.dll to its folder and try performing load assembly. If you get an Inner exception when doing this please send us its text.
Helen
Devart Team
 
Posts: 127
Joined: Wed 07 Sep 2011 11:54

Re: VS11 vs DevArt = Fail on embedding model resources on bu

Postby Alladin » Fri 11 May 2012 16:05

Inner exception is this:

Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Of course, there is no Microsoft.Build.Utilities, Version 2.0, because I don't have .NET 2.0 installed.

It seems, that support of .NET Framework 4 is not yet fully complete.
Alladin
 
Posts: 149
Joined: Mon 27 Nov 2006 16:18

Re: VS11 vs DevArt = Fail on embedding model resources on bu

Postby Helen » Mon 14 May 2012 08:49

We have fixed the issue. We will notify you when corresponding build of dotConnect for Oracle is available for download.
Helen
Devart Team
 
Posts: 127
Joined: Wed 07 Sep 2011 11:54


Return to dotConnect for Oracle