visual-studio

emacs style keyboard macros in visual studio

Hi, I'd like to use emacs style keyboard macros in Visual Studio, which for the most part I can do through these shortcut mappings... but I can't figure out a keyboard shortcut to repeat the next command x times. In emacs, I could record my macro, then type Esc, #, ctrl+x, e where # is the number of times I want to repeat my macro....

What is Aliases for in reference propeties in Visual Studio?

In Visual Studio in your C# project expand References folder. Then look at the properties of any reference. You'll see there Aliases property. In project the property has value "global". Can someone tell me what this property for and how can I use it? Thanks. ...

Can't see the designer view in Visual Studio 2008 C# Windows Forms due to weird error.

Hi, when I try to click on the designer tab to get the designer view, I get this error: To prevent possible data loss before loading the designer, the following errors must be resolved: The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the follo...

Web Service Project vs Web Site with .asmx file: differences and worth upgrading?

Consider 2 scenarios where we want to host a .NET web service. Nothing too fancy, simple data types back and forth. They both reference out to an assembly to perform the complex business logic & data access. The project would have a couple .asmx files each with a couple methods apiece. Web Service Project When Visual Studio creates th...

Alternative to Complex.h in Visual Studio

I know very little about VS, and was surprised when my linux code did not compile on windows. The problem seams from the lack of <complex.h> in VS. My question is this: do people re-implement in their Windows applications, or is there a public domain version. ...

How to change background color of 'code definition' window in Visual Studio 2008?

see title for question ...

Tool for comparing files in Visual Studio

Is there a way to select 2 files in Visual Studio 2008 and then compare them with an external diff tool like BeyondCompare? ...

MongoDB and visual C++ 2008 linker errors

i'm trying to get the c++ client for mongodb working in visual studio 2008. i can reference the includes, but whenever i tell the linker about the mongodb .lib file i get the following error: "fatal error LNK1257: code generation failed". if visual studio can't find the .lib, then i get a bunch of unresolved externals errors. i'm really ...

Is there a key to suppress anchors in the VS Windows Forms designer?

I have anchors set for numerous control on a Windows form, and now I want to resize the form in the designer without anchors being applied. Is there a key to suppress anchors in the designer temporarily? In the Visual DataFlex Studio, for example, we added the ability to hold down the Ctrl key while resizing in the designer for just thi...

link to files displayed in output (ctrl + click)

Hello: I have a utility command that writes out a list of the 3 or so files it created, ie: Console.WriteLine("\t{0} \tUpdated @ {1}", file, lastWriteTime); The main reason I do this is so I can find the files easily after the routine runs (the location may vary). Ideally, I'd be able to hotlink and open the file using ctrl + click,...

Visual Studio debugger step into compiled source

Hello I want to be able to step into the source code that is behind a 3rd party (not .Net framework) dll referenced in my own user code. I've done this before but can't now. When I try to step in, VS says there is no source available and would I like to go to disassembly. How do I get VS to ask me to link to the source code to step in...

Visual Studio C++ 2008 linking question

Hi, My project has a bunch a solutions containing several projects. There're 2 Configurations: Release (/MT) Debug (/MTd) We have a 3rd party library. Should we have 2 version of it for each Configuration (Release version compiled with /MT and Debug version compiled with /MTd) or it's enough to have one version (/MT or /MTd)? Tha...

Publishing Web App Project with Visual Studio

I am using Visual Studio 2008 and trying to publish a Web Application Project, but it keeps failing when trying to add files in the project. Below is a sample of the message; Publishing folder JavaScript... Unable to add 'JavaScript/hoverIntent.js' to the Web site. Unable to add file 'JavaScript\hoverIntent.js'. The specifi...

DLLs and STLs and static data (oh my!)

OK..... I've done all the reading on related questions, and a few MSDN articles, and about a day's worth of googling. What's the current "state of the art" answer to this question: I'm using VS 2008, C++ unmanaged code. I have a solution file with quite a few DLLs and quite a few EXEs. As long as I completely control the build enviro...

Browser keep stopping with user breakpoint and opens visual studio 6 in debug mode

Hi, Following my last question (see: http://stackoverflow.com/questions/1184175/problem-in-hosting-activex-on-vista-in-a-visual-studio-6-c-application) I ran into a strange problem. I hope this’ll be a simpler issue to the experts here: Each time I run certain application like iexplorer or firefox, the Visual Studio 6 suddenly opens up...

"Build Solution" not working in Visual C++ anymore

I'm working on a personal project in Visual C++ 2008 and for some reason "Build Solution" doesn't work anymore...the code changes aren't registered unless I use "Rebuild Solution". Any ideas as to why this is happening? I've tried google, but found nothing useful... ...

How do I build my website in Firefox?

Hello, Here's an easy question. How do I configure Visual Studio 2008 to build my webpage in a certain browser? I really want to build in all 5 well-known browsers (IE, Firefox, Chrome, Opera, and Safari), but right now I am having to right click the actual html files and open them in different browsers. In dreamweaver, there is a sim...

Is there a way to customize the Unit Test Wizard in Visual Studio Team System?

I am tired of Unit Test Wizard on Visual Studio, it helps a lot, for sure, but there are some things that I always have to change, like replacing explicit variable typing by "var". There is a way to customize it? ...

Referencing system.management.automation.dll in Visual Studio

I am beginning to look into the PowerShell model and snap-in development. The first thing I notice is to reference System.management.automation.dll. However in Visual Studio, the .NET tab does not that assembly, and neither am I able to browse to C:\windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.M...

Error while deploying websetup from vs2003

The specified path http://ServerName/Path is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager. ...