473,657 Members | 2,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Optimal Workstation for Visual Studio .NET 2003 and 2005

We have a very large C# winforms client application that is constructed
as a single solution currently with 75 projects. We're currently using
VS 2003 but will upgrade to 2005 some time next year.

We've noticed that Visual Studio is terribly inefficient about a lot of
things, and my testing with 2005 seems to indicate those problems may
actually be worse there.

On average, it can take 3 to 5 minutes to simply open the solution
while bound to source control (Visual Source Safe). The first build of
a session can take 10 - 15 minutes. Subsequent builds vary depending
on how deep in the dependencies the code we've just modified resides.
Not only that, even browsing the web while it is building is quite
difficult.

We're looking at getting new hardware and I'm a big fan of throwing
hardware at a performance problem when feasible. Does anyone have any
suggestions on what to look for in a workstation to optimize it for
Visual Studio?

Here are my deductions so far:

At LEAST 1GB of RAM -- of course almost all machines qualify for this
now.

VS seems VERY disk intensive so I'm thinking that the faster the IO the
better. Maybe even consider a RAID 5 set-up if we can afford it.

Do the dual core processors help VS out any? How about machine
useability while VS is building?

Any suggestions would be greatly appreciated!

Thanks!!!!!

Dec 14 '06 #1
3 1367
karlag92 wrote:
We have a very large C# winforms client application that is
constructed as a single solution currently with 75 projects. We're
currently using VS 2003 but will upgrade to 2005 some time next year.
I think it's wise to split up the solution in a couple of smaller
solutions. I dont think you're working on 75 different projects at
once, so if you break up the solution in a couple of smaller solutions,
and reference assemblies from the projects which are in a different
solution, you'll get better response times and a more responsive IDE.

That's also how I've done it with my project which is also very huge:
every subsystem has its own solution, and with a couple of post-build
event scripts I can copy the latest build of one project into a folder
where another project expects the latest build to reference.

Also compiles are much faster now.
We've noticed that Visual Studio is terribly inefficient about a lot
of things, and my testing with 2005 seems to indicate those problems
may actually be worse there.

On average, it can take 3 to 5 minutes to simply open the solution
while bound to source control (Visual Source Safe). The first build
of a session can take 10 - 15 minutes. Subsequent builds vary
depending on how deep in the dependencies the code we've just
modified resides. Not only that, even browsing the web while it is
building is quite difficult.
with that number of projects I'd compile on the command line. You'll
notice that compiling on the command line is much faster.
We're looking at getting new hardware and I'm a big fan of throwing
hardware at a performance problem when feasible. Does anyone have any
suggestions on what to look for in a workstation to optimize it for
Visual Studio?
fast disks. That's about the best investment you can make. But first,
please splitup your solution. I'd suggest 10-15 projects max in a
solution, but that also depends on the size of a project of course.

My workstation uses a RAID0 scsi diskrack and buildtimes and vs.net
response is OK. My CPU is a xeon 3Gz and I use just 1GB of ram, but
almost never run out of it even with 4 vs.net instances open for
example. Also CPU isn't the bottleneck, the disks are, even with scsi
raid0.
Here are my deductions so far:

At LEAST 1GB of RAM -- of course almost all machines qualify for this
now.

VS seems VERY disk intensive so I'm thinking that the faster the IO
the better. Maybe even consider a RAID 5 set-up if we can afford it.
raid0 with a proper backup system is ok. Get good quality disks, so
you won't have the risk of failing parts of a raid0 setup. If you keep
the sourcecontrol and other important stuff on a server with raid1
disks for example, you can rebuild quickly after a diskfailure if you
ever have one.
Do the dual core processors help VS out any? How about machine
useability while VS is building?
dualcore doesn't help much. It's a bit more responsive but you won't
solve the bottlenecks which really cost you time: disk activity.

VS.NET isn't using disk very efficiently: various parts of the system
will parallel access the disk and this causes disk trashing: the disk
heads are stepping a lot back and forth, which cause useless delays.
FB
--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Dec 15 '06 #2
How do we solve the dilema of project references vs. dll references if
we break up the solution?

We often change code in a base dll and need the change reflected when
we debug.

When you debug with VS, do you build at command line and then attach to
the application via Debug/Processes?

Are there any good reference threads about how to build from command
line with lots of projects?

Thanks!!!!!

Karl

Leon Mayne wrote:
karlag92 wrote:

<snip>

I second Frans' comments about splitting up your projects and building on
the command line. That will vastly speed up your builds and opening projects.

As you say, at least 1Gb RAM, preferably 2Gb, esp. if you want people to use
VirtualPC to host specific test environments on their machines.

If you say that loading from Source Control takes ages, make sure your
network connection to the source control machine is fast enough, and of
course, scale up your source control machine as much as possible as well, and
if you're using SourceSafe then consider upgrading to TFS if you can afford
it, as the TFS source control system is much faster and is generally a much
better product all round (even if you do not use the methodology features of
TFS).
Dec 15 '06 #3
"karlag92" wrote:
How do we solve the dilema of project references vs. dll references if
we break up the solution?
There are probably lots of ways of doing this. The way we do it where I work
is that everyone has a folder called something like C:\SharedAssemb lies which
is set as a network share, and then you have a network drive mapped such as
N:\ to that folder. You then drop all your DLLs into the folder and reference
them using N:\ComponentNam e.dll in the project.

This also allows you to work with only your particular changes and not worry
about bad code other people have checked into other DLLs affecting your
testing, so you know any change in behaviour is due to your changes. If you
need the latest build of another project, you just do a getlatest and run the
build file (as long as you have the build target set to C:\SharedAssemb lies).

HTH
Dec 16 '06 #4

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

Similar topics

3
1706
by: Thom Little | last post by:
I have ASP.NET websites deployed on a number of servers. Thee were developed with Visual Studio 2003. Is it true that Visual Studio 2005 only supports .NET Framework 2.0 and I will be required to have Visual Studio 2005 for those ASP.NET websites and Visual Studio 2003 for my currently deployed websites? Is there a summary document listing what is provided in Visual Studio 2005? Apparently there is support for .NET Framework 1 and 2,...
3
2302
by: Shapper | last post by:
Hello, I am starting 2 new projects to deliver in January 2006. I want to create them in Asp.Net 2.0 using Visual Studio 2005. All my clients web sites are Visual Studio 2003 projects in Asp.Net 1.1 / VB.NET. These web sites use Access Databases and NOT Microsoft SQL 2000. In the future I will need to make a few changes now and then to this web sites.
9
1743
by: TD | last post by:
Which versions of Windows operating systems can you build applications for with Visual Studio 2003, in particular VB? How about Visual Studio 2005, in paricular VB? Thanks, TD
4
2387
by: Skc | last post by:
We have a developer who has made an application in Visual Studio 2003 and this will not work in our version of Visual Studio 2002. Error message: Solution file loading error: The selected file is not a valid Visual Studio Solution file. When we try to load a project file, we get: Unable to read the project file. The project was created with a newer
5
2324
by: Nathan Sokalski | last post by:
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005. Visual Studio .NET 2005 does not create the Global.asax files that Visual Studio .NET 2003 did, which I used for variables such as the location of my database. What is the conventional way of creating global variables for purposes like this in Visual Studio .NET 2005? Thanks. -- Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/
12
5901
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/ folder in the same directory as the source code. However, in Visual Studio .NET 2005 when I selected 'Publish Web Site' and selected a target location to place it in, it placed the following files in it: All *.aspx files All *.html files
4
1321
by: John Kotuby | last post by:
Hello all, I have VStudio 2005 currently installed on my workstation. However, I am collaborating on a project with an outside consultant who is using VS 2003. Every so often he sends me new or updated modules to add to the project and I will send him my updates so that we stay in synch. I tried loading the project (solution) into VS 2005 and it warned that changes would be made that would result in incomptibility with VS 2003.
18
9129
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft page "How to: Connect to Data in an Access Database"
2
1280
by: Arsen V. | last post by:
Hi, What's the best OS to use on a Development Workstation? The dev environment includes projects in: VB 6.0, C++ (Visual Studio 6) ASP 3.0 ..NET 1.0 (Visual Studio 2002) ..NET 2.0 (Visual Studio 2005)
0
8384
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
8302
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8718
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
8499
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,...
1
6162
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5630
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
4150
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
2726
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
2
1601
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.