While running a simple nmaven build in the debugger I came to realize org.apache.maven.dotnet.extensions.compiler.CShaprClassCompiler#getCommands() doesn't do anything with the /pdb or /debug options of csc. Furthermore I didn't see any ability to pass in additional compiler arguments.
I have therefore concluded that the 0.16-SNAPSHOT version of nmaven simply doesn't currently support creation of pdb files.
Unfortunately, I don't currently have the time to dedicate to solving this and a what appears to be a multitude of other nmaven issues. From a review of the JIRA issues it seems even the 0.14-SNAPSHOT code is extremely buggy. Sadly, I think I'm going to have to punt and look into an ant/nant/msbuild/ivy solution until nmaven matures a bit more.
--- On Tue, 10/14/08, James Carpenter <
jcarpenter621@...> wrote:
> From: James Carpenter <
jcarpenter621@...>
> Subject: pdb files
> To:
nmaven-dev@...
> Date: Tuesday, October 14, 2008, 11:57 AM
> How do I configure a module being built by the nmaven trunk
> version of nmaven to produce pdb files?
>
> On a related note, will they be considered as attached
> artifacts or will I need to use build-helper:attach-artifact
> to do that?