visual-studio-2008

How do you change the colors of the text when doing a Schema Compare in Visual Studio 2008 Database Edition?

I am trying to find out how to modify the Colors / Fonts used in the Schema Compare "Object Definitions" window that appears after a comparison is done between two databases. The color scheme I have is unreadable, but I cannot seem to find the right settings in the Tools/Options/Environment/Fonts and Colors dialog. Thanks for any help....

Visual Studio 2008 doesn't show my XML comments in JS files.

function Submit_click() { if (!bValidateFields()) return; } function bValidateFields() { /// <summary>Validation rules</summary> /// <returns>Boolean</returns> ... } So, when I type the call to my bValidateFields() function intellisence in Visual Studio doesn't show my comments. But according to this it should. Should it? ...

Does anyone have emacs style keybindings setup in Visual Studio 2008?

I'm looking for a .vssettings file that has emacs keybindings in it so that a member of our development team can use them. Anyone already have one setup they can share? ...

How do you upgrade a web site that uses #include files to a Web Application

I've recently inherited a fairly large web site. The project is set up as a web site in Visual studio, and not a Web Application. For a number of reasons, I would like to convert it to a web application. I started converting the application using these directions from Scott Gu: Migrating a VS 2005 Web Site Project to VS 2005 Web Applica...

Remote machines cannot connect to Visual Studio web server

Hi guys, I remember when MS was developing Cassini - I believe they rolled it into VS 05/08, so I think this is a Cassini web server question. I am using Windows XP with Visual Studio 2008, and find it quite inconvenient when I want to test a web page/styling with multiple browsers and multiple OSes. Right now I have to deploy the c...

How do I programmatically access the target path of a windows symbolic link?

Windows 6 (Vista and Server 2008) support proper symbolic links, which can be created via the CreateSymbolicLink function. But there doesn't appear to be a corresponding function for interrogating a symbolic link to obtain the path of the link's target. I have found out that symbolic links are an implementation of reparse points, and so...

ASP.NET MVC CTP (first version) fails uninstalling

The offending command that msi executes is: .\devenv.com /command "View.Toolbox" /setup This fails with Date execution prevention error. devenv.exe log contains a bunch of errors like this: <entry> <record>120</record> <time>2008/10/21 12:32:01.277</time> <type>Warning</type> <source>Microsoft Visual Studio Appid S...

"A control is already associated with the element" exception

We are migrating a web applicatin from vs05 to vs08. This application is using Telerik web controls. After I converted the project, and run, I get the exception: "A control is already associated with the element". I traced it down to a use control that has Telerik RadCombo box on it. However, I don't see anything out of place. Researchin...

Visual Studio (2008) 'Clean Solution' Option

What does this option do? It is accessible from the Build menu. ...

How to script Visual Studio 2008 from Python?

I'd like to write Python scripts that drive Visual Studio 2008 and Visual C++ 2008. All the examples I've found so far use win32com.client.Dispatch. This works fine for Excel 2007 and Word 2007 but fails for Visual Studio 2008: import win32com.client app1 = win32com.client.Dispatch( 'Excel.Application' ) # ok app2 = win32com.client.Di...

No Report Items in toolbox (VS 2008 SP1)

I am using Visual Studio 2008 SP1 (version 9.0.30729.1). My problem is that the only reporting-related toolbox items I see are 3 "Textbox" controls. Where are the other stuff? Do I need to add a reference to a different assembly? Here are the steps I take: 1) Open Visual Studio 2) Add new project --> "Reports Application" 3) Op...

Adding Boost makes Debug build depend on "non-D" MSVC runtime DLLs

I have an annoying problem which I might be able to somehow circumvent, but on the other hand would much rather be on top of it and understand what exactly is going on, since it looks like this stuff is really here to stay. Here's the story: I have a simple OpenGL app which works fine: never a major problem in compiling, linking, or run...

Subversion, external references, binaries, and MSBuild/Visual Studio

I have a project that is stored in a Subversion repository. In this repository, in a different folder, I have a set of libraries that I use in many of my projects. These libraries are stored as binary files, ie. the dll's, pdb's, and xml's. Here's an example layout: <repo-url> \Libraries \SQLite \SystemHooks ...

Can I create a file that sits next to a .Designer.cs file in Visual Studio?

In Visual Studio, two files are created when you create a new Windows Form in your solution (e.g. if you create MyForm.cs, MyForm.Designer.cs and MyForm.resx are also created). These second two files are displayed as a subtree in the Solution Explorer. Is there any way to add files to the sub-tree or group for a Windows Form class? ...

Code Coverage on Visual Studio Team System 2008 Developer Edition (on an NUnit application)

Is this possible? I am looking forward to a tutorial which explains the steps to achieve this. ...

Shortcut to collapse to definitions except regions

In vs2008, how can I (possibly with a macro) assign a shortcut key to collapse to definitons but leave regions expanded (they must expand if collapsed)? EDIT: I hate regions but my co-workers does not (: So I want this to avoid the regions used by them. I read jeff's post. Ctrl M + O is what I really want to do, if there were not regio...

Clean up file names in Visual Studio's tabbed document interface?

Inside a visual studio project I have the following folders (for example) foo/ bar/ LongFolderName/ When I open up a file in LongFolderName/ the tab gets labeled with LongFolderName/L...me.ascx when I'd prefer LongFileName.ascx (omitting the name of the folder). Any way to set Visual Studio to ignore the folder name when labeling t...

Debugging Visual Studio 2008 Web Application takes long to launch

When debugging an asp.net web application in VS2008 IDE, i feel it takes 'long' to launch the application because it my app is not big (about six pages). I am not using the in-built VS web-server, I'm using the standard IIS web-server on my development machine. (That is, on the 'Start Options' dialog, I have set to 'Use custom server' a...

How do you compile gnu flex in Visual Studio 2005/2008?

I can't figure this one out. I can download a win32 binary of flex 2.5.4a from gnuwin32, but I'd like to build the latest version (2.5.35) using Visual Studio 2005. I suppose I could build in in cygwin, but where is the fun in that? http://flex.sourceforge.net/ ...

Master Pages fail to recognize new controls

So, from my experience, masterpages sometimes can lag when you do updates. This is not a new occurance, you make a change, you build, you go to test and the MasterPage is still looking for the old control. Anyone have any tips/tricks they use when this happens? Usually it goes away after a while, but I don't have a while. I am using ...