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
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
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
-
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:
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
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
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
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
] | 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
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
- 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
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
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
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
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
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
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
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
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
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
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
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
[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
@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
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
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
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:
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:
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
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
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
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
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
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
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
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
- 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
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
- 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,
>
>
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
- 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
- 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
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
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
>
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
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.
.
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
--- 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,
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
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
${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,
>
>
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.
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
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
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. :
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
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
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
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
Why does the csc task not support unsafe and checked flags?
Brian Nantz
.Net Tools
WIKI
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
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
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
63 matches
Mail list logo