Re: [Nant-users] Problems building a web project

2003-11-18 Thread Gert Driesen
Curtis,

My guess is that you'll also have to add a reference to the System.Web.dll
assembly.

Gert

- Original Message - 
From: "Curtis Zarger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 8:50 PM
Subject: [Nant-users] Problems building a web project


> Hi,
>
>
>
> I'm new to NAnt but it seems to be just what I'm looking for!
>
>
>
> In trying to build my first, simple VB.Net-based web project, I started by
> incorporating the references and imports as they were built by VS.Net.  I
> have a few errors that I cannot resolve.  It seems my "imports"
referencing
> is not right.  I am also not clear on how to incorporate .aspx files and
> their dependent .vb files.  Can anyone lend a hand, or maybe post an
example
> build file for a web project?
>
>
>
>
>
> TARGET CODE --->
>
> 
>
> 
>
>  debug="${debug}"
>
>
>
imports="Microsoft.VisualBasic,System,System.Collections,System.Data,System.
>
Diagnostics,System.Drawing,System.Web,System.Web.UI,System.Web.UI.HTMLContro
> ls,System.Web.UI.WebControls"
>
> optioncompare="text"
>
> optionexplicit="true"
>
> optionstrict="true"
>
> rootnamespace="Test1"
>
> removeintchecks="true">
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
> OUTPUT ->
>
>
>
> build:
>
>
>
>   [vbc] Compiling 5 files to C:\Inetpub\wwwroot\Test1\build\Test1.exe.
>
> vbc : error BC30464: Namespace or type 'HTMLControls' in the
> project-level Imports 'System.Web.UI.HTMLControls' cannot be found.
>
> vbc : error BC30464: Namespace or type 'UI' in the
project-level
> Imports 'System.Web.UI' cannot be found.
>
> vbc : error BC30464: Namespace or type 'WebControls' in the
> project-level Imports 'System.Web.UI.WebControls' cannot be found.
>
> vbc : error BC30420: 'Sub Main' was not found in 'Test1'.
>
> C:\Inetpub\wwwroot\Test1\Global.asax.vb(2) : error BC30466:
> Namespace or type 'SessionState' for the Imports 'System.Web.SessionState'
> cannot be found.
>
>
>
> Imports System.Web.SessionState
>
>
>
> THX
>
> Curt
>
>
>
>



---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Cannot use Nant 0.8.4 with NUnit

2003-11-18 Thread david . a . taylor
Hi,

We have fetched the latest build of Nant (0.8.4) which uses NUnit 2.1.3 but
we can only get NUnit 2.1.4 from the source forge website.  Does anyone know
of a work around or where I can get NUnit 2.1.3?

Regards,

David Taylor
Extension: 4496
Email:   [EMAIL PROTECTED]
Mobile: +44 7966 490138



---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] RE: Problems building web project

2003-11-18 Thread Curtis Zarger








Thxs to Dave Reed and Gert Driesen
for the help, I'm getting closer.  It seems I took too much of the WindowsForms
example to build my web project (1. vbc target should be "library"
for web apps, not "exe". 2. imports section is handled by the 'references
includes' entries.  3. System.Windows.Forms.dll 'include reference'
is replaced by System.Web.dll)

 

Anyway, I'm still left
with a missing reference to EventArgs, which is used in the global.asax.

   
C:\Inetpub\wwwroot\Test1\Global.asax.vb(31) : error BC30002: Type 'EventArgs'
is not defined.

   
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)

I have an include of System.dll,
which the documentation says is it's namespace.  Does anyone have an
idea what I'm still missing?

 

 

BUILD CODE * * * * * * * * *
* * * * * * * * * 



 



 

    

    

    

 

    

    

    

   
optioncompare="text"

   
optionexplicit="true"

   
optionstrict="true"

   
rootnamespace="Test1"

   
removeintchecks="true">

   


   


   


   


   


   


   


   


   


   


   


   


   


   


    

    

 

    



    



    



 

THX

 

Curt

 








RE: [Nant-users] RE: Problems building web project

2003-11-18 Thread David Reed








Curt, my experience with CSC seems to be
echoed by yours with VBC à the command line compilers are not very smart about intuiting
namespaces and sorting out namespace collisions.  I'll bet the same code
compiles just fine in VS.NET.  I believe the problem you're experiencing is
in the code, not in the references section of your build script.  Try
fully qualifying the namespace to EventArgs in the method signature, ByVal e System.EventArgs, or putting the VB-equivalent of using System; at the top of your global.asax.vb
file.  (Is it Imports System
perhaps?  Sure looks odd with no punctuation. :)  If that doesn't
work, see if you can get VBC to compile your files from the command line
without using NAnt...  Always happy to help.  Who knows whether
you'll be my boss next year or not?  Heh.

 

 

 



-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Curtis Zarger
Sent: Tuesday, November 18, 2003
8:06 AM
To:
[EMAIL PROTECTED]
Cc: Curtis Zarger
Subject: [Nant-users] RE: Problems
building web project

 

Thxs to Dave Reed and Gert
Driesen for the help, I'm getting closer.  It seems I took too much of the
WindowsForms example to build my web project (1. vbc target should be
"library" for web apps, not "exe". 2. imports section is handled
by the 'references includes' entries.  3. System.Windows.Forms.dll
'include reference' is replaced by System.Web.dll)

 

Anyway, I'm still left with
a missing reference to EventArgs, which is used in the global.asax.

   
C:\Inetpub\wwwroot\Test1\Global.asax.vb(31) : error BC30002: Type 'EventArgs'
is not defined.

   
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)

I have an include of
System.dll, which the documentation says is it's namespace.  Does anyone
have an idea what I'm still missing?

[snip]










RE: [Nant-users] Cannot use Nant 0.8.4 with NUnit

2003-11-18 Thread Breen, Patrick
Ran into the same problem the other day.  My resolution:  use Nunit
2.1.4 and rebuild Nant with this new version of Nunit.  Worked like a
charm.

Patrick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 8:38 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Cannot use Nant 0.8.4 with NUnit


Hi,

We have fetched the latest build of Nant (0.8.4) which uses NUnit 2.1.3
but
we can only get NUnit 2.1.4 from the source forge website.  Does anyone
know
of a work around or where I can get NUnit 2.1.3?

Regards,

David Taylor
Extension: 4496
Email:   [EMAIL PROTECTED]
Mobile: +44 7966 490138




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] Cannot use Nant 0.8.4 with NUnit

2003-11-18 Thread Keber, Dave
Try the steps outlined in: http://www.iunknown.com/000342.html
I've copied the text of this page below:

September 30, 2003
Happy together: NUnit 2.1 and NAnt 0.8.3

I figured I'd tackle a simple project while Matthew sleeps this afternoon:
making NAnt 0.8.3 and NUnit 2.1 live happily with one another. Out of the
box, this certainly isn't the case since NAnt 0.8.3 was built against NUnit
2.0.6 and it contains hard references to version 2.0.6 of
nunit.framework.dll.

Here's a set of steps that should make things work:

1. Copy nunit.framework.dll from your NUnit 2.1 install directory (typically
\Program Files\NUnit V2.1\bin) to your NAnt install directory (mine lives in
\Tools\NAnt\bin). 

2. The RemoteTestRunner class has changed between NUnit 2.0 and NUnit 2.1.
This requires a change to the NUnit2TestDomain.cs file from the NAnt 0.8.3
distribution. There are references to an Initialize() method, which has been
removed in NUnit 2.1. Below is a code frag that shows the new code and the
old code. This code frag begins at line 67 of NUnit2TestDomain.cs: 

if (testcase != null) {
runner.TestName = testcase;
runner.TestFileName = assemblyFile;
//runner.Initialize(testcase, assemblyFile);
} else {
runner.TestFileName = assemblyFile;
//runner.Initialize(assemblyFile);
}

3. Build NAnt by running "nant" on the command line from the NAnt directory.


If you are using Win2K3, and you haven't installed V1.0 of the frameworks,
you're going to be in for a bit more pain:

1. Reset NAnt to use the 1.1 Framework paths. To do this, edit the
NAnt.exe.config file (located in NAnt\bin). Find the frameworks XML element
and change the default attribute's value to "net-1.1".

2. When you build NAnt, it will try and run a set of unit tests against the
newly built version of NAnt. However, the NAnt.exe.config file is created
during the build process, and the unit tests will default to using V1.0 of
the frameworks. To fix this problem, edit NAnt.exe.config in the build
directory (Nant\build\nant-0.8.3.50105-debug\bin on my machine) and change
the frameworks XML element's default attribute's value to "net-1.1". 
3. Re-build NAnt, and the unit tests should all pass. 

If you've completed the above steps, don't forget to replace the files in
Nant\bin with the files you just compiled!

Posted by John at September 30, 2003 02:57 PM | TrackBack 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 18, 2003 7:38 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Cannot use Nant 0.8.4 with NUnit

Hi,

We have fetched the latest build of Nant (0.8.4) which uses NUnit 2.1.3 but
we can only get NUnit 2.1.4 from the source forge website.  Does anyone know
of a work around or where I can get NUnit 2.1.3?

Regards,

David Taylor
Extension: 4496
Email:   [EMAIL PROTECTED]
Mobile: +44 7966 490138



 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Cannot use Nant 0.8.4 with NUnit

2003-11-18 Thread Gert Driesen
I've committed the correct version to cvs, so this issue should be fixed in
the next nightly build ...

Gert

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 2003 2:37 PM
Subject: [Nant-users] Cannot use Nant 0.8.4 with NUnit


> Hi,
>
> We have fetched the latest build of Nant (0.8.4) which uses NUnit 2.1.3
but
> we can only get NUnit 2.1.4 from the source forge website.  Does anyone
know
> of a work around or where I can get NUnit 2.1.3?
>
> Regards,
>
> David Taylor
> Extension: 4496
> Email:   [EMAIL PROTECTED]
> Mobile: +44 7966 490138
>
>
>
> ---
> This SF. Net email is sponsored by: GoToMyPC
> GoToMyPC is the fast, easy and secure way to access your computer from
> any Web browser or wireless device. Click here to Try it Free!
> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
> ___
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] nant -help throws ConfigurationException

2003-11-18 Thread Jarrod Moore
Title: Message



I'm having some big 
issues with NAnt. Whenever I try to build a file from the command prompt, or 
open up the help options, I get the following error:
 
An unhandled 
exception of type 'System.Configuration.ConfigurationException' occurred in 
system.dll
 
Additional 
information: Error loading XML file 
c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config Request for 
the permission of type System.Security.Permissions.StrongNameIdentityPermission, 
mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 
failed.
 
The interesting part 
is that I have NAntMenu installed, and when I right click on some files and 
build that way, the builds will(sometimes) complete. I don't understand this 
because on my machine at home NAnt works perfectly everytime, but here at work, 
the failures are impeding acceptance. The NAnt executable and supporting 
assemblies are located in C:\Program Files\NAnt\, and everything I'm trying to 
build resides on the C drive, so I do not believe this is tied to the networking 
trust issues most people have posted as being the cause of the 
problem.
 
Any insight or help 
anyone can give would be most appreciated.
 
Thanks,
Jarrod


Re: [Nant-users] nant -help throws ConfigurationException

2003-11-18 Thread Scott Hernandez
Title: Message



Very interesting. Do you run any other .net apps on 
your work machine? Is you work machine managed by an admin that may have placed 
special restrictions on .net apps through the .net machine config? Can you 
(re)build nant on your work machine? Is there anymore of a stack trace 
available?
 
What .net code (security) group does nant run 
in? (NAnt needs to run with Full Trust, because of the use of reflection for 
creating tasks).
 
In short, I think we need more info to diagnose 
this problem... :)
 
 

  - Original Message - 
  From: 
  Jarrod 
  Moore 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, November 18, 2003 1:29 
  PM
  Subject: [Nant-users] nant -help throws 
  ConfigurationException
  
  I'm having some 
  big issues with NAnt. Whenever I try to build a file from the command prompt, 
  or open up the help options, I get the following error:
   
  An unhandled 
  exception of type 'System.Configuration.ConfigurationException' occurred in 
  system.dll
   
  Additional 
  information: Error loading XML file 
  c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config Request for 
  the permission of type 
  System.Security.Permissions.StrongNameIdentityPermission, mscorlib, 
  Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 
  failed.
   
  The interesting 
  part is that I have NAntMenu installed, and when I right click on some files 
  and build that way, the builds will(sometimes) complete. I don't understand 
  this because on my machine at home NAnt works perfectly everytime, but here at 
  work, the failures are impeding acceptance. The NAnt executable and supporting 
  assemblies are located in C:\Program Files\NAnt\, and everything I'm trying to 
  build resides on the C drive, so I do not believe this is tied to the 
  networking trust issues most people have posted as being the cause of the 
  problem.
   
  Any insight or 
  help anyone can give would be most appreciated.
   
  Thanks,
  Jarrod


[Nant-users] Sample Build file for C# WEBAPP?

2003-11-18 Thread Shaila Theraja
I'm new to NANT. I'm trying to build a web project containing 5 files in 
it.I don't need to refernce any .dll to it.
All I need to do is compile all my aspx.cs files and run my webapp from 
Internet explorer..
Can anyone provide me with a sample NANT.build file for C#.

Thanks a bunch,
Shaila
_
MSN Messenger with backgrounds, emoticons and more. 
http://www.msnmessenger-download.com/tracking/cdp_customize



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Release Date of 0.8.4

2003-11-18 Thread rido Min
I'm start using 0.8.3, but the suport to NUnit is
limited to 2.0

In 0.8.4 the NUnit support it's with 2.1.3 (not he
final release).

When do you expect to release an stable build of nant
including NUnit 2.1.4

Thx

rido

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Schema Validation

2003-11-18 Thread Patrick Fogarty

I've run into some issues related to schemas and just need a sanity check.

I typically use XML Spy for anything related to XML.  It allows me to easily
add elements and attributes and, more importantly, it allows me to validate
the document.  To do so, I include the appropriate namespace definitions in
the root element.

While attempting to create my first file (I finally got serious about using
NAnt) I ran into the following issues:
- NAnt.exe requires tags in the build file to be unqualified.  This isn't
necessarily a problem, just an observation.
- The schema files, nant-0.8.3.50105.xsd and nant-20031031.xsd, don't
validate.  XML Spy complains of duplicate types 'formatter' and 'test'.
- The build file won't validate.  XML Spy continually complains that the
element 'attrib' is required, as opposed to whatever tag I used (i.e.
'target'.)  This message indicates the validator expects the mentioned
element (in the case 'attrib') before whatever element generated the error.

I've taken a quick glance at the XSD and it seems to be defined ok with
respect to 'attrib' being optional rather than mandatory.  Am I overlooking
something?  What's happening?


 - Patrick Fogarty
   Patanne, Inc.


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[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 references in 
the  includes like the example following.
 
Is it 
that foreach won't work inside a csc/references tag?
 
Thanks,
Bill
 

Doesn't 
work:
 
          
      
         
       
  
 
 

Works:
 

          
      
 
    
  
 
 
 
--
On the other 
hand, this target works fine in the same directory:
 
           
 





NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited.



[Nant-users] Perforce Tasks?

2003-11-18 Thread Ben Lowery
Has anyone worked up some Perforce tasks for NAnt?  If so, would you be
willing to share them?

Thanks,

--b




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Release Date of 0.8.4

2003-11-18 Thread Gert Driesen
Rido,

The next nightly build will have support for NUnit 2.1.4 out of the box.

We consider the 0.8.4 nightly builds to be more stable than the 0.8.3
release, but nonetheless, the official 0.8.4 beta-cycle will start shortly

Gert
- Original Message - 
From: "rido Min" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 29, 2003 8:09 PM
Subject: [Nant-users] Release Date of 0.8.4


> I'm start using 0.8.3, but the suport to NUnit is
> limited to 2.0
>
> In 0.8.4 the NUnit support it's with 2.1.3 (not he
> final release).
>
> When do you expect to release an stable build of nant
> including NUnit 2.1.4
>
> Thx
>
> rido
>
> __
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
>
>
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] RE: [nant-dev] Editing .build files w/syntax hilighting in VS.NET

2003-11-18 Thread Erv Walter
You can also set this by right-clicking on a .build file in a project
(add one to a project temporarily if you need to) and choosing Open
With...  Choose "HTML/XML Editor" and click Set as Default.

-Original Message-
From: Matthew Mastracci [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 06, 2003 11:05 AM
To: Nant-Developers (E-mail); [EMAIL PROTECTED]
Subject: [nant-dev] Editing .build files w/syntax hilighting in VS.NET

I'm not sure if this was posted to these lists before, but this registry

modification with allow you to edit .build file with nice XML syntax 
hiliting in VS.NET 2003.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Editors\{8281C57
2-2171-45AA-A642-7D8BC1662F1C}\Extensions]
"build"=dword:0027

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Editors\{C76D83F
8-A489-11D0-8195-00A0C91BBEE3}\Extensions]
"build"=dword:0028

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File 
Extensions\.build]
@="{58E975A0-F8FE-11D2-A6AE-00104BCC7269}"
"unused"="HTML"




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] RE: [nant-dev] FYI

2003-11-18 Thread Philip Nelson

--- Damir Simunic <[EMAIL PROTECTED]> wrote:
> Since there is so much interest in this msbuild thing, here's the list of
> namespaces Microsoft.Build.BuildEngine

The book they handed out with the PDC alpha bits, "Introducing Longhorn for
Developers", Brent Rector, Microsoft Press, has a fairly unflattering
description of NAnt in it.  Some of the points are probably just wrong, but
others are not.  In particular, he describes how msbuild tasks can access each
other through a formal input and output description and how this is required in
Longhorn projects.  He also describes projects the include declarations from
multiple files.  No time to type the whole thing, but it may be difficult to
try and support that full syntax, and as a result the whole solution task. 
More enquiring minds will have to analyze it.


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] RE: [nant-dev] FYI

2003-11-18 Thread Damir Simunic
Since there is so much interest in this msbuild thing, here's the list of
namespaces Microsoft.Build.BuildEngine

When you open the link, click on 'sync toc' to see the rest of
Microsoft.Build.* namespaces in the TOC.

http://longhorn.msdn.microsoft.com/?//longhorn.msdn.microsoft.com/lhsdk/ref/
microsoft.build.buildengine.aspx

d.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brant
Carter
Sent: 28. listopad 2003 23:40
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [nant-dev] FYI

I am at PDC and attended the session last night.  The MSBuild is basically
NAnt with the following differences.

[1] Now the Visual Studio project file is the "build" file.  This allows for
much tighter integration between VS and the build tool.  In fact VS now
"shells" out to the build tool directly.

[2] The syntax is slightly different for using tasks.  Instead of using
 as the tag you use the .

[3] The tag names are all MixedCase instead of NAnts lowercase.

[4] They renamed some of the concepts like filesets etc..

[5] There is a need feature where you can create output sets.  These are
like filesets but are used as the output of a task.  You use the @() syntax

[6] Property syntax is $() instead of ${}

The big bad news is that they haven't really improved anything, just changed
it.  It would have been nice to see some sort of .sln support and a tool for
generating build-order dependencies from a set of assemblies.  Also note
that this won't be supported/usable until Whidbey or late 2004 so anyone
doing development now is stuck.

cheers

brant
...



>From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
>To: "Tom Cabanski" 
><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,lists.sourceforge.net>
>Subject: Re: [nant-dev] FYI
>Date: Tue, 28 Oct 2003 20:47:46 +0100
>
>Sounds like they've invented ant ;-) For some interesting comments, see:
>
>http://blogs.gotdotnet.com/korbyp/commentview.aspx/c6c8775e-74b3-4d9c-9
>71b-615f744cc1e5
>
>Do you think that NAnt should be changed to support MSBuild's XML 
>format in the future?
>Or even abandon current format to promote compatibility?
>
>(I know that without the knowledge of the format you cannot tell, but I 
>think it will be very similar to ant/nant, so that the conversion 
>should be pretty easy)
>
>Jarek
>
>- Original Message -
>From: "Tom Cabanski" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, October 28, 2003 8:14 PM
>Subject: [nant-dev] FYI
>
>
> > I think I would still prefer NAnt because it is cross-platform and
>open-source, but found this little blurb interesting.  I wonder if it 
>is in the preview stuff being passed out at the PDC this week?  I guess 
>I'll have to order up my copy and see (I get it as part of my companies 
>solution provider subscription).
> >
> > For those that do not know, Whidbey is the project name for the next
>version of VS.NET.  Up to now, I've been most interested in the new C# 
>features -- most notably, generics.
> >
> > >> MICROSOFT BLURB FOLLOWS <<
> > Product Build
> >
> > Historically, developers have struggled when trying to map a 
> > complicated
>build infrastructure into the Visual Studio IDE. Roadblocks 
>traditionally center around the inability to fully customize or 
>understand what happens when a project is built within the development 
>environment; the failure to reproduce a build within a build lab 
>environment where Visual Studio is not likely to be present; and the 
>limitations of a build system that was not optimized to model entire
products, but rather single projects.
> >
> > The Whidbey release of Visual Studio will radically improve this 
> > area of
>software development by introducing a new build engine called MSBuild. 
>Key design goals for MSBuild include: delivering a file format that is 
>well-documented and backed up by a published XML schema definition; 
>making the MSBuild engine an integral part of the .NET Framework 
>redistributable; allowing developers to customize, augment or 
>completely redefine the build process; and providing seamless 
>integration with the Visual Studio Whidbey IDE.
> >
> > First, MSBuild will introduce a new XML-based file format that is 
> > simple
>to understand and easy to extend. The MSBuild file format will enable 
>developers to fully describe what artifacts need to be built, as well 
>as how they need to be built under different configurations. In 
>addition, the file format will enable developers to author reusable 
>rules which can be factored into separate files so that builds can be 
>done consistently across different projects within a product.
> >
> > Second, MSBuild will ship as a core part of the Whidbey .NET 
> > Framework
>redistributable. This shift in philosophy will allow developers to rely 
>on the MSBuild infrastructure regardless of IDE presence and licensing
issues.
>In addition, by providing MSBuild class libraries as a core part of the 
>.NET Framework, develop