StrataFrame Forum

BO's not showing up in Designer after upgrade to 1.6

http://forum.strataframe.net/Topic7048.aspx

By Justin Buist - 2/21/2007

I installed 1.6 the other day and I've got the project compiling and running but from within the designer I'm unable to select any of my BO's as a datasource now.



They show up within the StrataFrame Business Object Mapper, just not in designer.



Any idea what I've done wrong here?
By Trent L. Taylor - 2/21/2007

If the BOs don't show up automatically, you might try cleaning the solution by right-clicking the solution and then click Clean and then right-click the solution again and click Rebuild.  You may also need to get out of VS and come back in....this a Visual Studio thing.  They should appear like this:

By Justin Buist - 2/21/2007

I gave that a shot, twice, and it didn't work. I did remember to use 'Rebuild' and not 'Build' too. I remember seeing a post about that somewhere on here and it making a difference.



Here's what I see: http://forum.strataframe.net/Attachment380.aspx
By Trent L. Taylor - 2/21/2007

Are you putting your BOs in the GAC?
By Justin Buist - 2/21/2007

Nope. I've got a 'BusinessObjects' project and my Web Application project in the same solution with the Web Application project referencing BusinessObjects.



It was all working fine with 1.5, and the app still runs. I'm just trying to figure out why that drop-down isn't getting populated.



Seems like a silly issue, but so far I've found it to be the best way for me to check my object/method names when a page blows up and I'm unable to determine which control caused it.
By Trent L. Taylor - 2/21/2007

Try deleting and re-adding your reference to the project.  When you do this, rebuild your solution then get out of Visual Studio and come back in.  See if it works after this has been done.
By Justin Buist - 2/21/2007

- Delete Reference

- Add Reference

- Rebuild Solution (catch filesystem error... can't copy over top of existing .xml files in \bin directory)

- Shutdown VS

- Manually delete offending .XML files (BusinessObjects.xml and OLEM.xml)

- Restart VS

- Rebuild Solution (clean)

- Restart VS

- Rebuild solution (clean)



Still not there.



When the wizard-ish dialog comes up and says it's searching for Business Objects where exactly is it looking?
By Trent L. Taylor - 2/21/2007

It uses the DTE and reflection....so Visual Studio cannot see the BOs class library when searching within this project.  This is generally a caching issue and is resolved by changing references and getting out and coming back in.  If it is a sample project you can post it or send me a PM and I will take a look and see where the problem is.
By Justin Buist - 2/22/2007

It looks like we're just going to revert back to the 1.5.1 framework for this project and run with 1.6 from the very beginning on the next one.



Thanks for the help.