[NAnt-users] csc task does not handle my preprocessor directive

2013-10-21 Thread Alexander op de Weegh
Hi all, I'm having trouble passing pre-processor directives to my csc task. Below is a snippet of my build file: ... Strange to see is that if I include a task just before the csc task, it echo's DIRECTIVENAME, just as I expected. My code files nevertheless are compiled as if the pre-proc

Re: [NAnt-users] csc task to build 32bit exe and not "Any CPU"

2009-04-22 Thread Gert Driesen
Hi Raj, The task supports a "platform" attribute for this purpose. Hope this helps, Gert -Original Message- From: ptr2009 [mailto:ptrajku...@gmail.com] Sent: woensdag 22 april 2009 0:37 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] csc task to build 32bit e

[NAnt-users] csc task to build 32bit exe and not "Any CPU"

2009-04-21 Thread ptr2009
hey all How does on specify to csc task to build a 32bit exe ? My .net application has to be 32 bit because it uses some PInvoke on native dlls for which I only have 32bit version native dlls. In Visual studio I can specify Platform target as x86, Is there an nant equivalent ? Thanks Raj -

Re: [NAnt-users] csc and System.Resources.MissingManifestResourceException

2008-08-19 Thread rkjmailcentre-mailinglists
5:23:43 PM Subject: RE: [NAnt-users] csc and System.Resources.MissingManifestResourceException Hi,   You could’ve used this one:         Hope this helps,   Gert   From:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: maandag 18 augustus 2008 17:33 To:

Re: [NAnt-users] csc and System.Resources.MissingManifestResourceException

2008-08-18 Thread Gert Driesen
Hi, You could’ve used this one: Hope this helps, Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: maandag 18 augustus 2008 17:33 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] csc and

[NAnt-users] csc and System.Resources.MissingManifestResourceException

2008-08-18 Thread rkjmailcentre-mailinglists
Hi, I've been trying to create an msi for my project using NAnt and I've successfully managed to create the msi and then install my project from it. My project runs but then comes up with a System.Resources.MissingManifestResourceException (Could not find any resources appropriate for the speci

[NAnt-users] csc task finds System.dll implicitly while Visual C# doesn't

2006-10-25 Thread Jimm Domingo
I have a C# library project that I can build succesfully using the csc task. The project references 5 assemblies that I've also built with nant. But I can't compile these source files with Visual C# 2005. I created a VC# project, copied all the source files into the appropriate folder, and added

Re: [NAnt-users] csc task in NAnt

2006-07-12 Thread Gary Feldman
Bob Mixon [SPS MVP] wrote: > Greetings all, I have an assembly that is installed in the GAC, with a > strong keypair. When I compile this assembly in the .NET IDE, > everything work as expected and I can install it in the GAC without > incident. However, when I use the csc task to compile the as

Re: [NAnt-users] csc task in NAnt

2006-07-12 Thread Bob Mixon [SPS MVP]
] | www.sharesquared.com The Knowledge Management Solutions Experts-Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 2:47 AM To: Bob Mixon [SPS MVP]; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] csc task in NAnt

Re: [NAnt-users] csc task in NAnt

2006-07-12 Thread Bob Mixon [SPS MVP]
Knowledge Management Solutions Experts-Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 2:47 AM To: Bob Mixon [SPS MVP]; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] csc task in NAnt - Original Message - From: &quo

Re: [NAnt-users] csc task in NAnt

2006-07-11 Thread Gert Driesen
- Original Message - From: "Bob Mixon [SPS MVP]" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 12, 2006 5:40 AM Subject: [NAnt-users] csc task in NAnt > > Greetings all, > > I have an assembly that is installed in the GAC, with a strong keypair. > When

[NAnt-users] csc task in NAnt

2006-07-11 Thread Bob Mixon [SPS MVP]
Greetings all, I have an assembly that is installed in the GAC, with a strong keypair. When I compile this assembly in the .NET IDE, everything work as expected and I can install it in the GAC without incident. However, when I use the csc task to compile the assembly, I am unable to install it

[NAnt-users] CSC task not including version info

2005-12-08 Thread First Last
I am building a module using the csc task. It pulls in a local AssemblyInfo.cs and a CommonAssemblyInfo.cs file. The Common file contains version info written out by asminfo task. I am compiling using -t:net-2.0 which I updated to use the v2.0.50727 framework. The build seems to work fine bu

[Nant-users] CSC references and CopyLocal

2005-08-02 Thread Trevor.Moody
If I want to copy a referenced assemble to my output directory, do I need to manually copy it or is there some way to simulate copyLocal? Thanks For more information about Barclays Capital, please visit our web site at ht

RE: [Nant-users] csc resources prefix problem using refid

2005-07-23 Thread Morss, Charlie
direction, Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Morss, Charlie Sent: Saturday, July 23, 2005 12:10 PM To: Gert Driesen Cc: nant-users@lists.sourceforge.net Subject: RE: [Nant-users] csc resources prefix problem using refid I've

RE: [Nant-users] csc resources prefix problem using refid

2005-07-23 Thread Morss, Charlie
CTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Friday, July 22, 2005 9:50 PM To: 'Craig Ducharme'; nant-users@lists.sourceforge.net Subject: RE: [Nant-users] csc resources prefix problem using refid Hi Craigh, In this case, the prefix should be defined on the global defi

RE: [Nant-users] csc resources prefix problem using refid

2005-07-22 Thread Gert Driesen
working example. > > > > Regards, > > Craig > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Morss, Charlie > Sent: Friday, July 22, 2005 3:07 PM > To: nant-users@lists.sourceforge.net > Subject: [Nant-use

RE: [Nant-users] csc resources prefix problem using refid

2005-07-22 Thread Craig Ducharme
Sent: Friday, July 22, 2005 3:07 PM To: nant-users@lists.sourceforge.net Subject: [Nant-users] csc resources prefix problem using refid   Hello,   I’m having problems with my within a task.  It works fine this way

[Nant-users] csc resources prefix problem using refid

2005-07-22 Thread Morss, Charlie
Hello,   I’m having problems with my within a task.  It works fine this way:           ...                     But if I use a refid for the files to include in either a resourcefileset or a regular f

RE: [Nant-users] csc Task Strategies

2005-07-12 Thread Bill Martin
TH,   Bill       -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Ken WitmyerSent: 11 July 2005 16:09To: nant-users@lists.sourceforge.netSubject: [Nant-users] csc Task Strategies I recently moved to a new company and I'm trying to im

Re: [Nant-users] csc Task Strategies

2005-07-12 Thread Gary Feldman
Ken Witmyer wrote: The developers are understandably not too keen on the idea of manually maintaining these references in the build scripts. They have proposed hooking into VS.NET's build process to mine the .csproj files and rebuild the csc tasks in the build scripts. I'm a bit hesitant be

RE: [Nant-users] csc Task Strategies

2005-07-11 Thread Nau, Michael
EMAIL PROTECTED] On Behalf Of Ken WitmyerSent: Monday, July 11, 2005 8:09 AMTo: nant-users@lists.sourceforge.netSubject: [Nant-users] csc Task Strategies I recently moved to a new company and I'm trying to implement NAnt in a relatively complex build environment.  My hope is that I can bring

FW: [Nant-users] csc Task Strategies

2005-07-11 Thread Craig Ducharme
[Nant-users] csc Task Strategies I recently moved to a new company and I'm trying to implement NAnt in a relatively complex build environment.  My hope is that I can bring some order to a relatively chaotic environment.  We have a ton of different assemblies that make up our business logic

RE: [Nant-users] csc Task Strategies

2005-07-11 Thread Evans, Jonathan (2)
@lists.sourceforge.netSubject: [Nant-users] csc Task Strategies I recently moved to a new company and I'm trying to implement NAnt in a relatively complex build environment.  My hope is that I can bring some order to a relatively chaotic environment.  We have a ton of different assem

[Nant-users] csc Task Strategies

2005-07-11 Thread Ken Witmyer
Title: csc Task Strategies I recently moved to a new company and I'm trying to implement NAnt in a relatively complex build environment.  My hope is that I can bring some order to a relatively chaotic environment.  We have a ton of different assemblies that make up our business logic.  Any on

RE: [Nant-users] csc task not working (as expected)

2005-05-17 Thread Mert Derman
I have the same problem. I have a main build file for the solution calling all the build files of the projects in the solution. They are all nearly same. But after four of the builds end succesfully the last one fails because task cannot find the *.cs files. I tried all the possibilities like Eli

[Nant-users] csc task doesn't compile any files

2005-05-16 Thread Elie Medeiros
Hi there, posted this a couple of days back, but I still haven't figured it out. It would be nice to know if it's something I'm doing wrong, or if it's a Nant issue/feature that i need to work around. I have a pretty simple task set up as such:

[Nant-users] csc task not working (as expected)

2005-05-13 Thread Elie Medeiros
Hi there, this is probably a daft one, but I don't seem to be able to figure it out. I have a pretty simple task set up as such:

Re: [Nant-users] CSC

2005-03-21 Thread Troy Laurin
Paul, you're checking out your code to C:\Inetpub\wwwroot\NAnt, I assume this is not the same place you are running your build from? If not, try adding a "basedir" attribute to your sources and resources elements... You could then pull the path out into a property to redu

[Nant-users] CSC

2005-03-21 Thread Paul Cowan
Hi all,   I’m trying and failing to get to grips with NAnt. I can successfully get all the required files from sourcesafe, using the build file below, but the CSharp compiler is complaining:        [vssget] Getting '$/vor/build/test' to 'C:\Inetpub\wwwroot\NAnt'... C:\Inetpub\wwwroo

[Nant-users] csc task lib tag

2004-08-21 Thread Naz Quadri
Hi guys, [Using Nant 0.84 release] I am trying to reference some assemblies on network drives (or by UNC) I seem to be having trouble specifying the full path in the refernce tab like so :- This does not seem to pick up the references. Do I need to u

FW: [Nant-users] csc vs. solution

2004-07-13 Thread Hristo Deshev | telerik
Sorry guys, I messed up the reply address the first time. From: Hristo Deshev | telerik [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 9:01To: 'Shawn Knowles'Subject: RE: [Nant-users] csc vs. solution Hi Shawn, NAnt-ers,   This is my first post here, so I'd li

Re: [Nant-users] csc vs. solution

2004-07-12 Thread Martin Gainty
csc would provide you finer grain control over compiles - Original Message - From: Castro, Edwin Gabriel (Firing Systems Engr.) To: [EMAIL PROTECTED] Sent: Monday, July 12, 2004 3:29 PM Subject: RE: [Nant-users] csc vs. solution What if you are a using

Re: [Nant-users] csc vs. solution

2004-07-12 Thread Scott Hernandez
  Sure, there is much more control when using individual tasks; logically this is all the solution task does, convert the vs.net xml format into a series of nant task executions... The task makes certain assumptions and reproduces the behavior of vs.net; This may not be the case for everyon

RE: [Nant-users] csc vs. solution

2004-07-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
D] On Behalf Of Shawn KnowlesSent: Monday, July 12, 2004 11:05 AMTo: [EMAIL PROTECTED]Subject: [Nant-users] csc vs. solution This may seem like a trivial question, but I am curious to know if more people build C# tasks with the solution or csc task.  I am wondering why one w

[Nant-users] csc vs. solution

2004-07-12 Thread Shawn Knowles
This may seem like a trivial question, but I am curious to know if more people build C# tasks with the solution or csc task.  I am wondering why one wouldn’t use the solution task since it seems to be much easier.  Any advice, standard practices, or opinions are greatly appreciated.   Tha

Re: [Nant-users] CSC Output Build Internal Error help

2004-04-05 Thread Gert Driesen
- Original Message - From: "Michael Dang" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, April 05, 2004 7:51 PM Subject: Re: [Nant-users] CSC Output Build Internal Error help > > Wonder if the

Re: [Nant-users] CSC Output Build Internal Error help

2004-04-05 Thread Michael Dang
d a bug or a user error? Regards, Mike --- Gert Driesen <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Michael Dang" <[EMAIL PROTECTED]> > To: "Gert Driesen" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Friday, April

Re: [Nant-users] CSC Output Build Internal Error help

2004-04-02 Thread Gert Driesen
- Original Message - From: "Michael Dang" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 02, 2004 5:41 PM Subject: Re: [Nant-users] CSC Output Build Internal Error help > Hi Gert, > >

Re: [Nant-users] CSC Output Build Internal Error help

2004-04-02 Thread Michael Dang
OTECTED]> > To: "Gert Driesen" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Wednesday, March 31, 2004 7:00 PM > Subject: Re: [Nant-users] CSC Output Build Internal Error help > > > > > > I am assuming that there was a fix to a bug relate

Re: [Nant-users] CSC Output Build Internal Error help

2004-03-31 Thread Gert Driesen
- Original Message - From: "Michael Dang" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 31, 2004 7:00 PM Subject: Re: [Nant-users] CSC Output Build Internal Error help > > I am assum

Re: [Nant-users] CSC Output Build Internal Error help

2004-03-31 Thread Gert Driesen
- Original Message - From: "Michael Dang" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 31, 2004 9:45 PM Subject: Re: [Nant-users] CSC Output Build Internal Error help > Here's an ad

Re: [Nant-users] CSC Output Build Internal Error help

2004-03-31 Thread Michael Dang
ot; <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, March 29, 2004 7:56 PM > Subject: [Nant-users] CSC Output Build Internal Error help > > > > Hello, > > > > I have been using Nant 0.84 to compile this project for a while. > > How

Re: [Nant-users] CSC Output Build Internal Error help

2004-03-31 Thread Michael Dang
orge.net/nightly/builds) ? > > Gert > > - Original Message - > From: "Michael Dang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, March 29, 2004 7:56 PM > Subject: [Nant-users] CSC Output Build Internal Error help >

Re: [Nant-users] CSC Output Build Internal Error help

2004-03-29 Thread Gert Driesen
CTED]> Sent: Monday, March 29, 2004 7:56 PM Subject: [Nant-users] CSC Output Build Internal Error help > Hello, > > I have been using Nant 0.84 to compile this project for a while. > However, today I am getting an internal error. Can anyone shed some > light? > > task

[Nant-users] CSC Output Build Internal Error help

2004-03-29 Thread Michael Dang
Hello, I have been using Nant 0.84 to compile this project for a while. However, today I am getting an internal error. Can anyone shed some light? task being executed is a CSC task and is in the middle od compiling resx files. .

[Nant-users] CSC Task doesn't work from slingshot generated build file with current nightly build

2004-03-19 Thread Noel Gifford
All, I have a slingshot generated build file that works using 0.84.1455.0. I installed the latest nightly build - 0.85.1538.0 (20040318) Using 0.85.1538.0, I get the following error: An empty string is not a valid value for attribute 'Doc' of

Re: [Nant-users] CSC Task & mscorlib with 0.84 issue??

2004-01-09 Thread Michael Dang
--- Original Message - > From: "Michael Dang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, January 09, 2004 12:18 AM > Subject: Re: [Nant-users] CSC Task & mscorlib with 0.84 issue?? > > > > Gert,

Re: [Nant-users] CSC Task & mscorlib with 0.84 issue??

2004-01-08 Thread Gert Driesen
e app ? Gert - Original Message - From: "Michael Dang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 12:18 AM Subject: Re: [Nant-users] CSC Task & mscorlib with 0.84 issue?? > Gert, > Verbose L

Re: [Nant-users] CSC Task & mscorlib with 0.84 issue??

2004-01-08 Thread Michael Dang
erce.Americas.Common\Common\ValueObjects\ValueObjectAttribute.cs" "C:\temp\Ecommerce.Americas.Common\Common\ValueObjects\ValueObjectCollectionAttribute.cs" "C:\temp\Ecommerce.Americas.Common\Common\AbstractBaseServiceProvider.cs" "C:\temp\Ecommerce.Americas.Common\Common\AssemblyInfo

Re: [Nant-users] CSC Task & mscorlib with 0.84 issue??

2004-01-08 Thread gert . driesen
${nant.settings.currentframework.frameworkassemblydirectory} in NAnt 0.84, this is now done automatically ... >-Original Message- >From: Michael Dang [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 8, 2004 10:42 PM >To: [EMAIL PROTECTED] >Subject: [Nant-users] CSC Task & mscorlib with 0.84 issue?? > >Hi, > >

[Nant-users] CSC Task & mscorlib with 0.84 issue??

2004-01-08 Thread Michael Dang
Hi, I have .Net framework 1.0 & 1.1 installed. Using Nant 0.84 and modified the nant.exe.config to use the net-1.1 as the default framework. I have a simple assembly that has a few references. When I look at the manifest it seems Nant is compiling as a reference the mscorlib.dll for both .net 1.

[Nant-users] csc task foreach with refrerences

2003-11-18 Thread Allen, William (MSCI)
Should the following nant config work? What I'm trying to to is generalize the build process to be used by muliple projects. Each project will have a dependencies.txt file that will list the dll on which this project is dependent. I can't make this work without explicitly identifying the refe

Re: [Nant-users] csc Task: How to use resources

2003-09-15 Thread Sascha Andres
Hi, * Ian MacLean wrote on 14.09.2003 (21:37): > What you're seeing is a recently introduced bug in compilerbase.cs. I've > committed a fix that should appear in the next nightly build. I can confirm that the resources are running now again. After I got the license task running, I'm comfortable w

Re: [Nant-users] csc Task: How to use resources

2003-09-14 Thread Ian MacLean
Sascha, What you're seeing is a recently introduced bug in compilerbase.cs. I've committed a fix that should appear in the next nightly build. using the resources tag in the following format will now work fine. :

[Nant-users] csc Task: How to use resources

2003-09-14 Thread Sascha Andres
Hi, after upgrading to the latest nightly build, I have great problems regarding the csc task. It seems the resources are now no fileset anymore (the help states array), How to embed resources now? I tried multiple times, but this helps not. isn't appropriate I think. May I suggest a more comp

[Nant-users] CSC Task doc attribute not generating file

2003-08-21 Thread Michael Dang
Hi All, I was wondering if anyone has had problems with Nant v0.8.3 RC2 CSC Task doc attribute? I can generate the assembly but it will not generate the xml doc that I specified. I have a few other csc tasks that generate the doc file, but for this one assembly it doesn't generate it. Only thin

Re: [Nant-users] CSC task doesn't support unsafe.

2003-06-09 Thread Gert Driesen
t: Monday, June 09, 2003 6:24 PM Subject: RE: [Nant-users] CSC task doesn't support unsafe. I think you can use:         :         :         - Ants   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

RE: [Nant-users] CSC task doesn't support unsafe.

2003-06-09 Thread Anthony LoveFrancisco
Title: Message I think you can use:         :         :         - Ants   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian.nantzSent: Monday, 09 June, 2003 06:08To: [EMAIL PROTECTED]Subject: [Nant-users] CSC task

[Nant-users] CSC task doesn't support unsafe.

2003-06-09 Thread brian.nantz
Why does the csc task not support unsafe and checked flags?   Brian Nantz .Net Tools WIKI  

Re: [Nant-users] CSC and resource embedding

2003-03-13 Thread Ian MacLean
Mike, What does your tag look like ? The two output files with fully expanded names are the ones that have corresponding .cs files. The csc task looks at the namespace declaration in the .cs file to determine the appropriate namespace prefix. For those .resx files not directly associated with a

[Nant-users] CSC and resource embedding

2003-03-13 Thread Mike Gilbert
Folks, My question is to do with the the part of the task. I've got a bunch of resources that all seem to get embedded perfectly bar two. These two files are embedded but not fully qualified like the rest of the files. my.project.namespace.class1.resource duff1.resource duff2.resource my.pr

[Nant-users] csc '/unsafe' flag

2002-10-30 Thread Blanchard, Peter L.
I searched the archive, but could not find an answer on how to pass the "/unsafe" command line argument to the "csc" task Any help would be appreciated. Thanks, Pete -- Any opinions expressed herein are not the opinions of (nor sanctioned by) my employer -- Peter L. Blanchard