Title: Build error when using <Solution> task

I am using Nant 0.84 version to build my solution file.
The solution contains some .cs files and .resx files.
It complies fine without any error within the IDE.

But when I use nant to build the solution I get the following error:

error: Invalid ResX input.
 1 error(s).
BUILD FAILED
External Program Failed: C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\bin\resgen.exe (return code was -1163019603)

My build file looks like this:

<?xml version="1.0" ?>
<project name="Encore" default="build">
        <property name="configuration" value="debug" />
        <!--<property name="nant.settings.currentframework" value="net-1.1" />-->
        <target name="build">
                <solution configuration="${configuration}" solutionfile="SystemFrameworks.sln">
                        <referenceprojects>
                                <includes name="..\log4net\log4net.csproj" />
                        </referenceprojects>
                </solution>
        </target>
</project>

Also, when I try to use the .NET Framework 1.1, it does not like it.
I always get the following error:

The SDK for the net-1.1 framework is not available or not configured.

Please suggest.

Thanks in advance.

Nitin Agarwal


Reply via email to