473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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 1679
It's fairly easy to rebuild a solution file with devenv.exe:

devenv "FullPath\Solution.sln" /rebuild release

However, you need to set the environment variables as found when starting a
new Visual Studio Command Prompt in the ProcessStartInfo. 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.googlegr oups.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
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...
5
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...
8
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...
0
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...
7
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...
1
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...
1
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...
4
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...
8
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.