Build errors after setting assembly version on SchemaImporter project

Posts   
 
    
mattc
User
Posts: 10
Joined: 20-May-2008
# Posted on: 20-May-2008 23:04:57   

Hello everyone,

I am trying to set up a web service project using LLBLGen. Here's a brief rundown of what the solution looks like (Visual Studio 2005).

-- App project (business logic goes here) -- Web Service project -- llblgen DAL and DALDBSpecific (using adapter, obv.) -- MBUnit test project (probably irrelevant)

EDIT: I am using LBLGen Pro 2.5 Final

So, I wanted to try passing in my strongly typed objects to the webservices, and went through all the steps in the ".NET 2.0 specific: Schema importers" section of the help file.

Everything is great, and it works exactly as expected.

However, building the solution (Ctrl+Shift+B, hereafter referred to as "CSB" for brevity) no longer works. My App and Test projects now have broken references to the EntityClasses, FactoryClasses, etc. Doing a "Rebuild Solution" works fine.

This seemed to break right when i set a version on the assembly, e.g. before I tried to follow all the ".NET 2.0 specific: Schema importers" steps with my adapter project everything was fine.

I change the tasks to now output the SchemaImporter project. I do CSB, build is fine. I use "add existing project" to add the SchemaImporter project into the solution. I do CSB, build is fine. I set the Assembly Version. I do CSB, and it no longer works.

I realize this isn't a big deal, and if it was just me working on this project I wouldn't care (I already remapped Ctrl+Shift+R to do "rebuild solution"), but I don't want someone else pulling it out of source control, trying to build and have it not work.

I'm sure it's something pretty elemental, possibly to do with build order and dependencies, but it looks ok at first glance.

Any help would be greatly appreciated.

Thanks in advance,

Matt

mattc
User
Posts: 10
Joined: 20-May-2008
# Posted on: 20-May-2008 23:21:56   

Never mind. Seems if I run "Clean Solution" it seems to be fine after that.

Thanks anyway!