When I hack around, some code tend to get much bigger than originally planned. As this happens I usually introduce/collapse/merge namespaces, move files between them, move folders etc etc. Sometimes, if I don't have a clear picture of the end result, this is a real pain and really easy to just "skip". This leads the project deteriorate w...
I have written a bunch of unit tests inside VS2010 Express and tests being tests they sometimes fail. Since the express editions of VS don't allow plugins to run I can't simply spin up TestDriven.Net or an equivalent and debug the tests. To try and work around this I've converted my test assembly into a console app and made the main meth...
Does anyone know how to bind a directory to a treeview in C# or know of a simple tutorial to follow along with? Thanks
...
Is there a way to change the skin you see in Visual Studio from the standard form?
I have a skin I use for my emulator. I would like to see that skin in my Visual Studio designers.
Anyone know a way to do that?
...
If someone were to develop a .NET component that relied on non specific versions of a vendor DLL - let's say it worked with My3rdPartyComponent.dll which is a .NET assembly, but it didn't matter which version.
Some instances of classes found in this component would need to be passed into my component. Developers would reference my comp...
Hello there,
Does anyone know how to add todo: items into XAML?
I am in the habit of using //TODO: in my code for things that I have to come back and fix up. I can't seem to find out if this is possible to do in XAML?
I would like to add things to my tasklist that point to XAML. :(
Any idea's would be appreciated, thank you.
...
In Visual Studio (C++) the other day, I was trying to build some example code and it would not work, even though I was pointing at the right include and lib directories. (I got linker errors)
I asked a friend who fixed the problem by specifying the necessary .lib files in the General Properties->Linker->Input field of the project settin...
I was looking at some same code (a sample MS Visual Studio C++ project) recently with multiple build configurations (Release/Debug, Win32/x64).
My question: What is the difference? I guess I understand Release/Debug (Release = finalized version of project, Debug = version used to run in debugger), but what things need to be considered w...
I recently installed Visual Studio 2010 and copied and converted an old VS2005 solution to VS2010
When I edit this solution, if I try to change a control's .image property, VS2010 creates a message box telling me that "An item with the same key has already been added" (screenshot below), and won't let me browse for an image.
I can add ...
Say that I'm writing a test and my caret is here (indicated by "|"):
[ExpectedException(typeof(InvalidOperationException|))]
In Visual Studio 2010, I'd like to press some shortcut that would take me to the next line so that I could start typing "public void Etc()".
Right now, I need to press
Right arrow
Right arrow
Right arrow
Enter...
I'd like to measure the performance of some code blocks in my c# winforms application. In particular I want to measure performance regression/improvement after some restructuring of the code.
So long I've seen the System.Diagnostics.Stopwatch. However, I want to avoid writing measuring code into my classes, I would rather prefer to sepa...
My company is suffering some deployment issues, where we'd be greatly benefited if distributed source files were tagged with their current source control version, or the date/time they were checked in.
Is there a way in Visual Studio to do this automatically?
...
I have VS2005 solution that contains many projects and dependencies (some C++, some C#) - in the past it compiled successfully.
when I rebuild all the solution it fails on a project claiming dll is missing (dll that was needed to built before according to dependency).
the thing is that from time to time it fails on random project (not ...
When I move the mouse over any of these two or right click any of them Visual Studio crashes with the following message in the event log:
Felet uppstod i programmet med namn:
devenv.exe, version 9.0.30729.1,
tidsstämpel 0x488f2b50 , felet uppstod
i modulen med namn: ntdll.dll, version
6.1.7600.16385, tidsstämpel 0x4a5bdb3b Un...
Is there a way to install Parallel NSight and use it with Visual Studio 2010 without having VS2008 SP1 installed?
The setup checks if VS2008 is installed and won't continue if not.
I know there is no official support for VS2010, but I found on a forum a small application that can integrate Nexus into VS2010 and it seems to work.
Thanks i...
I've been using Resharper for a few days and I really like this tool, but there's one thing that annoys me about it and I wonder if it can be changed.
I'm getting lots of issue notifications from generated code (almost 1400 in my project). I'd want to set those files as ignored so they won't be checked as you can do with StyleCop and Co...
I'm writing my own control - a datagridviewcolumn that displays integer values as texts like the comboboxcolumn can but without showing the combobox unless the cell is edited.
I'm mostly there but I have problems with the databinding. I managed to get the necessary properties to appear in the designer but every time I set the datasource...
I am trying to make an application installer, it needs to install an amount of read/writeable files to user application data.
But when i install that only happens for the user installing the project. The instalation wizard aks if the application should be installed of only the current user or everyone, how can I prevent my user selectin...
This warning:
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts
with use of other libs; use /NODEFAULTLIB:library
is a fairly common warning in Visual Studio> I'd like to understand the exact reason for it and the right way (if at all) to handle it.
This comes up in a debug build, compiled with \MDd. The project is linked to th...
I have VS2003, VS2005 and VS2008 installed on my machine.
The C++ application is compiled with VS2005 but when it crashs and i select debug the
Just-In-Time Debugging dialog comes up and only offers me
"New instance of Visual Studio .NET 2003".
Debugging a 2005 compiled program with 2003 is not possible.
If i attach the process to ...