visual-studio-2005

visual studio post-build script error calling gacutil.

I'm on vista, with VS2005 running as admin. Both vs2005 and vs2008 are installed. If I explicitly use the path to gacutil, it works, but not if I only call gacutil like this: if NOT $(ConfigurationName) == Release gacutil /f /i "$(TargetPath)" I would just update the post-build script, but I've been asked to leave it alone. It's ...

Missing debugger types in VS2005

I have one computer that is missing the list of manual debugger types. See the screenshot below. It has VS2005 SP1. What could cause this? ...

Incremental Building in VS 2005?

We have a 50 projects solution in VS 2005. Is any way to get incremental build if nothing was changed? It is kind of doing it now, but it executes all prebuild and post build events for each project. The compiling itself is not happenning, but it iterates through all projects and executes all prebuild and post build events for...

Debugging Multi-Project (C++) Solutions in Visual Studio 2005

I'm currently developing an application that is comprised of five separate executables that communicate via ActiveMQ. I have a Visual Studio Solution that contains the five executable projects. One of the projects (the launcher.exe) launches the other four projects from their local folders as separate processes. As such, the launcher ...

Winforms user control getting clipped when in another user control (sometimes)

The problem is fairly simple, but is best illustrated visually. Note that all screen shots are from the Visual Studio 2005 design surface. I've noticed no difference when I actually run the application. Here is my user control (let's call this UC-1): The buttons on the control are set to anchor to Bottom + Right. Here is what it l...

How to set a default configuration in a Visual Studio Solution File?

Hi All, In VS2005 and up, is it possible to specify which configuration should be selected by default? I have several configurations in my solution but one of them should be used in most cases. Hence I'd like to make sure that devs who pull it out of Source Control use the right solution (unless of course they specifically choose anoth...

How to make Reflector an addin for Visual Studios?

I downloaded Reflector.Net and it's an .Exe outside VS. I remember (last year) when I downloaded it, it was an Addin to VS. How can I make it back to an Addin? ...

Redirect .NET StreamWriter output to a String variable

I'd like to know if it is possible to redirect StreamWriter output to a variable Something like String^ myString; StreamWriter sw = gcnew StreamWriter([somehow specify myString]) sw->WriteLine("Foo"); then myString will contain Foo. The reason I would like to do this is to reuse a complex function. I should probably refactor it into ...

What's a quick way to trace the entry and exit of functions in a Visual Studio 2005 c++ multithreaded program?

I have intermittent crashes occurring in my ActiveMQ libraries due to the way I'm using the activemq-cpp API. It'd be much easier to debug the issue if I could observe every function being called leading up to the crash. Are there any quick ways to trace the entry and exit of functions in a Visual Studio 2005 c++ multithreaded program?...

DataTable visualizer disappeared from my Visual Studio

A while ago I noticed I don't have a magnifying-glass next to my datatables. I used to have it, and somehow, sometime, it disappeared... Has anyone seen this happen? Do you know how to help me view my datatables again? Update: I'm still clueless about this. Could anyone point me in some direction, where should I even start looking for...

Linker Errors C++ Visual Studio 2005

I'm getting a whole bunch of linker errors in Visual studios for methods I'm not even calling directly. I'm a java developer by day, but I have a project I need to do in C++, intended to run on windows machines. Hence, I'm stuck messing about with Visual Studio. Bascally, I have an os project that I added an accessor method to. I compil...

MyProject.MyClass - vb.NET custom controls

In a Visual Basic project, I created a homemade TabControl in order to fix a visual bug. The control works properly, however whenever I modify the form using my tab, Visual Studio adds MyProject in front of the control in its declaration: Me.tabMenu = New MyProject.MyClass 'Gives a BC30002 compile error If I remove the MyProject., th...

How do I speed up visual studio with a large number of projects?

Visual Studio 2005 is very slow with a solution with 21 projects. Any ideas how to speed it up? ...

Visual Studio 2005 extensions for .NET Framework 3.0 (WPF)

Did Microsoft abandon support for Windows Presentation Foundation (WPF) on Visual Studio 2005? There was the a Community Technology Preview (CTP) for the WPF and WCF, but it's no longer available for download. There are released extensions for Windows Workflow Foundation (WF) for Visual Studio 2005. But as far as i can tell Microsoft a...

How to do forward-compatibility for .NET 3.5 features in .NET 2.0 apps?

I want to start using .NET 3.5 features in an app that is currently stuck in the past - how can I write in support for selected features like JSON serialization in a forward-compatible way? In the case of JSON serialization I need to reference System.ServiceModel.Web - is it OK to reference a .NET 3.5 dll in a VS2005 app? Presumably thi...

VS2005 SP1 breakpoints in Vista Ultimate 64 not working

I just migrated to Windows Ultimate 64 SP1, because my system's hard drive crashed. I installed Visual Studio 2005 SP1 and all the patches that Microsoft has recommended. I finally got my source code from my SCM, but now debugging does not stop on any of my breakpoints I have set. This is just a plain Winforms app, nothing fancy. The fi...

What is new in Visual Studio 2008 vs 2005 or C# 3.0 vs C# 2.0?

I was browsing the Hidden Features of C# question and thought I would try out one of the features I was unfamiliar with. Unfortunately I use Visual Studio 2005 and the feature in question was introduced later. Is there a good list for new features in C# 3.0 (Visual Studio 2008) vs. C# 2.0 (Visual Studio 2005)? ...

VC++ linker errors on std::exception::_Raise and std::exception::exception

I am using Visual C++ 2005 Express Edition and get the following linker errors: 19>mylib1.lib(mylibsource1.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::exception::_Raise(void)const " (__imp_?_Raise@exception@std@@QBEXXZ) referenced in function "protected: static void __cdecl std::v...

Visual Studio 2005 - Running a website under a different user account

I am building a ASP.NET website, and when I click the START DEBUGGING icon, it will always run Internet Explorer as the account that I ran Visual Studio with. I would like to run IE as a different user when debugging. Is there a way? ...

vc80.pdb - How do I make it go away and never bother me again?

When building static libraries with VS2005 I keep getting linker warnings that VC80.pdb cant be found with my library.lib. Apparently, as a result, the edit and continue feature of the IDE fails to work any project that incorporates library.lib What magic is needed to tell VS2005 to produce a static lib with edit and continue debug info...