NetSago
Enter
Log In

How to join?
Menu
Home
News
 Notes
Articles
Tags
Search
About Project
Links
Ours
RSS News RSS
RSS Notes RSS
netsago NetSago
Topically
Authorisation system on environment variables. by n0xi0uzz

Phrack all issues downloader by n0xi0uzz

Notes — Building Visual Studio projects from command line.
Back to Notes

Building Visual Studio projects from command line.
n0xi0uzz



Tags: visual studio microsoft



To build Microsoft Visual Studio projects from command line use devenv utility. First of all you should execute vsvars32.bat file to set the appropriate environment variables. Search it in C:\Program Files\Microsoft Visual Studio 8\Common7\Tools. This set will be only for current command window.

Here is an example of using the devenv utility:

C:\Documents and Settings\n0xi0uzz\Desktop\src>devenv graphs.sln /build

Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
——— Build started: Project: graphs, Configuration: Debug Win32 ———
Compiling...
stdafx.cpp
Compiling...
GRAPH.cpp

graphs.cpp
graphsDoc.cpp
graphsView.cpp
MainFrm.cpp
Generating Code...
Compiling resources...
Compiling manifest to resources...
Linking...
Embedding manifest...
Build log was saved at "file://c:\Documents and Settings\n0xi0uzz\Desktop\src\Debug\BuildLog.htm"
graphs - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Other options of the devenv utility you can get by typing devenv /?. Also you can read about it on MSDN:
http://msdn2.microsoft.com/en-us/library/xee0c8y7(VS.80).aspx
Language
Russian/Русский
Search
Advanced Search
Report a Bug
If you find a bug on our site please report us.
Counters
0 / 0
Today we have not visits by robots.

Registered users: 0
Online: 0

Page build time: 0.020 sec
NetSago.v2.β © [2006;∞)  Neunica