473,382 Members | 1,258 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

nant - what is the right way to reference?

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

Oct 10 '06 #1
2 4963
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
ai've instaled nant and nunit
a>
abut
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>
adoes not locate the DLLs until i copy them to the project folder -
awhich is nasty
a>
awhat is the right way to reference in nant? what am i doing wrong?
ai'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
Oct 10 '06 #2
arro239 wrote:
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
Oct 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: george r smith | last post by:
I am curious, anyone using NAnt and what are their opinions. thanks grs
0
by: muesliflakes | last post by:
I have figured out how to get this running by using Ant.Console as a starting point for calling NAnt. I had to include NAnt.Core, NAnt.DotNet & NDoc.Core in my project and it worked correctly. ...
2
by: Aditya | last post by:
Hi! I am currently trying to upgrade to the nant 0.84 and was successful in making the necessary changes. I am having a performance issue though. Whenever I have a reference of the form A.D.dll,...
3
by: prabhupr | last post by:
Hi Folks Not sure if this is the right group, if not please re-direct me to the right one. Here is my question =============== When I compile my ASP.NET WEB project from VS 2005 (.NET...
4
by: emferrari | last post by:
Hi all I have a cs project that contains a reference to the MSI.DLL. If I open the project manually into the VS.NET it compiles fine, but when it runs against nant it fails. The error is...
3
by: con.brady | last post by:
Hi Folks, Disclaimer: I apologize if this is the wrong place for this type of question, but if so, I don't know where the right place is and I'd be very grateful if someone could point me in...
0
by: james.mcdonagh | last post by:
Hi I am a newbie using nAnt for .net 2.0. As such I have not come across this bug before, and I would be happy of any help that you may be able to provide. In order to help I have included the...
1
by: jamesmcdonagh | last post by:
Hi newbie using nAnt for .net 2.0. I would be happy of any help that you may be able to provide. The weird thing is that VS.net builds without a problem. And the intellisense within the object...
1
by: Crash | last post by:
Hi all, Is there a newsgroup for NANT? Or is there some place I can post NANT questions? In case this newsgroup is Ok for NANT questions, here is my issue: Windows XP VS 2003
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.