H
HaukiDog
Hi,
I am trying to set up my C# web project to be compiled by NANT.
Everything compiles and works fine within the IDE. I have a created a
NANT build file which has a simple project tag, like this:
<?xml version="1.0" ?>
<project name="MyProject" default="build" basedir=".">
<description>The Hello World of build files.</description>
<property name="debug" value="true"/>
<property name="bin_directory" value="bin"/>
<target name="clean" description="remove all generated files">
<delete dir="${bin_directory}" failonerror="true"
verbose="true"/>
</target>
<target name="build" description="compiles the source code"
depends="clean">
<solution configuration="release">
<projects>
<includes name="MyProject.csproj" />
</projects>
</solution>
</target>
</project>
It gives me some errors on the building of resource files. Some work,
and some don't. I have been able to work around some files by just
deleting whatever info was shown in the resource editor. The error are
stuff like:
c:\MyProject\MyPage.aspx.resx
error: Invalid ResX input
I have not changed any of the resource files, they are the ones VS
generates. Does NANT use a different compiler then the IDE, seems so?
Does anyone have any idea what might be wrong.
Thanks!!!
Dave
I am trying to set up my C# web project to be compiled by NANT.
Everything compiles and works fine within the IDE. I have a created a
NANT build file which has a simple project tag, like this:
<?xml version="1.0" ?>
<project name="MyProject" default="build" basedir=".">
<description>The Hello World of build files.</description>
<property name="debug" value="true"/>
<property name="bin_directory" value="bin"/>
<target name="clean" description="remove all generated files">
<delete dir="${bin_directory}" failonerror="true"
verbose="true"/>
</target>
<target name="build" description="compiles the source code"
depends="clean">
<solution configuration="release">
<projects>
<includes name="MyProject.csproj" />
</projects>
</solution>
</target>
</project>
It gives me some errors on the building of resource files. Some work,
and some don't. I have been able to work around some files by just
deleting whatever info was shown in the resource editor. The error are
stuff like:
c:\MyProject\MyPage.aspx.resx
error: Invalid ResX input
I have not changed any of the resource files, they are the ones VS
generates. Does NANT use a different compiler then the IDE, seems so?
Does anyone have any idea what might be wrong.
Thanks!!!
Dave