This is a migrated thread and some comments may be shown as answers.

Error in Wizard

9 Answers 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Erik
Top achievements
Rank 2
Erik asked on 03 Dec 2010, 08:45 PM

I've just updated to the new version of ORM 2010.3 1125

When i add a model using the wizard, on a new classes project (dll), on the last page of the wiard i get 
"the item you have selected is invalid. Would you like to choose another?"
after i choose "brose" button to select a project folder, select a folder and klik Ok.

does not matter what i choose, even nothing generates this messagebox.

I've just updated to the new version of ORM 2010.3 1125 (VS2010 VB)

When i add a model using the wizard, on a new classes project (dll), on the last page of the wiard i get

"the item you have selected is invalid. Would you like to choose another?"

after i choose "brose" button to select a project folder, select a folder and klik Ok.

does not matter what i choose, even nothing generates this messagebox.

9 Answers, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 06 Dec 2010, 03:19 PM
Hi Proovit,

 Yes, you are correct. We found this problem right after our internal build last week. We have fixed it and the fix will be available with the next build.
I am sorry for any inconvenience this might be causing you.

Regards,
Petar
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
0
Makoto
Top achievements
Rank 1
answered on 12 Dec 2010, 08:19 AM
Hi Petar,

Just out of curiosity, when can we expect the new build?

I'm going to be putting together a demo for my company comparing Entity Framework and OpenAccess, and one feature that I wanted to show off is being able to save the Entity classes into a separate project.  I'm able to accomplish this by using the Output to File folder option since the output to Project folder option doesn't seem to be working.

However, two problems I'm running into:

1.) It doesn't delete files if you delete an entity, and also doesn't automatically include new classes as part of the project.
2.) I specified one of the properties on my entity to Eager load, so it adds the attribute         [LoadBehavior(LoadBehavior.Eager)] to the property, however, in the auto-generated code, it doesn't have the proper using statement to import the namespace, so every time that file is updated (which is every time I make a change in the designer), I have to manually add the using statement.
0
Makoto
Top achievements
Rank 1
answered on 12 Dec 2010, 08:19 AM
-- Double posted as a result of the site throwing an exception the first time --
0
Zoran
Telerik team
answered on 15 Dec 2010, 05:40 PM
Hello Makoto,

 The code generation features are not intended to support your scenarios I must admit. You could have the classes in a separate folder but that folder should be a part of your current project, otherwise items of other projects are not deleted as you have seen yourself. The approach you have taken is a workaround I must say, but it is not something that we encourage you to do.

With regard of the using statements and the LoadBehavior attribute, I would like to thank you for helping us discover a bug. It is now fixed and your Telerik points have been updated for your input.

Regards,
Zoran
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
0
Erik
Top achievements
Rank 2
answered on 13 Mar 2011, 12:38 PM
Hi Zoran,

I got the 1306 build, but still the error appears...

Also the button "Add new folder does not do anything.."

Erik
0
Erik
Top achievements
Rank 2
answered on 16 Mar 2011, 05:09 PM
The update Q1 2011 solved this problem. 

Wizard is mutch better!

Thanks!
0
PetarP
Telerik team
answered on 16 Mar 2011, 05:26 PM
Hello Proovit,

Indeed the Project Selector was rewritten using WPF. It should be much smoother now and we are very happy you like it.
Please do not hesitate to contact us should you find any problems.

Best wishes,
Petar
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Erik
Top achievements
Rank 2
answered on 16 Mar 2011, 05:38 PM
0
Zoran
Telerik team
answered on 16 Mar 2011, 06:07 PM
Hi Proovit,

 I believe that the namespace issues you pointed are not actually problems but desired behavior as explained in your other forum post.

Best wishes,
Zoran
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Erik
Top achievements
Rank 2
Answers by
PetarP
Telerik team
Makoto
Top achievements
Rank 1
Zoran
Telerik team
Erik
Top achievements
Rank 2
Share this question
or