I have a c# .net solution that I am building with the <solution> task from the latest nightly build.  I’m registering the assembly output using regasm.exe from the 1.1 framework directory since that is what will happen on the target machine.  This has worked fine until I installed the 2.0 framework for a separate project.  I now cannot register the assemblies using the 1.1 regasm.exe.  I get an error saying the assembly is not a valid .net assembly unless I register it using the 2.0 regasm.exe.

 

The solution task builds the assemblies for the 2.0 framework even though I have set the default framework to net-1.1 in the nant config and I have set the property <property name="nant.settings.currentframework" value="net-1.1" /> in the build file.  The build output shows that the target framework is 1.1 but it seems like the solution task is using the latest framework anyway.  I would think the solution task should use the current target framework.

 

Is this a bug? Is there another setting to specify the framework for the solution task?

 

Thanks for your help.

Matt Hulse

[EMAIL PROTECTED]

 

Reply via email to