visual-studio

using VisualSVN server with Tortoise SVN and ankhSVN plugin for visual studio 2008

I have a VisualSVN server and the client is TortoiseSVN with AnkhSVN plugin for VS 2008. I created a project in the VS and added the solution to the Subversion through right click and committed it. In the repository all the folders are present except bin and obj. Why so? Do I have to manually add them from the project folder? Some pe...

visual studio backward compatibility

Hi there I have build a project with visual studio 2010 but I now need to open it using an older version vs2008. Is this possible by just changing the target framework to .net 3.5? ...

What is the best way to bookmark positions in code in Visual Studio 2008/2010?

I find myself going to about five or six main places in my code 80% of the time and would like a way to go to them fast even if all files are closed. I would like to be able to open up a solution in visual studio and with no file open, see a list of self-labeled bookmarks like this: LoadNext Settings page refresh app.config connection...

Is there a convention for organizing the include/exports in a large C++ project ?

Hello, In a large C++ solution, is there a best/standard way to separate the include files necessary to build an intermediary DLL and the include files which will be used by the DLL clients ? We have grouped all the include files in a folder called Interface (for DLL interface), but there the customers have to either include the Inter...

Missing Status Bar in Visual Studio?

Note: This question and answer is a full copy from Kelly Brownsbergers Blog. I do post it as a convenience to others. From time to time, my status bar disappears. I used to believe this was due to a botched install or add-in. I recently upgraded to Team System Test Edition, and my status bar again disappeared. For the last few weeks ...

Keyboard shortcut for Visual Studio/Resharper tooltips?

Is there a keyboard shortcut to display tooltips provided by Visual Studio & Resharper when you hover over a bit of code? I'm already aware of Quick Documentation (Ctrl-Q) and Quick Watch (Ctrl-Alt-Q). ...

Stress Test visual studio with multi core cpu

Hi, how i can configure the Test Project of visual studio to use all CPU's core. When i run the test i can see on my performance indicator that only one core is being used (100%) and the rest 7 cores is being unused. I have inside the Test Project a Load Test that is calling a UNitary Test. I had set 200 users to call a single method....

Is it possible to integrate NUnit with VB.net Express Edition? Which is the best way?

Hi, I'm a Java Developer wich is learning VB.net for a small project. While coding in Java, we don't have to think a lot about how to integrate our IDE with our unit test framework because most of the IDEs already area integrated. But now that I'm working on a project which the main requirement is to use VB.net Express Edition, is it p...

Is there a method / system / program to keep track of different stages and changes in writing the code for a project?

forgive me, but I don't know the technical term to know what to search for. I am trying to find a way to keep track of changes in my code during the development of my program. something that would allow me to go back to a section of code that I deleted. I am not talking about "undo". But rather a way that would let me keep track or be a...

Unable to load DLL 'foo.dll', but only when running through vhost

This is a variation on the old System.DllNotFoundException: Unable to load DLL 'foo.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E). problem (where, of course, foo.dll is the name of an actual DLL). The strange part is that I only get this error when I "Run" in VS (2008 if that's relevant). That si...

visual studio asp.net mvc, changing target framework

Hello there Im have just changed the target framework for an asp.net mvc project from target framework 4 t 3.5, I keep getting this error when I try to debug, or go to any controller action 'HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailab...

is there any easy way to auto generated code like this?

i have a file which will be used across many app projects. the only difference of these files is the webservice reference name. code like this: public void Test(){ Kevin.ServiceReference1.Service1Client client = new Kevin.ServiceReference1.Service1Client(); // do something.... } like code above, the 'Kevin.ServiceReference1' w...

allowDefinition='MachineToApplication'

Hi, I was working on a Silverlight + WCF application. One fine day when I opened the website in Visual Studio 2008, it gave me an error: "Error 99 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an ...

How to automatically include generated source files into a C# project in Visual Studio?

I have a situation where I need to generate a bunch of C# code files in a prebuild step of a project and include the generated files into the current project for compilation. Is there a way to do this cleanly without having to muck with the project file every time the prebuild step is run? My solution should work for both IDE based buil...

"Unable to start debugging on the web server" error message in Visual Studio 2010 and app runs fine without debugging

I get error message "Unable to start debugging on the web server" in Visual Studio 2010 (Windows 7). The app works fine if running without the debugger. I can also manually attach to the aspnet_wp.exe process and have a breakpoint hit in the app. I have debug=true in web.config. Why do I get the error message? ...

Where is the restart icon in Visual Studio 2010?

In Visual Studio 2008 I often used the "restart" button but it is missing in Visual Studio 2010, at least in Visual Web Developer 2010 Express, I assume it's the same in the standard version as well. Where is the restart icon in Visual Studio 2010? Added: Ok, I was able to add it in "Customize", but after adding it, it is greyed out...

In Visual Studio is there a way to change the whitespace tab character?

I prefer to code with white space visible and I use tabs. (no holy wars here please) Is there a way to change the tab representation from an arrow to a bar or some other character? I already have the color set on a dark gray color on a black background so it doesn't "intrude" when I'm not looking for them, but the default arrow represe...

In a Visual Studio C++ project with /clr, are its dependencies also compiled to managed code?

To be a bit more clear. If I have a Visual Studio C++ solution that has two projects, say a static library with CLR support turned off, and a second project with CLR support turned on that depends on this static library, does the static library get compiled as managed code? What about libraries that the CLR project uses that are external...

VSTO outlook add button to contact info window

When you are reading an email , you see in the from list the sender's name .. When you double click on the Sender's Name . You get a Outlook properties dialog box with Senders Information such as email , phone, location , address etc ., and in the dialog , i find a button labelled " Actions " with communicator icon in it. And the acti...

How do people handle warning C4793: 'some_function' : function compiled as native?

I'm using the OpenCV library and one of its header files, cxoperations.hpp, generates "warning C4793: '`anonymous namespace'::CV_XADD' : function compiled as native", if my C++ project is compiled with CLR support. I can prevent the warning by surrounding the OpenCV header include like this: #pragma managed(push,off) #include <cv.h> #pr...