Building the solution & debugging NHibernate source

226 views
Skip to first unread message

art

unread,
Jan 2, 2013, 10:08:49 AM1/2/13
to nhu...@googlegroups.com
I really need to be able to step into the NH source in order to debug an issue I have.

I have d/led the source from GitHub but am trying to get my head around the build process. I have read the readme and tried to follow the commands - are they out of date? It complains that "clean" is not a valid target, via sample build commands.txt:

NAnt clean build >output-debug-build.log

running

NAnt build >output-debug-build.log

yields: 

BUILD FAILED

External Program Failed: C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe (return code was 1)

Is this also supposed to digitally sign the binary? I ask because i tried simply compiling, but of course there is no AssemblyInfo.cs or digital signature. When I add to me project i have dependencies on the sig.

Any other quick solutions around to help me debug NH? I don't fancy forking out $245 for .net reflector.

Thanks

Oskar Berggren

unread,
Jan 2, 2013, 10:17:50 AM1/2/13
to nhu...@googlegroups.com
Option 1: Use an official release build WITH NHibernate.pdb PRESENT)
and the corresponding official source package from sourceforge.

Option 2: Official build with sources from github - make sure to
checkout the tag corresponding to the build.

Option 3: Custom build. Start with ShowBuildMenu.bat. Probably you
want to use the 3.3.x branch instead of master (as the latter is not
released yet). Maybe you even want to use a release tag instead of the
3.3.x branch, as that too contains unreleased changes.


/Oskar


2013/1/2 art <alasta...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/nhusers/-/gpg0kUmwpq4J.
> To post to this group, send email to nhu...@googlegroups.com.
> To unsubscribe from this group, send email to
> nhusers+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
Reply all
Reply to author
Forward
0 new messages