visual-studio-2008

What's the difference between Visual Studio 2008 Standard and Professional?

What does Pro have that's not in Standard (or vice-versa)? I need Visual Studio for personal use but I can't use the Express editions because I need T4. ...

Does Visual Studio 2008 Use SvcUtil.exe and if "No" is there any disadvantage to using svcutil?

After googling a bit there is no definite answer of whether Visual Studio 2008 uses svcutil.exe or not? Visual Studio 2005 did use it, but do the RTM versions of Visual Studio 2008 use svcutil? A few blogs say it doesn't (and make it seem surprising) http://tinyurl.com/6wp2kr http://tinyurl.com/ayb36h http://tinyurl.com/8nqovx and o...

How do I get F12 to break into the debugger on Vista x64 with VS 2008?

F12 is a wonder for tracking down UI blocking operations, but I can't figure out how to make it work with VS 2008 and managed code. Help! Or not... Edit: turns out it doesn't work in VS 2005 either on Vista x64, so I guess that either widens or narrows it down, depending on your perspective :( MSN ...

Visual Studio ‘Go To Definition’ menu option behaviour - Why is it inconsistent between C# and VB projects

When developing in a VS2005+ with C# project and I right click on a framework method/property/type and select ‘Go To Definition’, by default we get a new locked tab with code that has been generated from the framework, labelled appropriately [from metadata]. However when we do the same in a VB.NET project, you get taken to a new tab wit...

How do I change colors in the Solution Explorer

How do I change the background/text/other colors Solution Explorer of Visual Studio.Net IDE? ...

If I'm a solo dev, should I bother with VS Team System?

I have an MSDN subscription and I'm wondering what edition of Visual Studio 2008 to get. I recall reading that Team System has a lot of bonus features like doing high-level system architecture stuff, and specialized things related for doing database work. As a solo dev, I wear many hats including database developer and architect - shou...

Unable to deploy .NET 2.0 web app to a Plesk VPS - "The ~/ directory does not exist."

I've set up an ASP.NET 2.0 web app in VS 2008 (it's 2.0 as it contains some legacy code) and I'm now trying to deploy it to my new VPS. I've created the domain in Plesk and set up the FTP account. I can FTP the server using the command line and all works well, however, if I try to use the "copy website" option in VS 2008 I get "The ~/ d...

VS2008 Open .cs file in Code View instead of Design View

I am writing a windows service in VS2008 - c#. When I double click on a .cs file in the Solution Explorer it opens in Design View by default (Windows Form Designer). Is there a way to configure it to open in Code View (Text Editor) by default as this is driving me crazy. Thanks ...

Customizing the Main Menu in Visual Studio 2008

This sounds very simple, but I am frustrated for the past few hours to get this done. I am not able to see "Macros" sub menu under "Tools" menu in Visual Studio 2008. I go to Tools->Customize->Commands. Select Tools under Categories and click Rearrange Commands. Instead of showing me the Tools Menu it shows me Files. Am I doing some...

Visual Studio solutions - how to ensure project properties are shared?

If you use Visual Studio 2008 and have many project files within solutions how do you keep them in sync? In other words, if you change a property in one project, how do you ensure that this property is automatically changed in other projects? ...

Generate Solution File From List of CSProj

I've got alot of projects and I don't have a master solution with everything in it. The reason I want one is for refactoring. So I was wondering if anybody knew an automatic way to build a solution file. Manually adding all the projects just isn't feasible. ...

How do I create compiled user files in Visual Studio 2008?

In C++ you are able to compile files that are not included in the solution, with c# this is not the case. Is there a way to keep a file in a project but not have the standard SCCI provider attempt to keep checking in the file? Essentially what we are wanting to do is to create "by developer" code ability similar to how we code in c++, ...

Generate XML documentation for private members

Is there a way to generate XML documentation for private members? Be default it only generates it for public members, which is correct for published code but not for code only used within a company. ...

VisualStudio *.obj files size (513Mb objs and 534Mb lib)

Hi. I'm a C++ developer and using Visual Studio 2008. How can I reduce *.obj files size? I've read http://stackoverflow.com/questions/332946/why-are-my-visual-studio-obj-files-are-massive-in-size-compared-to-the-output-e but didn't find the answer. When I build project to a static lib total size of all *.obj files is 513Mb and resultin...

Configuring 'Cassini' (ASP.NET Development server) for CAC cards for testing - How?

I'm developing a new website (ASP.Net, VB codebehind pages, .Net 3.5) to replace a "Classic ASP" site. Some of the pages are 'public' and the rest require authentication - in this case it's done by reading DoD-issued CAC cards through the keyboard. Now, for 'production', they configure IIS so that it does the authentication challenge (...

In TDD, what is the advantage of running the tests before even writing an empty method?

I see lots of TDD practitioners following this cycle: 1) Write your test as if the target objects and API already exists. 2) Compile the solution and see it break. 3) Write just enough code to get it to compile. 4) Run the test and see if fail. 5) Write just enough code to get it to pass. 6) Run ...

How do I get NAnt to use the new VB9 compiler for .NET 2.0 applications?

How do I tell NAnt to use the same VB compiler VS2008 uses when it creates .NET 2.0-targeting applications? I have switched a web application to VS2008 back-targetted to .NET 2.0. I can run NAnt (0.85rc4, 0.85, and 0.86b1) just fine once I do this. When I try to use some of the VB9 syntax, that still compiles just fine back to a .NET 2....

VS2008: Running xsd.exe on schema file gives XMLSchema:datetime is not declared

I have a an XSD that looks like this (roughly) <xs:schema id="Appointment" targetNamespace="http://tempuri.org/Record.xsd" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns="http://tempuri.org/Record.xsd" xmlns:mstns="http://tempuri.org/Record.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas...

Visual Studio 2008 tries to convert a web deployment project every time I open the solution

I am using a web deployment project in Visual Studio 2008. Now, every time I open my ASP.NET web project solution which contains the web deployment, Visual Studio asks to convert the project (I guess from VS 2005 to 2008). I do the conversion and save, but if I close an re-open the solution, VS insists on trying to convert the project. ...

Drawing a line in Visual Studio .net at design time

The owner of my company wants to be able to draw lines in Visual Studio.net as he did Visual Basic 6.0. So far the only method I have found is a runtime method using system.drawing which of course only work during runtime, and not quite practical for what he wants to do. Is there any third party control (free or otherwise) that will gi...