visual-studio

Best way to store 3rd party DLLs in VS 2008 +

What is the standard practice to store DLLs in a solution ,where the dlls are used in multiple projects. ...

Show <returns> xml tag into visual studio intellisense

Hi , I added the xml tag to some of my methods but I can't see its content in the intellisense here is my code /// <summary> /// we all live in a yellow summary /// </summary> /// <returns>what it returns</returns> public int MyMethod() { .... } Do you have any idea ? Thanks ...

Build Web Parts on Visual Studio 2008 for SharePoint 2010

What do I need to install for building a Web Part for SharePoint 2010 on Visual Studio 2008? BTW: I'm using Windows 7 64-bit and Office 32-bit ...

C# Application crashes with Buffer Overrun in deployed (.exe) version, but not in Visual Studio

Hi, I have a c# Windows Forms application that runs perfectly from within Visual Studio, but crashes when its deployed and run from the .exe. It crashes with a Buffer Overrun error...and its pretty clear that this error is not being thrown from within my code. Instead, windows must be detecting some sort of buffer overrun and shuttin...

Visual Studio .dll Reference not found ?

I had never had this error before, and I didn't move any file, or exclude any reference. I'm getting this error (link). In the ajaxcontroltoolkit.dll.refresh file, I get a path to the DLL, but it is a path that was located in someone else's computer (who no longer is in charge of this). It might as well work if I just re-do the refere...

Why I get errors when I try to out a compiler defined macro using a pragma message?

I would like to know why the Visual C++ compiler gets me an warning/error if I use the following code: #pragma message( "You have " _MSC_FULL_VER ) Here is what I get: error C2220: warning treated as error - no 'object' file generated warning C4081: expected ':'; found ')' The problem reproduces for _MSC_FULL_VER or _MSV_VER but no...

What performance indicators can I use to convince management that I need my development PC upgraded?

At work, my PC is slow. I feel that I can be way more productive if I just wasn't waiting for Visual Studio and everything else to respond. My PC isn't bad (dual-core, 3GB of RAM), but there is a lot of corporate software and whatnot to slow everything down and sometimes lock it up. Now, some developers have begun getting Windows 7 mach...

Determining which classes would benefit most from unit testing?

I am working on a project where we have only 13% of code coverage with our unit tests. I would like to come up with a plan to improve that but by focusing first on the areas where increasing coverage would bring the greatest value. This project is in C#, we're using VS 2008 and TFS 2008 and out unit tests are written using MSTest. What ...

How do I load ascx pages faster in visual studio 2008?

One of my (my team's) biggest peeves with VS2008 is the slow speed in which ascx load. It could take up to a couple minutes to do something as simple as a text or style change simply because of the time it takes to load an ascx page into the visual studio text editor. Half the time I'm tempted to check out the file, edit it in notepad, t...

VS2010: how to remove/hide the "External Dependencies" folder in Solution Explorer

In VS2010 they added to all projects a virtual directory called "External Dependencies": It really bothers me especially because if there is a normal folder named "Apple" and one named "Deep" it will be in between the two, and also the information it gives is, in my opinion, completely useless. Is there any way to remove or hide it...

Generate Visual Studio Project Templates with CruiseControl.Net or MSBuild

Hey all. I have a working workflow in CruiseControl.Net that successfully builds and tests an MSBuild project that is calling my Visual Studio 2010 solution. How do I create Visual Studio project templates in either CruiseControl.Net or with MSBuild? The build server does not have Visual Studio 2010 installed. Thanks for your time! N...

Why do my debugger randomly jump out of debug mode?

Hi, I'm experiencing a very annoying behaviour with the debugger in Visual Studio 2008 Professional. I'm debugging a ASP.NET web application, and when stepping through the code the debugger randomly "jumps out" of debug mode, but without the debugger stopping. So when I'm stepping through my code like this: step over, step over, ste...

Work with Remote TFS server and local svn server

We have distributed team with client and contractor term in different location. The client has sufficient license for TFS system and they use it for development. We do not have sufficient license to use the TFs so we use the local Subversion and it works fine. The problem is merging the two source is always painful. Any tips shall be a...

Unable to install Management Studio Express 2008 due to Visual Studio 2008 installation

I am attempting to install Managment Studio Express 2008 on a Win7 system that already has Visual Studio 2008 installed. I have installed VS 2008 SP1, which results in the About box for Visual Studio giving a version of 9.0.30792.1 SP. When I attempt the Management Studio installation I see a message that tells me that I must install SP...

"The breakpoint will not currently be hit. The source code is different from the original version." What the hell does this mean?

Hi everyone I'm really hoping someone can help me out with this one. When debugging in Visual Studio, sometimes I add a breakpoint but it's hollow and VS says "The breakpoint will not currently be hit. The source code is different from the original version." Obviously this prevents me being able to debug. What on earth does the message...

'System.OutOfMemoryException' was thrown

While Compiling the WPF Application for many times in a day it give following error 'Exception of type 'System.OutOfMemoryException' was thrown.' Can anyone know why this error occured and how to remove that error. But if visual studio is restarted then there is no such problem. thanks in advance ...

Visual Studio - how to find source of heap corruption errors

Hi, I wonder if there is a good way to find the source code that causes a heap corruption error, given the memory address of the of the data that was written 'outside' the allocated heap block in Visual Studio; Dedicated (0008) free list element 26F7F670 is wrong size (dead) (Trying to write down some notes on how to find memory error...

Does anyone know of a code change management tool that can highlight code changes in Visual Studio?

Hey all, I am trying to find a tool that can highlight code changes in Visual Studio so they can be easily found and reviewed. Below are some requirements for what we are looking for... Identify and use a difference highlighting tool that meets the following criteria: • can highlight areas that need to be reviewed • there is a place t...

Microsoft Redistributable package

Hi, I am developing a software that uses 2 libraries. These 2 libraries both use VS2005 and both need VS2005 redist package. However, their redist package are in different version. So, I have several questions about installing the redists. 1) Can I just install the newer version without problem? 2) If I install these two redists, how W...

prevent the designer from calling a getter (VS 2008, WinForms)

hi, I have a simple UserControl containing a ComboBox which is empty at first. The setter for that CB adds items to it and the getter returns the selected item. When adding this UC to a Form, the designer automatically calls the getter for the CB which is empty. The method to fill up the CB with items is called later. I can think of one ...