Hey everyone! We are
currently setup with a common bindirectory that all of our projects and
solutions reference from. Each project has a build event that copies its output
to the bin folder so other projects can reference it. I had a situation with the
solution task where nant was locking
I'd definitely prefer having something fileset-like instead
of a simple property to store the list of output files in.
Yes, me too. That was actually my first thought. I didn't see any precedent
for returning values of types other than string from a task, though.
Would it be enough if there
I think MSBuild also has something similar, but I haven't yet
looked into it. Anyone know more about what they use ?
I just read some of their PDC slides, Word documents, and some
of http://msdn2.microsoft.com/en-us/library/0k6kkbsd(en-US,VS.80).aspx
It seems that MSBuild parameters can be
I'd like to be able to access a list of outputs generated by the execution
of the solution task. Attached is a patch that implements this feature using
NAnt properties.
The solution task now maintains a list of all outputs (and also a list of
just the assemblies it compiles) during its
Title: Solution task
I'm a new to nant, I' m trying to use solution task to be able to build a dotnet project , here is my build file
project name=MasterBuild default=build
target name=build
solution configuration=debug solutionfile=masterbuild\MasterBuild.sln
projects
includes
Hello
I am using nant-0.85-rc1.
I get this exception when excecuting the solution task.
My solution contains 1 VC++.Net project that contains project references
to other C# projects in the solution.
I had a cursory look at the code. It appears (to me) that I will always
get this exception if
Of Chris Fewtrell
Sent: vrijdag 21 januari 2005 17:28
To: nant-developers@lists.sourceforge.net
Subject: [nant-dev] solution task: Exception when building a
solution that contains a VC++
Hello
I am using nant-0.85-rc1.
I get this exception when excecuting the solution task.
My solution
-developers@lists.sourceforge.net
Subject: [nant-dev] Solution task and app.config file
Hi.
I looked around inside the solution task source, and it seems that it
should copy the app.config file to the
{outputdir}/{exename}.config file.
For some reason, this does not happen for me
Hi All,
First off, thanks for great work done on Nant. I used the original
Ant a few years ago on both C++ Java projects now have a need to compile a
fairly complex C++ solution (ie. multiple projects with thousands of files).
So far, with a little gentle persuasion, I've managed to get
Situation :
NAnt nightly build 20040525
VB.NET Solution with 2 projects, project B is dependend on project A with copy local = true.
Building the solution the first time , no problem both projects are build and the dll from the first project is
copied into the output dir of the second
I have found that the solution task has greatly matured
since I last used it. I use enterprise templates in my solutions all the
time. At work the master solution contains 109 projects! The NAnt solution
task does pretty well until it gets to a VS.NET database project then it gives
me an
]
Sent: Wednesday, May 26, 2004 4:07
PM
Subject: [nant-dev] solution task
I have found that the solution
task has greatly matured since I last used it. I use enterprise
templates in my solutions all the time. At work the master solution
contains 109 projects! The NAnt solution
Nantz
To: [EMAIL PROTECTED]
Sent: Wednesday, May 26,
2004 4:07 PM
Subject: [nant-dev]
solution task
I have found that the solution task has greatly matured
since I last used it. I use enterprise templates in my solutions all the
time. At work the master solution contains
-dev] solution task
Brian,
Could it be that you specified that project using the projects or
referenceprojects fileset ?
Gert
- Original Message -
From: Brian Nantz [EMAIL PROTECTED]
To: 'Gert Driesen' [EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 5:50 PM
Subject: RE: [nant-dev
- Original Message -
From: Brian Nantz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 9:46 PM
Subject: RE: [nant-dev] solution task
No I only point to the solution and map the webservices. The csproj files
may refernce the database project I don't know
] solution task
- Original Message -
From: Brian Nantz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 9:46 PM
Subject: RE: [nant-dev] solution task
No I only point to the solution and map the webservices. The csproj files
may refernce the database project I don't know
Hi,
I was just curious if anyone has looked closely at what it would take to get the
solution task running on Linux/ mono? I would like to help out with that but am not
sure where to start and what is being done.
Cheers,
Clayton
---
I just upgraded to the latest greatest (5.20) NAnt and
NAntContrib and the solution task is not building my
projects in the correct order and crashing because of
this. It seems to be exactly the opposite of the
order it should (i.e. If I put 2 projects in there, it
will always choose the wrong
Eric,
Please submit a bug report and attach a small repro for this issue.
Thanks,
Gert
- Original Message -
From: Eric Fetzer [EMAIL PROTECTED]
To: NAnt Developers [EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 11:11 PM
Subject: [nant-dev] Solution Task Build Order
I just upgraded
Hi all,
My .NET project has reference to some Visual Basic COM objects (e.g.
MyServer.dll, COMSVCLIB.dll etc.). When I used NANT (latest nightly
build May 10, 2004) to build this solution, it generates
Interop.MyServer.dll, MyServer.dll, Interop.COMSVCLIB.dll and
COMSVCLIB.dll.
But if I build
Hi,
I have problems with buildin solution, when I trying to build it, I'm
getting following error message:
[solution] Starting solution build.
BUILD FAILED
Error checking whether
'C:\MPI2Build\src\MPI\MAG\HostingEnvironment\http://localhost/MPISeviceFacad
e/MPISeviceFacade.csproj' is an
Jia,
I suggest using the latest nightly build
(http://nant.sourceforge.net/nightly/builds) as lots of fixes for the
solution task were committed recently.
Let us know if you still have this or other problems with the nightly
build.
Gert
On Mon, 2004-01-05 at 03:41, Jia Bin wrote:
hi,
I'm
I've spent a bit more time speeding up the solution task and fixing
differences from VS.NET. Here's a short summary of what to expect with
the latest CVS:
1. We only create one AppDomain per solution build and per project
build. We were creating dozens of AppDomains per project build
- Original Message -
From: Matthew Mastracci [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: Nant-Developers (E-mail) [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 11:05 PM
Subject: Re: [nant-dev] Solution task fixes + speedups
Gert Driesen wrote:
3. The HintPath
Hello,
I'm receiving the error stated
belowfrom the "solution" task.
I'm currently using nightly
build nant-0.85-20040221
The project is a c# Class
Library project, which generates a dll file.
The Script call looks like
this
target
name="srcbuild" depends="prebuild" description="Builds
To: [EMAIL PROTECTED]
Sent: Monday, February 23, 2004 5:45
PM
Subject: [nant-dev] "Solution" Task
Error
Hello,
I'm receiving the error
stated belowfrom the "solution" task.
I'm currently using nightly
build nant-0.85-20040221
The project is a c# Clas
hi,
I'm trying to build a solution and met the following problem.
BUILD FAILED
INTERNAL ERROR
System.IO.FileLoadException: Assembly gemgeocurtainm.dll already loaded
without additional security evidenc
.
File
name: gemgeocurtainm.dll
Server
stack trace:
at
-dev] Solution task problems
hi,
I'm trying to build a solution and met the following problem.
BUILD FAILED
INTERNAL ERROR
System.IO.FileLoadException: Assembly gemgeocurtainm.dll
already loaded without additional security evidenc
1.) If you have the time, go for it!
2.) Improvements are great.
3.) Adding support for this is a good idea. At the solution and project
level seems like a nice one to have too.
- Original Message -
From: Martin Aliger
Hi all !
1/
Do you think, that now is good time to some cleaning
Hi all !
1/
Do you think, that now is good time to some
cleaning and restructuring in solution task as we discussed earlier?
I have some spare time and appetite to do that
now!
2/
Also I would need (and like to) make some
improvements to that task. What I need (and currently use
Nant developers,
I am getting this error when I compile a VS.Net 2003 solution with an
ProductInfo file that has been linked from a parent directory.
e.g.
File
RelPath = ProductInfo.cs
Link = ..\ProductInfo.cs
SubType
]
Sent: Monday, November 17, 2003 10:19 PM
Subject: [nant-dev] solution task and linked VS.Net files.
Nant developers,
I am getting this error when I compile a VS.Net 2003 solution with an
ProductInfo file that has been linked from a parent directory.
e.g.
File
Ok tested with the latest nightly builds, it works.
Thanks!!
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 4 November 2003 5:29 PM
To: Eddie Tse; [EMAIL PROTECTED]
Subject: Re: [nant-dev] solution task bug in nested build
What version of NAnt are you
of the recent nightly builds
(http://nant.sourceforge.net/nightly/builds) ?
Thanks,
Gert
- Original Message -
From: Eddie Tse [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 11:08 PM
Subject: [nant-dev] solution task bug in nested build
Hi All,
I have a large
Hi All,
I have a large multi-solution project and the solution task does not build
properly if it is called within a nested nant task because the full path
to the solution file is not used. Patch attached.
Cheers,
Eddie
Index: src/NAnt.VSNet/Solution.cs
I pointed nprof at NAnt to see if I could get the solution task to
build a little quicker for those of us with extra-large solutions. The
code in Reference.cs was re-loading projects over and over if project
references were being used. This re-loading of projects consumed over
99% of the
Hi,
is there anyone currently working on adding support for .csdproj (PocketPc
application) project in the Solution task ?
Regards,
Thibaut Barrère
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.525 / Virus Database: 322 -
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 10:28 PM
Subject: [nant-dev] Solution Task changes for C++ project support
Hello,
I grabbed the nightly build from 10.13.2003 and hacked away at the code
until my solution with 13 C# projects and one C++ project compiled
that it would not go through.
-Scott
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Thu 10/16/2003 3:42 AM
To: Scott Ford; [EMAIL PROTECTED]
Cc:
Subject: Re: [nant-dev] Solution Task changes for C++ project
:50 AM
Subject: [nant-dev] solution task
Hi all,
finally, I should have some spare time to nant project again. Do you
still
think, code refactoring for solution task (described below) is good
idea?
I
want to ensure that if I do it, it will be accepted (alot of work)
Martin
Hi all,
I am attempting to use a solution task to build as follows:
solution solutionfile=eSM/eSM.sln
configuration=${c#.build.configuration}/
Doing so yields the following output:
INTERNAL ERROR
System.Xml.XmlException: The data at the root level is invalid. Line 1,
position 1.
at
,
Gert
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: !nant [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 10:50 AM
Subject: [nant-dev] solution task
Hi all,
finally, I should have some spare time to nant project again. Do you still
think, code refactoring
Hi,
I'm trying out the solution task for the first time and am experiencing a
couple of problems. I'm using Nant 0.8.3 final.
The project structure comes out of CVS like this:
Project\
Solution.sln
Project1.csproj
bin\
debug\
Tests\
Tests.csproj
bin\
debug\
The
hi,
i think there's a problem in the way compiled resource filenames are computed in the
solution task. I had a collision which was failing my build (cf my mail to the nant
users list solution task - problem with resources on the 9th sept).
The filenames are computed by scanning the
Unfortunately, VS.NET uses the name of the class as the generated
resources filename. Changing this would break any designer-created code.
BTW, as a friendly suggestion. :) I can't read your mail from Sept. 9
because it appears to be encoded in something other than text/plain. I
get
, September 17, 2003 9:50 AM
To: Vincent Labatut
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] solution task fix
Unfortunately, VS.NET uses the name of the class as the generated resources filename.
Changing this would break any designer-created code.
BTW, as a friendly suggestion. :) I can't
:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:00 AM
To: Matthew Mastracci; Vincent Labatut
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] solution task fix
VS.NET uses the full name of the class (namespace.classnam) for the behind
the scenes .resx files (those resource files automatically
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:00 AM
To: Matthew Mastracci; Vincent Labatut
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] solution task fix
VS.NET uses the full name of the class (namespace.classnam) for the behind
the scenes .resx files (those resource files
Ooooppps, should have sent to NAnt Dev:
My developers just started incorporating NDoc into their projects. My first build has resulted in some errors in the compile. It looks like NAnt is looking for the *.xml file that should result before the compile is done and erroring out because it's not
Double Opps, Jean answered me. I'll bounce back as to whether it worked or not (warning level change). Thanks Jean!Eric Fetzer [EMAIL PROTECTED] wrote:
Ooooppps, should have sent to NAnt Dev:
My developers just started incorporating NDoc into their projects. My first build has resulted in
Hi,
OK. I withdraw my negative vote, now I can see the need for such tweaks.
;-)
But I think Martin's idea could be extended to all-singing-and-dancing
syntax like:
[snip]
solution configuration=Release outputdir=${output.dir}
includevsfolders=false
projects
includes
Hi all,
Again, I propose an
addin into solution task. It enables use of extra parameters for csc task as in
this case:
solution
configuration="Release" outputdir="${output.dir}"
includevsfolders="false"
projects
includes
name="${build.dir}/**/*.csproj"/
/projects
assemblyfolders
here
(similar to VS default) to I sometimes forget it...
- Original Message -
From: Gert Driesen
To: Martin Aliger ; ! nant
Sent: Friday, September 12, 2003 1:08 PM
Subject: Re: [nant-dev] solution task addin
Look very good, but I have some remarks :
use BuildElementCollection
}/
/assemblyfolders
compilerargs
arg value=/codepage:1250/
/compilerargs
/solution
Martin
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]; ! nant
[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 1:08 PM
Subject: Re: [nant-dev] solution task
s will also be useful for other compilers
(VB.NET).
Keep up the good work !!!
Gert
PS.can you also
change your code format to use brackets on the same line, instead of on the next
line ...
- Original Message -
From:
Martin
Aliger
To: ! nant
Sent: Friday, September 12, 20
I'll commit it later today.
Thanks,
Gert
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: ! nant [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 2:04 PM
Subject: Re: [nant-dev] solution task addin
Here it is reworked. Looks much nicer now :)
solution configuration
PM
Subject: Re: [nant-dev] solution task addin
Here it is reworked. Looks much nicer now :)
solution configuration=Release outputdir=${output.dir}
includevsfolders=false
projects
includes name=${build.dir}/**/*.csproj/
/projects
assemblyfolders
includes name=${output.dir
, September 12, 2003 2:19 PM
Subject: Re: [nant-dev] solution task addin
I'll commit it later today.
Thanks,
Gert
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: ! nant [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 2:04 PM
Subject: Re: [nant-dev] solution task
[EMAIL PROTECTED]
To: Martin Aliger [EMAIL PROTECTED]; ! nant
[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 2:19 PM
Subject: Re: [nant-dev] solution task addin
I'll commit it later today.
Thanks,
Gert
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: ! nant [EMAIL
PROTECTED]
Sent: Friday, September 12, 2003 2:19 PM
Subject: Re: [nant-dev] solution task addin
I'll commit it later today.
Thanks,
Gert
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: ! nant [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 2:04 PM
I apologize in advance if I'm posting a question that has recently been answered. Many posts as oflate have gone many miles over my head...
Developersin my shoprecently got sick of reference problems and began using project references (while I was in a meeting Friday afternoon). This is good from
Hi all,
What should this code in Reference::GetReferenceFiles
do?
// Get a list of
the references in the output directory
foreach (string referenceFile in
Directory.GetFiles(fi.DirectoryName, "*.dll")) {
// Now for each reference, get the related
files (.xml, .pdf, etc...)
string
That's correct behavior that also happens when compiling from VS.NET; referenced DLLs
get copied to the executable folder. You can change this behavior from VS.NET if you
go to the properties of the reference and set copy local to false. Unless you are
putting probing directives into your
assembly which it can find via the reference path.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Cabanski
Sent: Tuesday, 2 September 2003 10:21 PM
To: Martin Aliger; [EMAIL PROTECTED]
Subject: RE: [nant-dev] solution task question
That's correct behavior
- Original Message -
From: Eddie Tse [EMAIL PROTECTED]
To: 'Tom Cabanski' [EMAIL PROTECTED]; 'Martin Aliger'
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 2:28 PM
Subject: RE: [nant-dev] solution task question
I noticed this today as well with the solution task
]
Subject: RE: [nant-dev] solution task question
That's correct behavior that also happens when compiling from VS.NET;
referenced DLLs get copied to the executable folder. You can change this
behavior from VS.NET if you go to the properties of the reference and set
copy local to false. Unless you
Message -
From: Jaroslaw Kowalski [EMAIL PROTECTED]
To: Martin Aliger [EMAIL PROTECTED]; ! nant
[EMAIL PROTECTED]
Sent: Monday, September 01, 2003 5:48 PM
Subject: Re: [nant-dev] solution task assemblyfolders
Hi all!
That's a very good idea, however just by looking at your patch I see few
Martin,
Your patches were committed to cvs.
Thanks for the contribution,
Gert
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: Jaroslaw Kowalski [EMAIL PROTECTED]; ! nant
[EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 6:18 PM
Subject: Re: [nant-dev] solution task
Hi all!
I implement that assemblyfolder subtag for solution as we discused it
here. I hope my coding convention is ok (try to be close to yours). I'm also
totally confused by security checks. Have you any experience with enabling
read from registry? [it is ok for me without it, but...]
There
PROTECTED]
Sent: Monday, September 01, 2003 5:04 PM
Subject: [nant-dev] solution task assemblyfolders
Hi all!
I implement that assemblyfolder subtag for solution as we discused it
here. I hope my coding convention is ok (try to be close to yours). I'm
also
totally confused by security checks
];
-Original Message-
From: Matthew Mastracci [mailto:[EMAIL PROTECTED]
Sent: Saturday, 23 August 2003 1:11 AM
To: Eddie Tse
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] solution task fixes
Eddie - ignoring non-csproj and non-vbproj files looks good. We
shouldn't do this without at least warning
Hi,
recent outputdir addon is missing this (second constructor)
--- E:\src\nant\distrib\NAnt.VSNet\Solution.cs Sun Aug 24 09:29:48 2003
+++ E:\src\nant\src\NAnt.VSNet\Solution.cs Wed Aug 27 13:22:38 2003
@@ -124,6 +124,7 @@
_solutionTask = solutionTask;
This is now fixed in cvs.
Thanks !
Gert
- Original Message -
From: Martin Aliger [EMAIL PROTECTED]
To: ! nant [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 2:15 PM
Subject: [nant-dev] solution task
Hi,
recent outputdir addon is missing this (second constructor)
--- E:\src
When compiling with devenv it will overrite the output assembly regardless
of its file attributes (ie: ReadOnly). The solution task does not do this.
Here is a patch to synch the two behaviours:
NAnt.VSNet/Project.cs
//THIS LINE MAKES THE OUTPUT FILE WRITTABLE
System.IO.File.SetAttributes
Hi Eddie,
I've committed your patches to cvs.
Thanks !
Gert
- Original Message -
From: Eddie Tse [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 3:58 PM
Subject: [nant-dev] solution task fixes
Hi All,
I've been experimenting with the solution task from CVS
Hi All,
I've been experimenting with the solution task from CVS and had made a few
changes in order to make it work for me.
Added the NoWarn option from VS.NET 2003
I have SQL projects as well as deployment projects in my solution, so
ignored those.
And the webmapcollection was using the path
Eddie - ignoring non-csproj and non-vbproj files looks good. We
shouldn't do this without at least warning the user that we are ignoring
their projects, however. Can you add a log message to this test?
Eddie Tse wrote:
Hi All,
I've been experimenting with the solution task from CVS and had
I am trying to get the solution task to work and found a couple of things
that might make my (and others?) life easier.
[1] When looking for references it uses the HintPath element on the project.
Unfortunately this is not a reliable way to locate references. Visual
Studio actual uses a
Hi
I novice to Nant and
Ant.
I try to using task
solution
target name="build"
solution configuration="debug"
projects
!--includes name="Core.etp"
/--
includes
name="Bkc.Oblik.aCRM.Common/Bkc.Oblik.aCRM.Common.csproj"/
/projects
/solution
/target
And got those answer
:
build:
For those interested, some recent bugfixes checked in:
- Generate the correct filename for .resx files without dependent files
(ie: x\foo.resx in project some.namespace -
some.namespace.x.foo.resources)
- Convert the requested configuration to lowercase to match the rest of
the solution
Make sure you've set Script Source Access in your security settings
and set Write access to your bin directory. At some point I'll put in
a URL - path mapping in the solution task to get around having to use
WebDAV.
brant wrote:
The NAnt solution task uses WebDav to retreive the project file
81 matches
Mail list logo