473,554 Members | 3,225 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Rebuilding from command line /rebuild

Dyl
Hello,

I am trying to use an executable which when an option is clicked, it
goes out and rebuilds a .sln file.

I read about devenv and /rebuild, but I am still confused.

Would I run something from a command prompt using a process?

Any help would be appreciated, if you could give an example that would
help a lot.

Thanks!

Dec 13 '05 #1
2 1686
It's fairly easy to rebuild a solution file with devenv.exe:

devenv "FullPath\Solut ion.sln" /rebuild release

However, you need to set the environment variables as found when starting a
new Visual Studio Command Prompt in the ProcessStartInf o. I think it's much
easier to create a .bat file on the fly and start this instead of doing it
all from code.

Michael
"Dyl" <mo************ ****@yahoo.com> schrieb im Newsbeitrag
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
Hello,

I am trying to use an executable which when an option is clicked, it
goes out and rebuilds a .sln file.

I read about devenv and /rebuild, but I am still confused.

Would I run something from a command prompt using a process?

Any help would be appreciated, if you could give an example that would
help a lot.

Thanks!

Dec 13 '05 #2
Dyl
What do you mean by "set the environment variables as found?"

Dec 14 '05 #3

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

Similar topics

3
3117
by: Roger | last post by:
Hi I got the advice to rebuild the indexes on the databases once a year. Espesially if the database have grown much. The question is: How do I do that? If I try to run the indexscript wich was run when the databases were created, I only get the message that the indexes already exists. Are there a command to automatically rebuild the indexes...
5
14014
by: Genboy | last post by:
My "VIS" Website, which is a C# site created in VS.NET, Framework 1.1, is no longer compiling for me via the command line. As I have done 600 times in the last year and a half, I can compile to VIS.DLL via Visual Studio, with no problems: ------ Rebuild All started: Project: VIS, Configuration: Debug .NET ------ Preparing resources......
8
1110
by: Andy Capon | last post by:
Hi There, We have a medium size project about 2000 source files and 700,000 lines of code, as you can imagine this takes some time to rebuild all. Now our problem is that we have a code generator we have developed that updates some of our classes, as an example lets say I update 50 files. When we do a build the ide builds nearly all of...
0
1001
by: andrei | last post by:
Hi Group, Environment: Windows 2000 Professional, VS.NET 2003 The solution has 30 projects (one main asp.net application and the rest are dlls) We have this annoying behaviour with our ASP.NET application From time to time, when trying to build or rebuild or run the application, we experience VS crashes. VS starts by building the...
7
3214
by: pankaj_wolfhunter | last post by:
Greetings, While loading data into Sql Server using BCP utility, we have to explicitly need to drop the indexes. then after loading the data we recreate them. I just want to know if this is possible through some other ways. i mean in DB2 we have an option of index rebuild option which takes care of this job. Do we have anything as such in...
1
1133
by: tshad | last post by:
I don't use VS much for my websites. But I do have one that does use VS. I am trying to figure out what I can change that would not require a rebuild. I assume that if I make any changes to my aspx.vb file - I would have to rebuild. Can I make change to my .aspx file without rebuilding, such as change some of the html?
1
4531
by: Sam Durai | last post by:
Env: DB2 v9.1 Server / Win XP. DB is enabled for Archival Logging. Was playing around with rebuild tablespace feature. My database 'CARD' has tablespace named t1,t2,t3. Taken couple of individual tablespace backup as below C:\dir1>db2 "backup db card tablespace(syscatspace,userspace1,t1)" Backup successful. The timestamp for this backup...
4
1486
by: MyndPhlyp | last post by:
My desk has been beaten to a pulp by my forehead over this. In my page's codebehind, IntelliSense recognizes the Methods in my homegrown Class. That tells me the Imports directive is finding the Class in the specified Namespace and that the Methods and Class are Public. The Methods are actually Public Shared. * If I do a simple Build...
8
1969
by: Dave | last post by:
Does anyone have any idea why my 2005 solution is choosing to rebuild, everytime i execute any project within its space? There's nothing overly strange with the project assemblies within, a few class libraries, a couple of console apps, one custom setup project and one windows installer project. i've never seen this behavior before, and...
0
7596
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...
0
8039
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...
0
6140
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...
0
5152
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...
0
3556
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...
0
3545
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2015
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
1
1130
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
838
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...

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.