visual-studio-2005

Visual Studio 2005 - 'Updating IntelliSense' hang-up

Hi Folks. I am having trouble with my Visual Studio 2005 IntelliSense for some time now. It used to work fine, but for some reason the 'Updating IntelliSense...' does no longer seem to be able to complete for the solution I'm working on currenly- it simply gets stuck somewhere at about 3-bars of progress and blocks one of my precious CP...

Remove VSMacros80 directory

Is there any way to prevent Visual Studio from creating a VSMacros80 folder in my default project directory? ...

Branching and Merging in VSTS

How effective is merging when folders and projects have been renamed in your solution? ...

Change app icon in Visual Studio 2005?

I'd like to use a different icon for the demo version of my game, and I'm building the demo with a different build config than I do for the full verison, using a preprocessor define to lockout some content, use different graphics, etc. Is there a way that I can make Visual Studio use a different icon for the app Icon in the demo config ...

Can you set Visual Studio's "smart indent" to not remove tabs in blank lines?

When Visual Studio (2005) has Options -> Text Editor -> C/C++ -> Tabs -> Indenting set to Smart it will automatically indent code blocks and line up squiggly brackets, {}, as expected. However, if you hit enter inside a code block, move the cursor to another line, and then move it back, the inserted tabs are gone and the cursor is positi...

Access denied error when building solution in Visual Studio 2005

Hi, I get the following error in Visual Studio 2005 when doing a build: Error 9 Cannot register assembly "E:\CSharp\project\Some.Assembly.dll" - access denied. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) project It happens only intermittantly and does go away if I restart the IDE, however this is i...

Information about how many files to compile before build in Visual Studio

How can I figure out, how many files needs to be recompiled before I start the build process. Sometimes I don't remember how many basic headerfiles I changed so a RebuildAll would be better than a simple build. There seams to be no option for this, but IMHO it must be possible (f.e. XCode give me this information). Update: My problem ...

VB.NET 2005 problems with Designer not being able to process a code line.

Hi, I have a problem in my project with the .designer which as everyone know is autogenerated and I ahvent changed at all. One day I was working fine, I did a back up and next day boom! the project suddenly stops working and sends a message that the designer cant procees a code line... and due to this I get more errores (2 in my case), I...

LINQ to SQL in Visual Studio 2005

I normally run VS 2008 at home and LINQ is built in. At work we are still using VS 2005 and I have the opportunity to start a new project that I would like to use LINQ to SQL. After doing some searching all I could come up with was the MAY 2006 CTP of LINQ would have to be installed for LINQ to work in VS 2005. Does someone know the p...

C#: Import/Export Settings into/from a File

What's the best way to import/export app internal settings into a file from within an app? I have the Settings.settings file, winform UI tied to the settings file, and I want to import/export settings, similar to Visual Studio Import/Export Settings feature. ...

How to get Intellisense on error-marked code in Visual Studio 2005?

When I try to compile code on VS 2005 and it fails, the line which causes the error gets underlined blue, and mouse-hovering over it displays the error message. Fine, but you can't see object types or whatever, because Intellisense will show the error message, and not object info. In this image, I wanted to see what type DateTime.Subtra...

C#: Why does Settings PropertyValues have 0 items?

Assuming there are 5 items in the settings file (MySetting1 to MySetting5), why does PropertyValues have 0 items while Properties has the correct number? Console.WriteLine( Properties.Settings.Default.PropertyValues.Count ); // Displays 0 Console.WriteLine( Properties.Settings.Default.Properties.Count ); // Displays 5 ...

How to stop the Visual Studio debugger starting my process in a job object?

When I start my process from Visual Studio, it is always created inside a job object. I would like to know how to turn this behaviour off. Any ideas? I expect that it is created in a job object to be debugged. I want to place my program in a different job object. It's not the hosting process. I'm talking about a Job Object. This is an ...

How can drawString method be used for writing diagonal way.

Hi, I am using c# 2005 i want to write string diagonally on image. But by default c# provides the option to write horizontally or vertically. how we write diagonally? Thanks ...

" Attach to Process " in Visual Studio 2005

I installed Visual Studio 2005 ( with SP1 ) and made the default settings as what is required for C++ . Now i open a solution and run the exe . Under " Tools " menu item i go and Select " Attach the process " and i attach it to the exe i just ran . I put breakpoints several places in the code ( this breakpoints looks enabled ) and the...

Anyone knows a good beautifyer for VS2005 / ASP.NET markup?

I'm looking for one those to help me in my fight against Visual Studio's propension to bollock up markup code in ASP.NET pages (especially when coming back from design view.) I might be old-fashioned, but I like be able to tell at a glance which element nests in which. Or, alternately, is there an option to turn that feature (markup ...

Visual Studio 2005. RC File includes

Hi Folks, I'm programming in C++ on Visual Studio 2005. My question deals with .rc files. You can manually place include directives like (#include "blah.h"), at the top of an .rc file. But that's bad news since the first time someone opens the .rc file in the resource editor, it gets overwritten. I know there is a place to make thes...

Why would VS2005 keep checking out a project for editing without any changes being made?

I have a VS2005 solution which contains a variety of projects (C++ DLLs, C++ static libraries, C# assemblies, C++ windows executables) that are combined in various ways to produce several executables. For some reason, every time I open the solution, VS2005 wants to check out one of the projects for editing. The project is not modified ...

How to optimize compiling a 32 bit application in Visual C++ 2005 on a 64 bit windows sever 2008

I have just installed a build server with a 64 bit windows server 2008 for continuous integration. The reason I choose a 64 bit server was to have more than ~3Gb of RAM. I had hopes that this machine would provide blazing fast builds. Unfortunately, the result are lacking greatly to say the least. My desktop provides faster builds tha...

Cannot store load test results in a TFS 2005 results store

I've setup a results store and when I publish results of a load test, I can't view the published test details. From the test run section of the build report I click on the published build and when I choose View Test Results Details from the Test Runs shortcut menu I get an error that the test results details cannot be viewed because th...