Re: [NAnt-users] Thoughts on moving NAnt to git

2010-10-21 Thread Ron Grabowski
Definitely something other than CVS. SVN seems to be a good enough SCM that a lot of people are familiar with. I doubt people will be doing large branches/merges to warrant getting into git. I wrote a little patch for nant a while ago and would probably do a few more minor minor things if the co

Re: [NAnt-users] c# compiler selection for the

2010-10-21 Thread keht
The only way to avoid it (that I found) - nant source code editing. Just hardcode compiler version into the task implementation... But it is the bad solution... Anyway, it works for me: CSharpCodeProvider sharpCompiler = new CSharpCodeProvider(new Dictionary() { { "CompilerVersion

Re: [NAnt-users] c# compiler selection for the

2010-10-21 Thread Gert Driesen
Hi Liam, We use CodeDOM to compile the script, and hence it uses the C# compiler corresponding to the CLR on which NAnt is running. The current target framework - as specified using the nant.settings.currentframework - does not affect this. I'd appreciate it if you'd submit a (documentatio

Re: [NAnt-users] c# compiler selection for the

2010-10-21 Thread Liam_Kenny
yeah, that is odd. I cannot get var to work. I changed my .config file settings as well to point to 3.5, but still getting an error. From: keht To: liam_ke...@acushnetgolf.com Cc: nant-users@lists.sourceforge.net Date: 10/21/2010 09:49 AM Subject:Re: [NAnt-users] c# compi

Re: [NAnt-users] c# compiler selection for the

2010-10-21 Thread keht
Sorry for unclear explanations... For example, this code returns an error:

Re: [NAnt-users] c# compiler selection for the

I am not exactly sure what you are asking, as your post is a bit unclear. if you want to use C# 3 features in your app, make sure you have the proper version installed and your app is referencing them. In addition, this listserv is not the proper place to post this question. if you want Nant t

[NAnt-users] c# compiler selection for the

Hi all, I want to use c# 3.0 features ("var" keyword, for example). But if I use it in the