visual-studio

Eclipse eye for a Visual Studio guy

Hello, trying to do some Android development, which means Eclipse, however, most of my experience is Microsoft tools (e.g. Visual Studio). My java experience is mostly either Blackberry dev in the JDE and some miscellaneous stuff back in the Java 1.0 days. My question is this. In VS200x, there is a .sln (solution), .csproj (project)...

Visual Studio build problem

We have a VS 2003 solution containing 1 vb project and several c# projects(No web projects). The problem is when i try to build the vb project either VS exits or stuck at "performing main compilation". Please help Can not reproduce it. Clear build doesnt work. Sometimes problems is solved without doing anything logical. ...

Where is documentation on the Microsoft Visual Studio C++ Name Mangling Scheme?

I am interested in finding either official or reverse engineered documentation detailing the name mangling scheme used by the Visual Studio C++ Compiler to translate C++ names into symbols in generated code. I am aware that this may change between versions, and am most interested in the details for Visual Studio 2003, 2005 and 2008. Of...

How can I stop cl.exe from terminating when a user logs out?

We have an automated build server that produces builds using Visual Studio 2005 and CruiseControl.NET (on Windows XP x64). Normally nobody is logged into the system, but occasionally we have to log in via Remote Desktop in order to perform maintenance. We have noticed that if cl.exe is running (Microsoft's C++ compiler) at the instant ...

How can I easily view the contents of a datatable or dataview in the immediate window

Sometimes I will be at a breakpoint in my code and I want to view the contents of a datatable variable (or a datatable in a dataset). The quick watch doesn't give you a very clear view of the contents. How can I view them easily? ...

Visual Studio Extension to map Solution Folders to Real Folders

In an earlier question, I've found out that sadly Solution Folders are not real folders inside a directory. I wonder if there is an AddOn or Macro that adds this functionality? i.e. when I create a Solution Folder, it created a real folder. When I Create a new Item (Right Click => Add => New Item) it automatically moves them into that f...

File Drag & Drop ability in Visual Studio

I was wondering if any one knew of a plug-in or a way to: I would like to be able to drag files from Solution Explorer to a Windows Explorer window and have the file copied to the location in Explorer. Currently using VS2005 ...

Is form display dependent on development machine in Visual Studio?

I have a C# Windows application (i.e. not a web app) in Visual Studio. The original development environment was a Dell Latitude D800 with a 1920x1200 pixel screen. Since the large number of pixels made the text very small, I adjusted lots of different default fonts in the name of readability. I have moved development to new laptop, a La...

Visual Web Developer and multiple sites on the same FTP server

I used Visual Web Developer to open up Website_A directly through FTP, which was real nice. It let me edit the files on my computer and then save them right up to the server so I could see the effects my changes were having immediately. This is just like what I used to do with UltraEdit on non .Net sites, but with the added benefit of ...

Does the VS disassembly window show the whole EXE?

A client is running my company's program and it is halting before it gets anywhere. They sent this information from the Windows Event Log: faulting module program.exe, version 1.2.3.4, fault address 0x00054321. We don't have much else to go on so as a last ditch effort I've been trying to see if I can find where that position is in a ...

C++ Project dependencies issue Visual studio 2005

Hi, I am working on a dataManagement project that periodically deletes files in a specific folder. The solution has three projects of which, one is the application and the other two are static libraries. Now I want to add one more project which is a static library used for logging. The logging static library project has a header file whi...

Authentication dialog when running with Visual Studio web server

When using Visual Studio's built in web server, every time I make a page request the standard login box pops up and asks for credentials. It doesn't work if I actually put in my credentials, so I just have to hit cancel 5 times so it will go away. When I run the application through IIS (locally or on test server) it works just fine (no ...

C++ Visual Studio Compilation error

I get the following compilation error fatal error C1189: #error : ERROR: Use of C runtime library internal header file. I absolutely have no idea about it. can anyone throw some light on it? The complete error: C:\Program Files\Microsoft Visual Studio 8\VC\ce\include\crtdefs.h(100) : fatal error C1189: #error : ERROR: Use of C runti...

Compiling pages with custom extension (for ex .custx) as if they were .xaml files in Visual Studio

In a VS Package (Visual Studio Extensibility), I have a custom extension registered (for ex ".custx") with XamlLanguageService, so that in Visual Studio when the user opens .custx, it opens up in Xaml Designer/editor just like a .xaml file. However when I compile it as "Page" (BuildAction), the WINFX targets / Compiler errors out with ...

visual web developer resize "all images" together?

I have a weird problem with images in visual web developer, I cant change my images properties from properties panel (my changes don't take effect) and all images in my website have gotten the same size when I resize one image (by dragging the border), all images get that new size? any idea? ...

How to get a reference to a control from its' string name in C#

How to get a reference to a control from its' string name in C#? ...

Convert Visual Studio project to ASP.NET MVC

I have a visual studio project which is an ASP.NET MVC project, however it doesn't recognize it as such in Visual Studio so I don't get the nice dropdowns with Add View and such. Rather I just get a very plain add file dialog which doesn't include any MVC file templates. When I create a new MVC project however I get all the nice little V...

In Visual Studio can i plot my variable in breakpoint ?

In Visual Studio for my native C++ program I want to get a plot of some variables during debug. Mostly I use textual representation of the objects by editing autoexp.dat. But for some of the variables it is better to have a plot rather than having values in textual form. So far I have used a function plot(const void* address,const char*...

Any way to make Intellisense work, when opening a cs file that's not part of the project?

What we ideally need is, to know how Microsoft handles XAML generated code (Those *.g.cs files). If you goto a XAML code behind, intellisense will work even if the *.g.cs file is not part of the project!! Context: In a custom VS package, we need to have some logic to open a CS file (with out making it a part of the project) in the V...

Copy always to output directory does not work

I've got a simple console project where I'm reading two Excel-files. The Excel-files are included in the project ("add existing item") and I've marked them with "Copy to Output Directory". However, they are not copied to the debug-directory when debugging/running the code. I feel like I've forgotten something trivial. What do I need to...