Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-22 Thread Parrish, Ken
Bob,

 

I seem to recall that as long as I executed the correct version of
MSBuild from the command line (.NET 2.0 vs .NET 3.5), MSBuild 'did the
right thing'.   I can be certain that it worked in all cases as I was
struggling with several issues simultaneously-in addition to moving to
VS 2008 solutions and projects, I was also trying to get some newly
minted C++ projects to build as well.

 

As I go along, I will try to 'prove out' my theory about Nant and it's
behavior with SDK Version 6.1 vs. 6.0A.  There are some additional
workstations here that haven't been fully upgraded to VS 2008 as yet and
I can use them as 'guinea pigs'.

 

I have yet as well to scan the registry to see what keys have changed
that might affect Nant's interaction with the SDKs.  TBD.  I'll keep you
posted.

 

Thanks to all for your help.

 

Ken Parrish

Gomez, Inc.

 

 

 

From: Bob Archer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2008 4:48 PM
To: Parrish, Ken; Gert Driesen; Julian Simpson;
nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild task and .NET 3.5

 

Sounds like a bug in Nant to me. I think I asked but you never
answered... can you build the project using MSBuild on the command line
of the machine you are having problems with? If so, it is not the SDK
issue but a Nant one. 

 

The only IDE I have on my build server is VS6 to compile VB stuff
with... ug. 

 

All my .Net 2.0 builds run fine just having .Net and .Net SDK's
installed.

 

BOb

 

 



From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2008 3:48 PM
To: Gert Driesen; Julian Simpson; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 

Sorry folks for my slow response.  Wearing many hat and fighting fires,
as I am sure you can all relate to.

 

When I posted my original question, I had installed the Windows SDK for
Server 2008 and .NET Framework 3.5.  I believe this installed SDK
Version 6.1.  However, Nant 0.86 did not, would not work with .NET 3.5
with this version of the SDK.  I tried cheating and hacking the
registry, but still no luck.

 

I then installed Visual Studio 2008 and in so doing, installed SDK
Version 6.0A.  Once I did this, Nant 0.86 began to work with .NET 3.5.
I adjusted the framework tag as follows:

 

frameworks


platform name=win32 default=net-3.5

. . .

/frameworks

Then things began to work-finally.

 

So, it appears that Nant Version 0.86 requires Version 6.0A of the SDK
and that Version 6.1, even though it is 'supposedly' newer and supports
.NET Framework 3.5, doesn't work.

 

What I don't know and can't say for sure, is whether Nant Version 0.86
SHOULD be able to work with SDK Version 6.1.  I just don't know enough
about the differences between SDK to say for sure.  As far as I can
tell, when I ONLY had Version 6.1 of the SDK, the registry entries
pointed to the right directories.

 

I would prefer not to have to install Visual Studio 2008 on a target
build machine just to get support for Nant Version 0.86 and the
msbuild task.  I'd rather just install the appropriate SDK.  However,
I cannot seem to find a separate installation of SDK Version 6.0A on
Microsoft's web site.

 

 

At this point, all my build scripts are functioning normally and I have
full support for mixed builds of 2005 and 2008 solutions files.  That's
good.  But, having had to install so many SDK on our build server, I
have quickly running out of disk space.  Having 3 SDKs and 2 IDEs on a
build server should not be necessary-kind of a heavy-handed approach to
this problem.

 

Any additional thoughts or insights would be appreciated.

 

Ken Parrish

Gomez, Inc.

 

 

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2008 4:03 AM
To: Parrish, Ken; Julian Simpson; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 

Ken,

 

Are you sure that the mentioned registry key exists on both machines?

 

I haven't checked this yet, but other users posted messages claiming
that this registry key is not created when you installed v6.1 of the
Windows SDK.

 

Also, can you try using the most recent nightly build of NAnt as that
fixes a few framework-related issues.

 

More details on the fixes are available here:

http://nant.sourceforge.net/nightly/latest/releasenotes.html

 

Gert

 

From: Parrish, Ken mailto:[EMAIL PROTECTED]  

Sent: Tuesday, October 21, 2008 11:10 PM

To: Julian Simpson mailto:[EMAIL PROTECTED]  ;
nant-users@lists.sourceforge.net 

Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 

Julian,

 

Thanks.  This was very insightful.

 

However, I have a conflict that I don't know how to resolve.

 

On the machine for which Nant Version 0.86 works with 'net-3.5'
framework specified, I have Windows SDK Version 6.0a installed.

 

On the machine for which Nant Version 0.86 does not work with 'net-3.5'
framework specified, I have Windows SDK Version 6.1

Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-22 Thread Bob Archer
Great Ken... thanks for the info. It's very timely since I am very close
to starting to move some of our products to the VS2008 project/.Net 3.5
compilers. I don't want to have to install VS on the build machine, even
though it has plenty enough disk space. 

 

BOb

 

(most of the thread trimmed so this message wouldn't be to long.) 

 



From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2008 5:30 PM
To: Bob Archer; Gert Driesen; Julian Simpson;
nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild task and .NET 3.5

 

Bob,

 

I seem to recall that as long as I executed the correct version of
MSBuild from the command line (.NET 2.0 vs .NET 3.5), MSBuild 'did the
right thing'.   I can be certain that it worked in all cases as I was
struggling with several issues simultaneously-in addition to moving to
VS 2008 solutions and projects, I was also trying to get some newly
minted C++ projects to build as well.

 

As I go along, I will try to 'prove out' my theory about Nant and it's
behavior with SDK Version 6.1 vs. 6.0A.  There are some additional
workstations here that haven't been fully upgraded to VS 2008 as yet and
I can use them as 'guinea pigs'.

 

I have yet as well to scan the registry to see what keys have changed
that might affect Nant's interaction with the SDKs.  TBD.  I'll keep you
posted.

 

Thanks to all for your help.

 

Ken Parrish

Gomez, Inc.

-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Parrish, Ken
Bob,

 

Thanks for the reference.

 

I am using Nant on two separate workstations.  I installed Nant Version
0.86 on both machines.  In both cases, I edited the Nant configuration
file and set:

 

   frameworks
platform name=win32 default=net-3.5

 

.
 

   /frameworks



On one workstation, all is well.  The msbuild task correctly
references the .NET 3.5 framework.

 

On our build server, I get the following error:

 

NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)

Copyright (C) 2001-2007 Gerry Shaw

http://nant.sourceforge.net

 

 

BUILD FAILED

 

Microsoft .NET Framework 3.5 (net-3.5) is not installed, or not
correctly configured.

 

Object reference not set to an instance of an object.

 

For more information regarding the cause of the build failure, run the
build again in debug mode.

 

Try 'nant -help' for more information

 

 

I reinstalled / repaired the installation of .NET Framework 3.5 on this
server, but that did not solve this problem.  If I set the default
platform back to 'net-2.0', it works find (as long as I don't reference
VS 2008 solutions files).

 

Do you or anyone have any thoughts or suggestions as to why I am getting
the error above?  Are there any additional OS or .NET components that
need to be installed to support Nant with the .NET version 3.5
framework?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

 

From: Bob Archer [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 5:35 PM
To: Parrish, Ken; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild task and .NET 3.5

 

You specify the framework targeting property when you start nant. Here
is the faq on it. 

 

http://nant.sourceforge.net/faq.html#framework-support

 

Bob

 

 



From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 5:06 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSBuild task and .NET 3.5

 

Does anyone know how to insure that the msbuild task targets the
version of MSBuild in the .NET Version 3.5 framework directory?  Is it
necessary to set the system path or is there a way to direct the
msbuild task to use a particular version of MSBuild?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Bob Archer
You probably need to install the .Net 3.5 SDK.

 

Bob

 

 



From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2008 2:03 PM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild task and .NET 3.5

 

Bob,

 

Thanks for the reference.

 

I am using Nant on two separate workstations.  I installed Nant Version
0.86 on both machines.  In both cases, I edited the Nant configuration
file and set:

 

   frameworks
platform name=win32 default=net-3.5

 

.
 

   /frameworks

On one workstation, all is well.  The msbuild task correctly
references the .NET 3.5 framework.

 

On our build server, I get the following error:

 

NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)

Copyright (C) 2001-2007 Gerry Shaw

http://nant.sourceforge.net

 

 

BUILD FAILED

 

Microsoft .NET Framework 3.5 (net-3.5) is not installed, or not
correctly configured.

 

Object reference not set to an instance of an object.

 

For more information regarding the cause of the build failure, run the
build again in debug mode.

 

Try 'nant -help' for more information

 

 

I reinstalled / repaired the installation of .NET Framework 3.5 on this
server, but that did not solve this problem.  If I set the default
platform back to 'net-2.0', it works find (as long as I don't reference
VS 2008 solutions files).

 

Do you or anyone have any thoughts or suggestions as to why I am getting
the error above?  Are there any additional OS or .NET components that
need to be installed to support Nant with the .NET version 3.5
framework?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

 

From: Bob Archer [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 5:35 PM
To: Parrish, Ken; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild task and .NET 3.5

 

You specify the framework targeting property when you start nant. Here
is the faq on it. 

 

http://nant.sourceforge.net/faq.html#framework-support

 

Bob

 

 



From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 5:06 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSBuild task and .NET 3.5

 

Does anyone know how to insure that the msbuild task targets the
version of MSBuild in the .NET Version 3.5 framework directory?  Is it
necessary to set the system path or is there a way to direct the
msbuild task to use a particular version of MSBuild?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Brass Tilde
 I am using Nant on two separate workstations.  I installed Nant Version 0.86
 on both machines.  In both cases, I edited the Nant configuration file and
 set:

Did you compare the two config files to make absolutely certain that
they are the same?

If so, it sounds like either something that should be in the path
isn't, or that something didn't get installed properly.

Brad

-
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=100url=/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Parrish, Ken
Where or how does Nant get the value, used in Nant.exe.config, for
'sdkInstallRoot' and 'installroot' ?

Do these map to environment variables?  Are they required?

Thanks,

Ken Parrish

-Original Message-
From: Brass Tilde [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2008 2:30 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 I am using Nant on two separate workstations.  I installed Nant
Version 0.86
 on both machines.  In both cases, I edited the Nant configuration file
and
 set:

Did you compare the two config files to make absolutely certain that
they are the same?

If so, it sounds like either something that should be in the path
isn't, or that something didn't get installed properly.

Brad


-
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=100url=/
___
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=100url=/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Parrish, Ken
Julian,

 

Thanks.  This was very insightful.

 

However, I have a conflict that I don't know how to resolve.

 

On the machine for which Nant Version 0.86 works with 'net-3.5'
framework specified, I have Windows SDK Version 6.0a installed.

 

On the machine for which Nant Version 0.86 does not work with 'net-3.5'
framework specified, I have Windows SDK Version 6.1 installed.
Supposedly this is the version of the framework for .NET 3.5.

 

I checked the registry key:

 

SOFTWARE\Microsoft\Microsoft
SDKs\v6.0A\WinSDKNetFxTools\InstallationFolder

 

This is present on both machines and references the 6.0A or 6.1 version
of the SDK respectively.

 

It seems counter intuitive that I should need to revert BACK to SDK
Version 6.0A from Version 6.1 in order for Nant 0.86 to operate
properly.

 

Is there some reason or explanation why Nant 0.86 might NOT be
compatible with SDK Version 6.1?  I would think that this problem
manifests itself 'the other way 'round'.

 

Any other ideas or clues would be greatly appreciated.

 

Ken Parrish

Gomez, Inc.

 

 

 

From: Julian Simpson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2008 4:20 PM
To: Parrish, Ken
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 

Having just spent this evening wrestling with the same issue, I can tell
you that they come from the registry.  Have a look at this post:

 

http://www.timbarcz.com/blog/CategoryView,category,Nant.aspx

 

They don't map to environment variables and the application uses them
extensively.

 

Jumping in late here but I presume that you'll want to install at least
the .NET 3.5 SDK to make your build work.  I just ended up installing a
Visual Studio 2008 and the SDK to support the project I've been working
on.

 

 Best

 

Julian

 

 

 

 

On 21 Oct 2008, at 20:17, Parrish, Ken wrote:





Where or how does Nant get the value, used in Nant.exe.config, for

'sdkInstallRoot' and 'installroot' ?

 

Do these map to environment variables?  Are they required?

 

-- 

Julian Simpson

Software Build and Deployment

http://www.build-doctor.com

 

 

 

-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Bob Archer
Do you have visual studio installed on the one that is working... and
not on the one that isn't.? 

 



From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2008 5:10 PM
To: Julian Simpson; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 

Julian,

 

Thanks.  This was very insightful.

 

However, I have a conflict that I don't know how to resolve.

 

On the machine for which Nant Version 0.86 works with 'net-3.5'
framework specified, I have Windows SDK Version 6.0a installed.

 

On the machine for which Nant Version 0.86 does not work with 'net-3.5'
framework specified, I have Windows SDK Version 6.1 installed.
Supposedly this is the version of the framework for .NET 3.5.

 

I checked the registry key:

 

SOFTWARE\Microsoft\Microsoft
SDKs\v6.0A\WinSDKNetFxTools\InstallationFolder

 

This is present on both machines and references the 6.0A or 6.1 version
of the SDK respectively.

 

It seems counter intuitive that I should need to revert BACK to SDK
Version 6.0A from Version 6.1 in order for Nant 0.86 to operate
properly.

 

Is there some reason or explanation why Nant 0.86 might NOT be
compatible with SDK Version 6.1?  I would think that this problem
manifests itself 'the other way 'round'.

 

Any other ideas or clues would be greatly appreciated.

 

Ken Parrish

Gomez, Inc.

 

 

 

From: Julian Simpson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2008 4:20 PM
To: Parrish, Ken
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 

Having just spent this evening wrestling with the same issue, I can tell
you that they come from the registry.  Have a look at this post:

 

http://www.timbarcz.com/blog/CategoryView,category,Nant.aspx

 

They don't map to environment variables and the application uses them
extensively.

 

Jumping in late here but I presume that you'll want to install at least
the .NET 3.5 SDK to make your build work.  I just ended up installing a
Visual Studio 2008 and the SDK to support the project I've been working
on.

 

 Best

 

Julian

 

 

 

 

On 21 Oct 2008, at 20:17, Parrish, Ken wrote:

 

Where or how does Nant get the value, used in Nant.exe.config, for

'sdkInstallRoot' and 'installroot' ?

 

Do these map to environment variables?  Are they required?

 

-- 

Julian Simpson

Software Build and Deployment

http://www.build-doctor.com

 

 

 

-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Julian Simpson

Hi,

What Bob said.  Do the paths in the registry exist on the filesystem?

I know for a fact that you can build this stuff without Visual  
Studio, but I run out of time to investigate.  I have twice ended up  
having to install the IDE and be move on.


Best

Julian.


On 21 Oct 2008, at 23:02, Bob Archer wrote:

Do you have visual studio installed on the one that is working… and  
not on the one that isn’t.?


From: Parrish, Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 5:10 PM
To: Julian Simpson; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

Julian,

Thanks.  This was very insightful.

However, I have a conflict that I don’t know how to resolve.

On the machine for which Nant Version 0.86 works with ‘net-3.5’  
framework specified, I have Windows SDK Version 6.0a installed.


On the machine for which Nant Version 0.86 does not work with  
‘net-3.5’ framework specified, I have Windows SDK Version 6.1  
installed.  Supposedly this is the version of the framework  
for .NET 3.5.


I checked the registry key:

SOFTWARE\Microsoft\Microsoft SDKs\v6.0A\WinSDKNetFxTools 
\InstallationFolder


This is present on both machines and references the 6.0A or 6.1  
version of the SDK respectively.


It seems counter intuitive that I should need to revert BACK to SDK  
Version 6.0A from Version 6.1 in order for Nant 0.86 to operate  
properly.


Is there some reason or explanation why Nant 0.86 might NOT be  
compatible with SDK Version 6.1?  I would think that this problem  
manifests itself ‘the other way ‘round’.


Any other ideas or clues would be greatly appreciated.

Ken Parrish
Gomez, Inc.



From: Julian Simpson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 4:20 PM
To: Parrish, Ken
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

Having just spent this evening wrestling with the same issue, I can  
tell you that they come from the registry.  Have a look at this post:


http://www.timbarcz.com/blog/CategoryView,category,Nant.aspx

They don't map to environment variables and the application uses  
them extensively.


Jumping in late here but I presume that you'll want to install at  
least the .NET 3.5 SDK to make your build work.  I just ended up  
installing a Visual Studio 2008 and the SDK to support the project  
I've been working on.


 Best

Julian




On 21 Oct 2008, at 20:17, Parrish, Ken wrote:

Where or how does Nant get the value, used in Nant.exe.config, for
'sdkInstallRoot' and 'installroot' ?

Do these map to environment variables?  Are they required?

--
Julian Simpson
Software Build and Deployment
http://www.build-doctor.com





--
Julian Simpson
Software Build and Deployment
http://www.build-doctor.com



-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] MSBuild task and .NET 3.5

2008-10-20 Thread Parrish, Ken
Does anyone know how to insure that the msbuild task targets the
version of MSBuild in the .NET Version 3.5 framework directory?  Is it
necessary to set the system path or is there a way to direct the
msbuild task to use a particular version of MSBuild?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-20 Thread Bob Archer
You specify the framework targeting property when you start nant. Here
is the faq on it. 

 

http://nant.sourceforge.net/faq.html#framework-support

 

Bob

 

 



From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 5:06 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSBuild task and .NET 3.5

 

Does anyone know how to insure that the msbuild task targets the
version of MSBuild in the .NET Version 3.5 framework directory?  Is it
necessary to set the system path or is there a way to direct the
msbuild task to use a particular version of MSBuild?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

-
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=100url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] MSBUILD task of nant contrib always call x86 msbuild.exe.

2008-06-23 Thread Yogendra Prasad


Hi All,
 
I have a 64bit build machine, and in my build script I used msbuild task for 
building a *.csproj. I could see msbuild task always calls 32bit msbuild.exe 
to compile the project. 
 
Is there any way where i could configure NANT or NANT contrib config files or 
do some thing so that msbuild task will invoke 64bit msbuild.exe.
 
Please help me.
 
Thanks.
 



  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] MSBUILD task of nant contrib always call x86 msbuild.exe

2008-06-23 Thread Yogendra Prasad
Hi All,

I have a 64bit build machine, and in my build script I used msbuild task
for building a *.csproj. I could see msbuild task always calls 32bit
msbuild.exe to compile the project.

Is there any way where i could configure NANT or NANT contrib config files
or do some thing so that msbuild task will invoke 64bit msbuild.exe.

Please help me.

Thanks.
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] MSBuild with Web Sites

2008-03-04 Thread Eric Fetzer
I've been struggling with using MSBuild on Web Sites for some time but have 
never had time to bring it before an audience.  Here's what I've been up 
against:

1)  For the web site, MSBuild creates a directory based on attributes set in 
the SLN PreCompiledWeb
2)  In this directory, MSBuild puts a bunch of interim dll's
3)  In order to make the web site function without the source there (i.e. 
runtime compilation), I need to deploy all of these dll's

My question:  Is there a way to have MSBuild create a full dll, say 
WebSite.dll, instead of stopping short with all of the interim dll's?

Thanks,
Eric


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild with Web Sites

2008-03-04 Thread Dix, John
If I understand the question right, you should use a deployment project
in your solution and once you have compiled the code, then compile the
deployment project as well. This sets up the directory with only the
files you need and removes the intermediate DLL's. 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Fetzer
Sent: Tuesday, March 04, 2008 9:32 AM
To: Nant Users
Subject: [NAnt-users] MSBuild with Web Sites

 

I've been struggling with using MSBuild on Web Sites for some time but
have never had time to bring it before an audience.  Here's what I've
been up against:

 

1)  For the web site, MSBuild creates a directory based on attributes
set in the SLN PreCompiledWeb

2)  In this directory, MSBuild puts a bunch of interim dll's

3)  In order to make the web site function without the source there
(i.e. runtime compilation), I need to deploy all of these dll's

 

My question:  Is there a way to have MSBuild create a full dll, say
WebSite.dll, instead of stopping short with all of the interim dll's?

 

Thanks,

Eric

 



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.
http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62
sR8HDtDypao8Wcj9tAcJ%20 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild with Web Sites

2008-03-04 Thread Bob Archer
I think there is a tool, the aspnet_compiler that will allow you to join
all of these DLL's into a single DLL. You would probably need to call it
after calling msbuild.

 

The other option is to add a Web Deployment project, which I think is a
wrapper around the aspnet_compiler. Then I believe MS build will run the
web deployment project.

 

The final option would be to move from a web site to a web application
project type. But you do loose a small bit of functionality if using
profiles.

 

BOb

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Fetzer
Sent: Tuesday, March 04, 2008 12:32 PM
To: Nant Users
Subject: [NAnt-users] MSBuild with Web Sites

 

I've been struggling with using MSBuild on Web Sites for some time but
have never had time to bring it before an audience.  Here's what I've
been up against:

 

1)  For the web site, MSBuild creates a directory based on attributes
set in the SLN PreCompiledWeb

2)  In this directory, MSBuild puts a bunch of interim dll's

3)  In order to make the web site function without the source there
(i.e. runtime compilation), I need to deploy all of these dll's

 

My question:  Is there a way to have MSBuild create a full dll, say
WebSite.dll, instead of stopping short with all of the interim dll's?

 

Thanks,

Eric

 



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.
http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62
sR8HDtDypao8Wcj9tAcJ%20 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild with Web Sites

2008-03-04 Thread Ken Parrish




We do this on a regular basis. As Mr. Dix said, you will need to
create a web deploy project and include it in your solution. Once
you've created this project, in the Properties dialog box, there is a
Output Assemblies option which gives you various options for deploying
separate DLLs or merging them based on various criteria. Which option
you choose depends on your enterprise deployment and update
requirements.

We often augment the web deploy project with additional Nant targets
which deal with the combining and merging of other external resources
which are not part of the project and solution definitions.

You can also edit the MSBuild script (project file) generated by the
web deploy project with custom commands--not for the feint of heart.
Easier done in Nant, but an option just the same.

You will need to pay close attention to the paths and locations for the
runtime image generated by the web deploy project. Also, when using
MSBuild via Nant, pay attention to the MSBuild temporary path the
project options for your main web site project properties. Directory
conflicts can occur that are not manifested when building within Visual
Studio.

Hope this helps.

Ken Parrish
Gomez, Inc.

Bob Archer wrote:

  
  

  
  
  I think
there is a tool, the
aspnet_compiler that will allow you to join all of these DLLs into a
single DLL. You would probably need to call it after calling msbuild.
  
  The other
option is to add a Web
Deployment project, which I think is a wrapper around the
aspnet_compiler. Then
I believe MS build will run the web deployment project.
  
  The final
option would be to move from a
web site to a web application project type. But you do loose a small
bit of functionality if using profiles.
  
  BOb
  
  
  
  
  
  From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Eric Fetzer
  Sent: Tuesday, March
04, 2008
12:32 PM
  To: Nant Users
  Subject: [NAnt-users]
MSBuild with
Web Sites
  
  
  
  
  I've been struggling with using MSBuild on
Web Sites for some time but
have never had time to bring it before an audience. Here's what I've
been
up against:
  
  
  
  
  
  1) For the web site, MSBuild creates a
directory based on
attributes set in the SLN "PreCompiledWeb"
  
  
  2) In this directory, MSBuild puts a bunch
of "interim
dll's"
  
  
  3) In order to make the web site function
without the source
there (i.e. runtime compilation), I need to deploy all of these dll's
  
  
  
  
  
  My question: Is there a way to have MSBuild
create a full dll,
say WebSite.dll, instead of stopping short with all of the "interim
dll's"?
  
  
  
  
  
  Thanks,
  
  
  Eric
  
  
  
  
  
  Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try
it now.
  
  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  

___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
  





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild

2006-07-28 Thread Brass Tilde
 msbuild ...
  ...
 property name=Configuration value=${build.config} /
 /msbuild

Geez, where have I been?  Does this msbuild / task support the .NET 
2.0 version of the program?

Brad 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild

2006-07-28 Thread Gert Driesen
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Brass Tilde
 Sent: vrijdag 28 juli 2006 13:22
 To: nant-users@lists.sourceforge.net
 Subject: Re: [NAnt-users] MSBuild
 
  msbuild ...
   ...
  property name=Configuration value=${build.config} /
  /msbuild
 
 Geez, where have I been?  Does this msbuild / task support the .NET 
 2.0 version of the program?

Yes.

Note: it currently is only part of NAntContrib.

Gert


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild

2006-07-27 Thread Gert Driesen

 - Original Message - 
 From: Gary Feldman [EMAIL PROTECTED]
 To: nant-users@lists.sourceforge.net
 Sent: Thursday, July 27, 2006 1:22 AM
 Subject: Re: [NAnt-users] MSBuild


 Chris Holt wrote:
 
  I’m trying to switch my nant script to use the msbuild task instead of
  executing devenv and I’m not sure how to properly choose the build
  configuration.
 
  So for example, if I want to clean the Debug build of a solution file
  I understand that I need to have the task defined like this:
 
  msbuild project=${build.dir}\My.sln target=Clean /
 
  But how do I tell it to clean the debug configuration as opposed to
  the Release configuration or vice versa?
 
  Does anybody have an example of doing this?
 
 I use an explicit msbuild property switch as a command line argument:

 msbuild ...
 ...
 arg value=/property:Configuration=${build.config} /
 /msbuild

You should use this instead:

msbuild ...
 ...
property name=Configuration value=${build.config} /
/msbuild

Gary, can you add an example to the MSBuildTask.cs in NAntContrib ?

(let me know if you still need commit access)

Gert 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild

2006-07-26 Thread Gary Feldman
Chris Holt wrote:

 I’m trying to switch my nant script to use the msbuild task instead of 
 executing devenv and I’m not sure how to properly choose the build 
 configuration.

 So for example, if I want to clean the Debug build of a solution file 
 I understand that I need to have the task defined like this:

 msbuild project=${build.dir}\My.sln target=Clean /

 But how do I tell it to clean the debug configuration as opposed to 
 the Release configuration or vice versa?

 Does anybody have an example of doing this?

I use an explicit msbuild property switch as a command line argument:

msbuild ...
...
arg value=/property:Configuration=${build.config} /
/msbuild

Gary


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] MSBuild

2006-07-25 Thread Chris Holt








Im trying to switch my nant script to use the msbuild
task instead of executing devenv and Im not sure how to properly choose
the build configuration.

So for example, if I want to clean the Debug build of a
solution file I understand that I need to have the task defined like this:



msbuild project=${build.dir}\My.sln target=Clean /



But how do I
tell it to clean the debug configuration as opposed to the Release configuration
or vice versa?

Does anybody have an example of doing this?



Thanks,



Chris






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] MSBuild task and setup/deployment projects

2006-07-25 Thread Chris Holt








Some said the following back in May about MSBUILD:



At
any rate, VS2005 has MSBuild, so until the solution task is updated for 2005,
you could just call MSBuild. this is what I'm doing, and works well.

It also has the advantage of building ALL project
types, including Setup/Deployment projects, which the solution task can't
handle for 2003.



When I use msbuild to build a solution I get these
two warnings:



 [msbuild] C:\Builds\Build138\Kernel\RmtSvr\RmtSvr.sln :
warning MSB4078: The project file Kit\RmtSvr_Kit.vdproj is not
supported by MSBuild and cannot be built.

 [msbuild] C:\Builds\Build138\Kernel\RmtSvr\RmtSvr.sln :
warning MSB4078: The project file
KitOracle\DFR_Remoting_Svr_Orcl.vdproj is not supported by MSBuild
and cannot be built.



According to these warnings msbuild does not support
building setup/deployment projects. What am I doing wrong or is this not
supported by msbuild?



Thanks,



Chris






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] MSBuild

2006-07-25 Thread Chris Holt








Not sure what you mean about the configuration
property. The documentation of the msbuild task doesnt list a
configuration property. Is there one that isnt documented?



Chris











From: Robinson, Heath
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 25, 2006 9:27
AM
To: Chris Holt;
nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild





If you are using the msbuild task that I
wrote (does the nightly build contain one), you should specify the
Configuration property just like you would on the nant task.









From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Holt
Sent: Tuesday, July 25, 2006 7:22
AM
To:
nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSBuild

Im trying to switch my nant script to use the msbuild
task instead of executing devenv and Im not sure how to properly choose
the build configuration.

So for example, if I want to clean the Debug build of a
solution file I understand that I need to have the task defined like this:



msbuild project=${build.dir}\My.sln target=Clean /



But how do I
tell it to clean the debug configuration as opposed to the Release
configuration or vice versa?

Does anybody have an example of doing this?



Thanks,



Chris






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] msbuild

2006-02-02 Thread netsql

how do I call a msbuild task from nant?
tia,
.V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [NAnt-users] msbuild

2006-02-02 Thread Simon Thorogood
I do it like this:

exec program=msbuild output=msbuild_log.xml failonerror=true
arg value=myproj.proj/
arg line=/p:Configuration=Release/
/exec

the msbuild.exe path will need be appended to your PATH env var also.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of netsql
Sent: 02 January 2006 01:53
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msbuild


how do I call a msbuild task from nant?
tia,
.V



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

_
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning 
Services - powered by MessageLabs. For further information visit 
http://www.mci.com

_
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning 
Services - powered by MessageLabs. For further information visit 
http://www.mci.com


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [NAnt-users] msbuild call

2006-01-04 Thread Gert Driesen
Vic,

We're planning on adding a msbuild task (contributed by Martin Aliger) to
NAnt(Contrib) soon.

Gert 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Vic Cekvenich
 Sent: dinsdag 3 januari 2006 3:23
 To: nant-users@lists.sourceforge.net
 Subject: [NAnt-users] msbuild call
 
 how do I call ms build from nant?
 
 tia,
 .V
 
 
 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep 
 through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  
 DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 NAnt-users mailing list
 NAnt-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-users
 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] msbuild call

2006-01-04 Thread Gary Feldman

Gert Driesen wrote:


Vic,

We're planning on adding a msbuild task (contributed by Martin Aliger) to
NAnt(Contrib) soon.
 


In the meantime, exec works just fine.

Gary


Sent: dinsdag 3 januari 2006 3:23
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msbuild call

how do I call ms build from nant?

tia,
.V
   






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users