Yeah,

Being fairly new to NHibernate I didn't know any different ... and
hadn't figured out the best way to generate the libraries outside of a
release.  But there were changes I needed and I spent quite a while
chasing down things caused by this ... I probably didn't read enough
to catch this before I got way down the path ... so maybe somebody
else will catch this post and save themselves the same trouble.  :)

Thanks

dbl

On Dec 19, 4:36 pm, Stephen Bohlen <[email protected]> wrote:
> Building from inside VS is *not* a 'supported' way to produce NH binaries
> for subsequent use in other projects.  As you have discovered, there are
> several differences in the compilation process, etc. between the NANT
> scripts (what is really being invoked by the ShowBuildMenu.bat process) and
> the settings inside the sln and csproj files that the VS-based
> compile-build cycle is responding to.
>
> Its best to consider a VS-initiated build as pretty much only
> useful/trustworthy for the sake of running unit tests and to consider the
> NANT-based builds to be the 'authoritative' way to provide
> 'externally-usable' NH binaries (either for official release or for your
> own 'private' use as 'trunk build').  There are several differences between
> what MSBUILD is doing and what NANT is doing and while you could pick
> through them one at a time to discover all the nuances, my recommendation
> is just to rely upon the 'appropriate' build process for the matching
> need(s) you have and to ensure that you're using the NANT scripts if you
> want to produce 'consumable' binaries for your own needs.
>
> Hope this helps,
>
> Steve Bohlen
> [email protected]http://blog.unhandled-exceptions.comhttp://twitter.com/sbohlen
>
>
>
>
>
>
>
> On Mon, Dec 19, 2011 at 6:24 PM, DBLWizard <[email protected]> wrote:
> > Howdy,
>
> > Has anybody encountered this issue?  if you use the "ShowBuildMenu" to
> > build the NHibernate libraries it builds differently than if you open
> > the NHibernate.Everything.sln and build.  When I build with the
> > ShowBuildMenu then everything is fine.  But when I build with solution
> > file I get issue raised in the following link:
>
> >http://groups.google.com/group/nhibernate-development/browse_thread/t...
>
> > Does anybody have any thoughts?
>
> > Thanks
>
> > dbl
> > I

Reply via email to