Error in Wizard

10 posts, 0 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 03 Dec 2010 Link to this post

    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.

  2. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 06 Dec 2010 Link to this post

    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.
  3. DevCraft banner
  4. Makoto
    Makoto avatar
    19 posts
    Member since:
    Aug 2010

    Posted 12 Dec 2010 Link to this post

    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.
  5. Makoto
    Makoto avatar
    19 posts
    Member since:
    Aug 2010

    Posted 12 Dec 2010 Link to this post

    -- Double posted as a result of the site throwing an exception the first time --
  6. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 15 Dec 2010 Link to this post

    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.
  7. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 13 Mar 2011 Link to this post

    Hi Zoran,

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

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

    Erik
  8. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 16 Mar 2011 Link to this post

    The update Q1 2011 solved this problem. 

    Wizard is mutch better!

    Thanks!
  9. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 16 Mar 2011 Link to this post

    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!
  10. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008
  11. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 16 Mar 2011 Link to this post

    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!
Back to Top
DevCraft banner