nant - what is the right way to reference?

A

arro239

i've instaled nant and nunit

but

<csc target="exe" output="bin/Simple.exe" debug="${debug}">

<references>
<include name="nunit.framework.dll" />
<include name="nunitforms.dll" />
</references>

<sources>
<include name="**/*.cs" />
</sources>

</csc>

does not locate the DLLs until i copy them to the project folder -
which is nasty

what is the right way to reference in nant? what am i doing wrong? i've
tries GACutil - but both DLLs are already in GAC
 
M

Michael Nemtsev

Hello arro239,

Are u talking about nant dlls?
just specify the full path to them

of use the parametrize value to set the path in single spot
a> i've instaled nant and nunit
a>
a> but
a>
a> <csc target="exe" output="bin/Simple.exe" debug="${debug}">
a>
a> <references>
a> <include name="nunit.framework.dll" />
a> <include name="nunitforms.dll" />
a> </references>
a> <sources>
a> <include name="**/*.cs" />
a> </sources>
a> </csc>
a>
a> does not locate the DLLs until i copy them to the project folder -
a> which is nasty
a>
a> what is the right way to reference in nant? what am i doing wrong?
a> i've tries GACutil - but both DLLs are already in GAC
a>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

arro239 said:
i've instaled nant and nunit

but

<csc target="exe" output="bin/Simple.exe" debug="${debug}">
<references>
<include name="nunit.framework.dll" />
<include name="nunitforms.dll" />
</references>
does not locate the DLLs until i copy them to the project folder -
which is nasty

what is the right way to reference in nant? what am i doing wrong? i've
tries GACutil - but both DLLs are already in GAC

I just use:

<references>
<include name="\program files\nunit
2.2\bin\nunit.framework.dll"/>
</references>

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top