473,785 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

devenv command line

Hi,
I've been working with devenv from the command line for the last
couple of days and cannot
get to build the msi file correctly. if I excecute the devenv.exe via
the command line or batch file
it creates a .msi file with 5k size, however, if I build my solution
via the IDE then I get a correct .msi with 9MB. I am using the devenv
in a batch file as follow:

@set projdir=E:\netp roject
....
%denenvdir%\dev env.exe %projdir%\Testp roject.sln /build debug /project
setupproject /out "c:\temp\setup. msi"

I tried changing the solutionconfig to "release" still creates a msi
file with 5k. I am sure someone out there has encountered this problem
with devenv. Can anyone give me an idea/sample please how to build a
msi via the command line, thanks in advance.

Regards

Jul 29 '06 #1
1 4512
Nevermind, I figured it out. Had to do with the output msi file.
wandii wrote:
Hi,
I've been working with devenv from the command line for the last
couple of days and cannot
get to build the msi file correctly. if I excecute the devenv.exe via
the command line or batch file
it creates a .msi file with 5k size, however, if I build my solution
via the IDE then I get a correct .msi with 9MB. I am using the devenv
in a batch file as follow:

@set projdir=E:\netp roject
...
%denenvdir%\dev env.exe %projdir%\Testp roject.sln /build debug /project
setupproject /out "c:\temp\setup. msi"

I tried changing the solutionconfig to "release" still creates a msi
file with 5k. I am sure someone out there has encountered this problem
with devenv. Can anyone give me an idea/sample please how to build a
msi via the command line, thanks in advance.

Regards
Aug 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2890
by: SR | last post by:
Hi Would suggest that instead of using the process class and invoking the devenv, u try using the VS.Net object library. This will help you perform the operations in a much more controlled way. regards,
0
1043
by: Lanky | last post by:
Hi All, I was wondering with the command line tool "devenv.exe" is there a switch to turn on the generation of XML doumentation for an entire solution? I can only find the setting to generate the XML documentation on a project basis.
0
1642
by: Nitin Gaur | last post by:
Hi, I am developing an application using Visual Studio .NET in C++. I am using following command to automate the debugging of this executable: devenv -command Debug.StepInto myProg.cpp -debugexe myProg.exe The switch "-command" with option "Debug.StepInto" actually opens up the "Debug" toolbar menu and clicks on "Step Into" item in it. It opens up a "Save File As" dialog for saving "myprog.sln" file. I want to get rid of
6
3109
by: Christopher Bohn | last post by:
(repost under MSDN account) When building a solution that consists of one managed C++ project with a project reference to a C# project in the same solution, there is a bug when trying to build from the command line. The /FU arguments that should be present for the project's references appear in the IDE's buildlog.htm but they do not appear when built from the command line. Everything builds just fine from the IDE. We are running on XP...
2
2013
by: roel.schreurs | last post by:
Sometimes, I want to archive or transport a solution. In such cases, I would like to remove all redundant files from the solution, i.e. all compiler output. The documention describes the command line switch /clean (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxlrfclean.asp). However, when I perform this for a solution, not a single file is removed. I have seen that the process devenv is actually...
0
614
by: Narasimham | last post by:
Hi, I was able to successfully create a new project using the devenv command line arguments. I did devenv /command np and then specified the name of the project and its location in the
4
2491
by: chaitu | last post by:
Hi guys, I've written a parallel build program (in Perl) that takes a pre-computed dependency tree of many projects in 2 visual studio .net 2003 solution (.sln) files here at my company, and builds projects at a same level of dependency parallelly. While doing this, sometimes I get "Microsoft Visual Studio experienced some errors and needs to close" pop-up (which was gone after I disabled error-reporting for programs from Control...
6
5397
by: =?Utf-8?B?YXByMDUyNA==?= | last post by:
I am wondering if there is a devenv switch that will ignore build dependencies that are set in .xxproj files. At the command line I am attempting to build individual projects that I do not want subjected to the build dependencies set in the project files.
5
3643
by: Samuel R. Neff | last post by:
Can I launch devenv.exe and specify a web site to open via command line? No solution or project file, just a web site. Thanks, Sam ------------------------------------------------------------ We're hiring! B-Line Medical is seeking .NET
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10162
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.