Re: [NAnt-users] Problems with .ico files referenced in a .resx

2008-09-07 Thread Gert Driesen
Hey,

Would it be possible to send me a small repro for this issue?

Gert

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: zondag 7 september 2008 6:53
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Problems with .ico files referenced in a .resx

I could not figure out from the documentation how the heck am I supposed to
let the nant know where the external .ico files are located when compiling a
.resx file... I have a .resx file containing the following definition:

 
DataGridTextAreaButton.ico;System.Drawing.Icon, System.Drawing,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d
50a3a

This is supposed to load the specified .ico file into the resulting
.resources, but nant keeps failing with an error "[resgen] Inner exception:
Could not find file "/tmp/tmp5639f2ee.tmp/DataGridTextAreaButton.ico".  Line
123, position 5.". My  definition is:

 



Nant finds the .resx files and copies them to a temp directory but not the
.ico files. 


  

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Why NAnt over VS Studio builds?

2008-09-07 Thread Carlos Garcés
On Sep 7, 2008, at 9:17 AM, Tero Vaananen wrote:


> As a NAnt noob I have some fundamental questions. The VS Studio  
> build system has worked fine for me for years, even with solutions  
> that have a few dozen sub projects. Is there something that NAnt can  
> do for me that would make my life considerably easier? What  
> convinced you to start using it?
>
> Thanks.
>   

Dominic Hamon escribió:
> For me, it's the ability to have cross-platform development with a  
> common build framework.
>
> You can get the same with VS Studio and makefiles or batch files, but  
> I prefer the simplicity of NAnt build scripts.
>
> You can still have VS Studio call into NAnt if you want to keep the  
> workflow you have.
>   

Hi!

Maybe tomorrow you need use other IDE or tool not supported by VS Studio 
builds
I start using nAnt with VB6 (yes, old and evil VB) and now I'm working 
with Ant and Java don't know the tools that I'll use the next 
year... but probably I can use nant/ant.

Un saludo
Carlos Garcés


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Why NAnt over VS Studio builds?

2008-09-07 Thread Ron Grabowski
When building projects on a build server, nant doesn't require a full copy of 
Visual Studio installed on that machine. I don't have to install VS2003, 
VS2005, and VS2008 just to target different versions of the Framework. I found 
that getting msbuild support without Visual Studio installed on the build 
machine is a bit tricky too. Aside from the actual building of the projects, 
nant makes it possible to do complicated file copies, zipping, etc. with the  
include/exclude logic of their fileset component.



- Original Message 
From: Tero Vaananen <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Sent: Saturday, September 6, 2008 9:17:20 PM
Subject: [NAnt-users] Why NAnt over VS Studio builds?



As a NAnt noob I have some fundamental questions. The VS Studio build system 
has worked fine for me for years, even with solutions that have a few dozen sub 
projects. Is there something that NAnt can do for me that would make my life 
considerably easier? What convinced you to start using it?

Thanks.-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Why NAnt over VS Studio builds?

2008-09-07 Thread Martin Gainty

from my perspective Nant is a way to implement a build system without the 
interference of an IDE 
which specific configuration files does the build use?
are there specific binaries the build requires?
which components and which version of components does the build require?
which targets is the build environment using?

*the same argument applies to those who are diehard eclipse or netbeans IDE 
afficionados with Maven/Ant*

Saludos
Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Sun, 7 Sep 2008 16:07:17 +0200
> From: [EMAIL PROTECTED]
> To: nant-users@lists.sourceforge.net
> Subject: Re: [NAnt-users] Why NAnt over VS Studio builds?
> 
> On Sep 7, 2008, at 9:17 AM, Tero Vaananen wrote:
> 
> 
> > As a NAnt noob I have some fundamental questions. The VS Studio  
> > build system has worked fine for me for years, even with solutions  
> > that have a few dozen sub projects. Is there something that NAnt can  
> > do for me that would make my life considerably easier? What  
> > convinced you to start using it?
> >
> > Thanks.
> >   
> 
> Dominic Hamon escribió:
> > For me, it's the ability to have cross-platform development with a  
> > common build framework.
> >
> > You can get the same with VS Studio and makefiles or batch files, but  
> > I prefer the simplicity of NAnt build scripts.
> >
> > You can still have VS Studio call into NAnt if you want to keep the  
> > workflow you have.
> >   
> 
> Hi!
> 
> Maybe tomorrow you need use other IDE or tool not supported by VS Studio 
> builds
> I start using nAnt with VB6 (yes, old and evil VB) and now I'm working 
> with Ant and Java don't know the tools that I'll use the next 
> year... but probably I can use nant/ant.
> 
> Un saludo
> Carlos Garcés
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users

_
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] how to publish or output to a directory with msbuildtask

2008-09-07 Thread spatemp spatemp
Thank you all for replying.  I went ahead and created web deployment project
for my Web site.  This site use to be Web Site type of project and recently
I converted to Web Application type of project.  When I did a build using
Web Deployment project, and deployed to Windows 2003 server, I am getting
following error when I try to access a page.   It basically gives me CS0433
error.

Exception message:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NETFiles\website\0638e07f\70302fea\App_Web_egeneral.master.7371103c.ladtpjhq.0.cs(112):
error CS0433: The type 'MasterPage_eMasterLanding' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NETFiles\website\0638e07f\70302fea\assembly\dl3\750696ff\006b49d8_2e10c901\masterpages.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NETFiles\website\0638e07f\70302fea\assembly\dl3\ef1b9231\002c67d1_1f10c901\WebSite.DLL'


Is this a build issue because when I do a build from visual studio 2008 and
xcopy the entire site to 2003  then it works fine, no errors.  Also, it
works fine with my development box running windows xp.  My site contains
folders like below with some .cs code in Old_App_Code folder.  Once again
thank you all and any help in this regard would be greatly appreciated.


App_LocalResourcesApp_Themes
bin
Controls
CustomCalender
images
obj
Old_App_Code
Properties
RadControls
script
site
style


On Thu, Sep 4, 2008 at 3:48 PM, Bob Archer <[EMAIL PROTECTED]> wrote:

>   See answers inline below.
>  --
>
> *From:* spatemp spatemp [mailto:[EMAIL PROTECTED]
> *Sent:* Thursday, September 04, 2008 3:07 PM
> *To:* Bob Archer
> *Cc:* nant-users@lists.sourceforge.net
> *Subject:* Re: [NAnt-users] how to publish or output to a directory with
> msbuildtask
>
>
>
> ok.  So, by default Output path is set to bin\ folder and the solution is
> doing the build on say "Release" configuration.  By setting output path to
> some folder other then say bin\, will it copy all .aspx etc.. for web
> application.
>
> *[Bob Archer] No, it will only copy the binaries (DLLs) to that folder.
> You would still need to copy the .aspx files yourself.*
>
>
>
>
>
> Basically I am looking for what publishing a site does from MSBUILD.  I
> want to then take all that content and zip it up so that I can do a
> OnceClick deployment.
>
> *[Bob Archer] If you can do it from the command line in MSBUILD than you
> should be able to do it with nant calling msbuild. I have never used MSBUILD
> to do this though. See below on zipping it.*
>
>
>
> Also, what does web deployment project will give me and the benefits of
> using it with Web Application type of projects(not web site).
>
> *[Bob Archer] It will copy the .aspx files to a deployment location. It
> also lets you edit the web.config if say for example you want to change from
> a dev connection string to a staging/test connection string. See this blog
> post http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx . I
> have to admit I have never done this, I just use a nant task to copy the
> .aspx files to the deployment directory.*
>
>
>
> I can use xcopy but I want to avoid having to worry about excluding .cs
> file and the others that I dont want on my web server.
>
> *[Bob Archer] Probably easier to just include the files you do want. Here
> is the fileset I use though… (notice I exclude web.config because we deal
> with that another way.) *
>
> * *
>
> 
>
> 
>
>  />
>
> 
>
> 
>
> 
>
> 
>
>  />
>
>  name="**/*.csproj*" />
>
>  name="**/*.vbproj*" />
>
>  name="**/*.resources" />
>
>  />
>
>  name="**/*.vsdisco" />
>
>  />
>
> 
>
> 
>
> 
>
>
>
> You could even use this file set right in a ZIP task so you don't need to
> copy somewhere and then zip after a copy.
>
>
>
> Hope this helps,
>
> BOb
>
>
>
>
>
> On Thu, Sep 4, 2008 at 10:09 AM, Bob Archer <[EMAIL PROTECTED]> wrote:
>
> I think the easiest way to do this is to set up a build configuration in
> your solution that specifies where you want the output to go to.
>
>
>
> Other than that you can just use the copy task after the msbuild task to
> move your files.
>
>
>
> You may also want to look at creating a web deployment project in your
> solution which I think MSBuild wi