I'm looking into Productivity tools for developing in C# / Visual Studio 2008 (pr0) and developing web apps (not using MVC).
Anything from favourite visual studio shortcuts to external tools and plug-ins.
...
What is the preferred unit testing tool for C development in Visual Studio?
...
OK, So I have recently moved into the world of Web development after spending quite a few years coding in a pretty simple proprietary language, and one of my first jobs is to tweak an old classic ASP page for one of our clients.
I'm using Visual Studio 2008 to try debug some problems I am having, but the page won't load at all. If I brow...
This has been driving me crazy for months. I have a multiple projects that compile without errors. If I start copying and pasting controls (or even just plain 'p' tags) the designer will fail 1/2 the time with the error "the method or operation is not implemented". The complexity of the page doesn't matter. The 'solution' is to delete th...
Is there a way for Visual Studios 2008 to create a .com file instead of .exe for a console project? Right now I have to do this:
if $(ConfigurationName) == Debug goto :debug
:release
copy ProjectNameConsole.exe ProjectName.com
goto :exit
:debug
:exit
And then for the installer I have to add the copied .com object instead of adding...
Occasionally, when I run a build using Ctrl+F5 or just F5, Visual Studio completes the build and opens the browser but fails to actually show the site. Usually this happens the first time I'm building after opening VS, and disappears later. Anybody have any ideas why this is happening?
EDIT: Response to comments: This is Windows XP w...
I just switched to VS2008, and intellisense is even more 'helpful' there than in 2005.
I'm finding it to really break my concentration having it pop up every time I reach the end of a token or key word or whatever. I have to hit ESC or ignore it and it's really annoying.
I've not been able to find a setting to delay its activation. I...
When using Visual Stdio 2008, you can make a C++ project build with an internal tool rather than having the IDE invoke MSVC directly. This improves the consistency of builds across platforms if a cross-platform build system is used.
However, I cannot figure out how to do the same as a C# project. It would be possible to simply register ...
Did any one have luck recently register Visual studio 2008 express C# product? Look like, I would have to reformat my computer and install every thing all over again. I un-installed it and installed VS2008 express again but it will not start because it demands registration. When I click the register button, the website launches and hour ...
How to efficiently write code and debug windows service project in visual studio? Visual Studio gives
Cannot start service from the command
line or a debugger. A Windows Service
must first be installed (using
installutil.exe) and then started with
the ServerExplorer, Windows Services
Administrative tool or the NET START
...
i have noticed a number of empty method and class summary sections throughout a solution. It's rather large, hundreds of files/classes in a dozen projects. The empty summaries look something like this:
///<summary>
///</summary>
My question is: How do i form a regex expression in the Visual Studio file search to find all of the empt...
I've got an old VS2003 project that needs to be updated. Porting it forward to newer versions of .Net is way beyond the scope of the update. I fired up an old XP box and loaded up VS2003, but am unable to open the project.
I receive a "The Web server reported the following error when attempting to create or open the Web project locati...
Why does the following code compile with the Dev-C++ compiler and
not with Visual Studio?
Any idea? Here is the code:
#include<stdio.h>
main(){
int n,i;
scanf("%d",&n);
int arr[n];
for(i= 0 ; i <n ; i++)
{
//Do something with the array
}
fflush(stdin);
getchar();
}
Here are the errors:
...
I've recently installed OpenCV2.0 under Visual Studio 2008 professional edition, built the libraries, dll-s and got everything working but when I run the first example program:
#include “highgui.h”
int main( int argc, char** argv ) {
IplImage* img = cvLoadImage( argv[1] );
cvNamedWindow( “Example1”, CV_WINDOW_AUTOSIZE );
cvShowImage( “E...
I have a strange bug in resharper 4.5 in VS 2005. Instead of doing the usual underline for a suggestion -- IE: telling me that a using statement is unnecessary, it is setting the background to red in the same manner as a breakpoint. Here is a screenshot.
I have uninstalled and reinstalled several times, including an install of resharp...
I am trying to do a couple of things to customize the Visual Studio 2008 Editor Configuration. I want to do this via some setting or macro that I can write myself. I can't install third-party add-ins such as resharper to achieve these goals in the environment where I work. Here is what I need to do:
I want to change the color of the
ca...
This is a deliberate repost of an earlier question. The reason why I'm posting a question that has already been answered is I beleive it wasn't answered completely.
My question is this: how does VS populate its Add References dialog for .Net objects? So far, I know about the following:
The PublicAssemblies folder inside VS's installat...
Hi all,
Need to represent a two column table. Maybe just for reference at this stage - or with the functionality that a double click presents a combobox essentially on that field with all the possible values that can be entered.
Is datagridview the best option for this in WPF or what else could I do to represent the data?
Cheers,
...
I am using the following macro codeto attach to the debugger:
process.Attach()
Works, fine,
but for some reasons it always attaches to the "Managed Code" (sort of default mode I guess)
Is there any way to specify that I want to attach to a "Native code" too?
...
I'm using Visual Studio 2008. The Trace output is no longer being shown in the Immediate Window any of my forms except the primary form. When it executes code from within another form (called from that primary form) the Trace output doesn't show up. It used to be fine, and one day it just stopped working. I think this is a setting in VS2...