Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Msbuild proposition
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andreone  
View profile  
 More options Dec 15 2009, 6:16 am
From: Andreone <nfauve...@gmail.com>
Date: Tue, 15 Dec 2009 03:16:32 -0800 (PST)
Local: Tues, Dec 15 2009 6:16 am
Subject: Msbuild proposition
Currently, the msbuild task by default uses the msbuild version
shipped with the 3.5 framework.
If we want to use another one, we have to specify the path_to_command
attribute.

To simplify the use of other framework versions, I propose to use
predefined constants that would point to the default location of well
known frameworks.
for 2.0sp1, its C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\MSBuild.exe
for 3.5, it's C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild.Exe
and so on.

We could end up with something like:
t.path_to_command = '3.5'

or even add a new attribute:
t.framework = '3.5'

and the task would then known which msbuild version to lookup and use.
There would still be the possibility to set a custom location but it
would correspond to 99,9% of the use cases.

What do you think?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Garry Shutler  
View profile  
 More options Dec 15 2009, 7:24 am
From: Garry Shutler <ga...@robustsoftware.co.uk>
Date: Tue, 15 Dec 2009 04:24:44 -0800 (PST)
Local: Tues, Dec 15 2009 7:24 am
Subject: Re: Msbuild proposition
Sounds a good idea to me.

It would be useful to be able to set a default for the scope of all
your tasks (most people would always use the same version) but be able
to override it at the individual task level (some people may want to
build against different versions from the same build script).

The only thing I'm not sure about is how to specify the framework
versions. Initial thought is to want to use a symbol but that is
incompatible with what you would want to specify (1.1, 2.0, 3.5, 4.0,
etc). There may be other behaviour related to the version of msbuild
so rather than being a string, the framework attribute could instead
be an object. I'm not familiar with any msbuild version other than 3.5
so I don't know if this is the case.

On Dec 15, 11:16 am, Andreone <nfauve...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mendicant  
View profile  
 More options Dec 17 2009, 2:21 pm
From: mendicant <mendic...@gmail.com>
Date: Thu, 17 Dec 2009 11:21:33 -0800 (PST)
Local: Thurs, Dec 17 2009 2:21 pm
Subject: Re: Msbuild proposition
You could take a look at this:

http://github.com/mendicantx/rubicant/blob/master/lib/dotnet/framewor...
http://github.com/mendicantx/rubicant/blob/master/lib/dotnet/framewor...

I know it works for 3.5 and 2.0, but obviously that's all I've used it
for.

It is essentially used in my MSBuild task to choose the folder for
msbuild: http://github.com/mendicantx/rubicant/blob/08294cfec4f13cb3dfa45f3a80...

It's basically a ripoff from NAnt and somewhat like how they do it.
You just need to add a FRAMEWORK={blah} on the command line to
override the default.

mendicant

On Dec 15, 5:24 am, Garry Shutler <ga...@robustsoftware.co.uk> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derick Bailey  
View profile  
 More options Dec 21 2009, 10:15 am
From: Derick Bailey <derickbai...@gmail.com>
Date: Mon, 21 Dec 2009 09:15:42 -0600
Local: Mon, Dec 21 2009 10:15 am
Subject: Re: [AlbacoreDev] Re: Msbuild proposition

i like the idea of easily changing framework / msbuild versions, and I like
the way mendicant has done it with his tasks / yml file... i'm wondering if
our existing yml auto-config would get in the way of that. we could probably
make it work, but i would want it to be simple / obvious for people that are
already using the yml auto-config.

  -derick

--
- Derick Bailey
- @derickbailey
- http://DerickBailey.LosTechies.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »