I'm testing DO4 at version 4.4 beta1, and fund bug in Project Upgrade Tool.

Add References to DataObjects.Net assemblies does not work well. Look at image.

Steps to reproduce:

  1. Create new c# console project (simple, not from DO templates)
  2. Execute Project Upgrade Tool from VS2010 Tools menu
  3. Check Add References to DataObjects.Net assemblies checkbox and click OK

Now take a look at 3 References added to project, they have warning icon and after look at properties of those references, found that it does not point to valid location of assembly file.

Update1: Next interesting thing is that one reference is wrong at all not just its path - Xtensive.Core.Aspects which is added by upgrade tool but does not exists, instead of it file Xtensive.Aspects exists.

Update2: Next bug, upgrade tool does not convert old reference to "SessionManager" module in web.config Xtensive.Storage.Web.SessionManager, Xtensive.Storage to new value Xtensive.Orm.Web.SessionManager, Xtensive.Orm, i think this could be handled by tool.

asked Dec 09 '10 at 13:51

Peter%20%C5%A0ulek's gravatar image

Peter Šulek
492313236

edited Dec 14 '10 at 05:12

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

True - currently it does not specify <HintPath>. So to see these assemblies, you should install DO with installer or Install.bat with -r option.

If you haven't used installer, but use "Import DataObjects.Net.targets" option in Project Upgrade Tool (normally you need it), this also shouldn't matter (.target file also adds necessary folder to reference search paths).

(Dec 09 '10 at 18:47) Alex Yakunin Alex%20Yakunin's gravatar image

I used installer to install this v4.4 version. And also check "Import DataObjects.Net.targets" and result was it does not add "HintPath" to references. I can fix this manually by pointing path to folder c:\Program Files (x86)\DataObjects.Net\Bin\Latest\ right?

(Dec 10 '10 at 01:21) Peter Šulek Peter%20%C5%A0ulek's gravatar image

Take a look at updated bug, added Xtensive.Core.Aspects vs Xtensive.Aspects file referencee problem.

(Dec 11 '10 at 14:22) Peter Šulek Peter%20%C5%A0ulek's gravatar image

One Answer:

Thanks, Peter.

Will be fixed shortly. I've opened the issue #863

answered Dec 09 '10 at 14:39

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

Please fix this error in next release of 4.4 (Beta2?)

(Jan 14 '11 at 03:12) Peter Šulek Peter%20%C5%A0ulek's gravatar image
2

Done, the update will be available shortly.

(Jan 19 '11 at 11:13) Alex Yakunin Alex%20Yakunin's gravatar image

Waiting for it, thanks!

(Jan 19 '11 at 15:00) Peter Šulek Peter%20%C5%A0ulek's gravatar image

DataObjects.Net 4.3.7 & 4.4 beta 2 is released

(Jan 29 '11 at 04:23) Dmitri Maximov Dmitri%20Maximov's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×574
×10
×9
×1

Asked: Dec 09 '10 at 13:51

Seen: 5,161 times

Last updated: Jan 29 '11 at 04:23

powered by OSQA