Command line compilation of visual studio project files.

E

Emmanuel

Hi,

I am using VS 2003 to build my (csharp) solution.

1. Is there a way to reveal the command line options that VS is using during
compilation of a project file, in order to build a batch file/makefile ?

2. Is there an option in the command line compiler that builds a VS project
?

3. If none of the above is true, is there a tool that parses the project
files and creates makefile(s) or batch files ?

Thanks

Emmanuel
 
J

Jon Skeet [C# MVP]

Emmanuel said:
I am using VS 2003 to build my (csharp) solution.

1. Is there a way to reveal the command line options that VS is using during
compilation of a project file, in order to build a batch file/makefile ?

devenv /?
2. Is there an option in the command line compiler that builds a VS project
?

Yup - use /Project
3. If none of the above is true, is there a tool that parses the project
files and creates makefile(s) or batch files ?

No need - see the above.
 
E

Emmanuel

Why does not Microsoft reply to my post (although I am an MSDN subscriber) ?

Emmanuel
 
J

Jon Skeet [C# MVP]

Emmanuel said:
Why does not Microsoft reply to my post (although I am an MSDN subscriber) ?

1) You need to post with the email address associated with your MSDN
subscription.

2) What was wrong with my answer anyway?
 
E

Emmanuel_

Hi Jon,
1) You need to post with the email address associated with your MSDN
subscription.
I did, but Microsoft tends to forget this kind of associations. Anyway,
today I discovered that I needed to re-associate my subscription with the
email address (nobody knows why. I never interrupted my subscription).
2) What was wrong with my answer anyway?
To which answer are you referring to ? Did I miss your post ?

Anyway do you have something to suggest about my initial post ? Any help
would be appreciated ...

Thanks
Emmanuel
 
J

Jon Skeet [C# MVP]

Emmanuel_ said:
I did, but Microsoft tends to forget this kind of associations. Anyway,
today I discovered that I needed to re-associate my subscription with the
email address (nobody knows why. I never interrupted my subscription).

So you really had your MSDN email address as (e-mail address removed)?
To which answer are you referring to ? Did I miss your post ?

I don't know whether or not you missed it, but I replied to your
question 3 hours after you posted it.
Anyway do you have something to suggest about my initial post ? Any help
would be appreciated ...

I suggest you look it up on groups.google.com...

However, looking back I see that my answer to question 1 was incorrect,
as I'd misinterpreted the question. Fortunately, I don't think it
matters, because the answer to question 2 is the most important thing.
(Note that you want to use devenv, not csc - csc just compiles C#
files; there may be other things that are needed to build a project,
including other dependencies etc.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top