Page 1 of 1

VS11 vs DevArt = Fail on embedding model resources on build

Posted: Thu 05 Apr 2012 11:42
by Alladin
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?

Posted: Fri 06 Apr 2012 14:25
by Shalex
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.

Posted: Thu 12 Apr 2012 15:31
by Shalex
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.

Posted: Thu 26 Apr 2012 15:07
by Shalex
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 .

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

Posted: Thu 10 May 2012 08:44
by Alladin
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?

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

Posted: Fri 11 May 2012 13:42
by Helen
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.

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

Posted: Fri 11 May 2012 16:05
by Alladin
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.

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

Posted: Mon 14 May 2012 08:49
by Helen
We have fixed the issue. We will notify you when corresponding build of dotConnect for Oracle is available for download.