visual-studio

References between ASP.NET web applications.

I have a Visual Studio solution containing two web applications. I would like the first to depend on the second (pages in the first may contain links to, or possibly post to pages in the second). Furthermore, I would like to be able to launch the first project on a development server (standard debugging procedure for web apps in VS) an...

is it possible to include a binary in my project and use it?

I have a binary that's used as a command-line tool to manipulate some files - tool.exe. I would like to include this in my Visual Studio 2008 project and use it from my C# code. I have it in a folder called "Resources" which also has some other files my project uses. I would like to do something like Process myproc = Process.Start("Re...

how to view printf output in win32 app on visual studio 2010?

How can you view printf output in a win32 application (entering with a WinMain) on visual studio 2010? ...

Dynamic WSDL Location in .NET

I am building a C# application that is consuming a WSDL that is hosted by a server on our network. When I use the "Add Web Reference" functionality of Visual Studio, it works just fine, saving the ip address of the machine, etc. and the SOAP calls work without any issue. We are now making this entire application portable so that it c...

Is there a preferred method of including the source code(s) of other software you've used in your application?

I've used a few F/OSS libraries in my commercial application. As per their licenses, I am obligated to include their source codes along with my VS2008 application. This is my first time making a "real" commercial application, and I would appreciate some advice on how best to go about including their source codes. I don't want to packa...

Visual studio line colors

In Visual Studio, what does the vertical color bar between the line numbers and the code mean? Sometimes there is green, yellow, or nothing. ...

Automatic Step over

I have been getting this error message when I step into some methods Do you want to continue being notified when an Automatic step over occurs? I usually answer Yes and I get taken to the line I want to step to. However, I just pressed No (cause I was tired of the dialog box always popping up). When I did that it skipped a lot of c...

Highlight all occurrences of a selected object with ReSharper

I was used to use RockScroll (or MetalScroll), but when I started to use ReSharper my RockScroll start to show some bugs. Well, this is scope to another discussion http://stackoverflow.com/questions/1089493/is-rockscroll-compatible-with-resharper. But my problem is related, because now without MetalScroll I can't highlight all occurrenc...

How to run SQL that contains bind variables in the ODT Query Window?

How do you run SQL that contains one or more bind variables in the Oracle Developer Tools for Visual Studio Query Window? For example, the following works fine in SQL*Plus: variable x NUMBER; BEGIN :x := 0; END; / SELECT 1 FROM DUAL WHERE :x <> 1; When executed in the ODT Query Window, the following exception is raised in the Query...

Is there a Visual Studio 2010 Add On for Tabbed Multi-Monitor support

In Visual Studio 2010 you can drag tabs out to separate windows but you can not collect them together as additional tabbed elements. Is there a VS 2010 add-on to allow you to group your extra windows into tabs? It would be really nice to have a set of tabs on each of my monitors. ...

how to export documentation from C# classes into HTML?

how to export documentation from C# classes into HTML? ...

Can the MVVM-Light ViewModelLocator be used in nested ViewModels?

The Visual Studio 2008 Designer doesn't seem to like UserControls that reference the MVVM-Light ViewModelLocator. I get an error message like: Could not create an instance of type 'MyUserControl'. For example, the following XAML will cause this behavior if MyUserControl uses the ViewModelLocator to establish its DataContext. <Page...

How can i list and watch all global variables on watch windows of visual studio (for c++)?

When stopped at a breakpoint on main(), i can manually add name of a global variables to watch windows, but what i want is how to show a list of all global variables, because i'm using an external library, which contains many static things. Is it possible? Thanks in advance! ...

advanced Visual Studio kung-fu test -- Calling functions from the Immediate Window during debugging

I see some related questions have been asked, but they're either too advanced for me to grasp or lacking a step-by-step guide from start to finish (most of them end up being insider talk of their own experiment results). OK here it is, given this simple program: #include <stdio.h> #include <string.h> int main() { FILE * f; char...

Is there a way to switch off wpf design surface in Visual Studio 2008?

I would like to know if there is a way to simply turn of the WPF design surface in Visual Studio 2008. I would like to have the xaml editor, but not the design surface as it slows down the IDE, when I try to open a XAML file. For my workflow having only the source files for xaml would be a better fit as I am doing all visuals in Blend. ...

Simplest way do get started debugging PHP (Drupal)

What is the simplest way to get started with debugging and hit a specific line in a Drupal install? Generally? With Eclipse? (how difficult?) On Windows, knowing and having access to Visual Studio (How Difficult with Visual Studio?) (No Pay: Free or trial) Locally on Windows I am using the Acquia Drupal WAMP-stack. On the server Ub...

Need Help on this complex report

Hello guys, I have to create a report on Microsoft Reports in Visual Studio 2008. I have an Author Table, a books Table and a shops table that has these books. Now, I need to get all authors from authors table based on its author_ID, I need to display all the books of that author and then all shops of that are selling the books of that...

Where does Visual Studio stores the default browser to use in debug?

Hi all, I'm using Firefox as my default browser but when working in Visual Studio, I'd like to fire up IE when I go in debug. We all know that in MVC application, there's no way to choose the default browser unless you add a web form file, right click it, select browse with and then force a browser to be the default one. Great. My sim...

.Net Entity Framework get reference from N->1 relation

Hi, I'm having a ridiculous little problem. I have generated my model classes in visual C# Express 2010 but in a 1(parent)->Many(children) relation I can only access the children through a vector in the parent. I want to also be able to access the parent through a child. Does anyone know if this is a setting problem with a simple check...

Standard documentation of Visual Studio commands?

Visual Studio has a concept of commands, i.e. actions executable by pressing a shortcut, entering them on the Command Window etc. Visual Studio itself documents its commands (at least some of them) but I was wondering if there is a unified way to get information about any command, e.g. coming from ReSharper, TestDriven.NET etc. What I'd...