visual-studio

What causes Visual Studio 2005 Out-Of-Order Command Line Builds?

In Visual Studio 2005, I have a solution with explicit dependencies specified via the Project Dependencies dialog. When I build via devenv /rebuild Release for example, the projects are built in a different order than when loading up the IDE. This is an order not allowed by my specified dependencies. In some cases, devenv crashes :( ...

How can I make Visual Studio 2005 call a WCF service?

How can I make Visual Studio 2005 call a WCF service? ...

How can I use the "Publish" function in Visual Studio 2008 without erasing the contents of the target folder?

When I use Build->Publish Web Site in Visual Studio 2008, most of the time it compiles the site, and then simply asks me "All files in the target folder will be deleted. Continue?" (or something to that effect). On occasion, however, when publishing a project in Visual Studio, I would get a dialog box that would give me the choice of rep...

Best project format for VS2005 + SharePoint deployment?

First, let me use one sentence to let out some frustration: My god, developing for SharePoint is a f-ing mess! OK, sorry, let me focus in on 1 specific scenario. I've developed (VS2005) some functionality that works if I deploy it as a DLL on a SharePoint (MOSS2007) server. Now I'm trying to identify the best way to package it as a d...

Visual Studio ASP.Net expand and collapse issue in ashx generic handlers

I have Visual Studio 2008 Professional and I am having issues with expanding and collapsing method code blocks in ASP.Net Generic Handler pages (.ashx) I would have thought you could do the same thing like in the code behind of .aspx web pages. I have this same issue on other boxes even with VS 2008 Standard and VS 2005 Professional. ...

Weird VS2008 Intelliesense problem

I have a class library (.dll) that i included in a asp.net website. Adding the reference was easy but for some weird reason when i try to type "imports blah.blahblah" vs2008 intellisense will not refelect the namespace of that project. does anyone ever come across this problem? Forgot to mention the project contain one module, could that...

IE6: window.onresize works on IIS, blows up on asp.net Dev Server... help!

Update 1: Cannot reproduce this on a co-worker's computer (same setup as mine) so I assume this is a problem with my workstation and not a general one. I'd appreciate it if someone would close this question as I don't have enough reputation to do it myself. @MatthewMartin. Thanks for your comments :-) Update 2: Unlike my coworke...

Output library project XML to asp.net bin folder on build?

I have a visual studio 2005 solution which has a web application and a class library project. The web application has a reference to the library project. I'd like the library project's code documentation XML to output to the web application's bin folder, along with the library's DLL. I can't seem to find any easy way of doing this. ...

How to debug a process using Visual Studio?

If an application† crashes: i hit "Debug" and Visual Studio is my currently registered Just-In-Time (JIT) debugger: Visual Studio appears, but there's no way to debug anything: i do not see any disassembly i do not see any registers (assuming it runs on a CPU with registers) the call stack is empty (assuming the CPU has a stack...

VS2008, IIS7 web project, non-admin. When?

What needs to happen before we can open Web Application Projects hosted in IIS7 with Visual Studio 2008 without running as Administrator? Are we talking about waiting for the next version of Visual Studio? Are there any existing workarounds? I think it's implied by the above, but this pertains to Vista. Thanks. ...

Relative path to a stylesheet in Visual studio not working in preview

Hi, I'm assuming this is an easy question, but I'll be darned if I can find the answer. I have a website in Visual Studio 2008. The paths to the stylesheets (and images) are in the following format /css/stylesheetname.css At the root of the web project in Visual studio the folder exists as does the stylesheet. These paths work fine wh...

VS2008: Launching the executable for a project that isn't the active project in a solution

In VS2008, Is it possible to launch the executable for a project that is not the active project in the solution? (i.e. its name is not in bold). Not debugging it - just launching it. As far as I can see, you just have to drop in to Windows Explorer and double click the .exe! Am I missing a menu item or shortcut? ...

VS2008 Error After installing TFS Powertools

Hi, I'm getting a weird error occassionally in VS2008. A colleague gets a similar error, we both noticed it after installing TFS PowerToys so I'm wondering if it's related. Anyway the error is: Team Foundation Error Retrieving the COM class factory for component with CLSID{GUIID...} failed due to the following error: 80040154, Any he...

Why is Visual C++ lacking refactor functionality?

When programming in C++ in Visual Studio 2008, why is there no functionality like that seen in the refactor menu when using C#? I use Rename constantly and you really miss it when it's not there. I'm sure you can get plugins that offer this, but why isn't it integrated in to the IDE when using C++? Is this due to some gotcha in the wa...

Visual Studio Web Design

I'm using visual studio 2005 and have been building asp.net applications. Mostly just departmental level apps for reporting and data maintenance. They work and they look ok but they don't look great. I don't have any other tools like Dreamweaver or Expression. Can anyone name any books or resources for making better looking web page...

Multiple Team Foundation Server

We currently have a local TF Server here in our company, and we are about to make a subset of our projects open source (via Codeplex), but we are having problems mixing two Team Foundation Servers in the same solution. Looks like Visual Studio can't be connected to many TF Servers at the same time. What's the best way to deal with that? ...

VB.NET..... Loop help

Hi, I am using My.Settings in visual studio 2008 to store information, for when the user runs the program again. I have that working fine... but as I am using 12 textboxes I don't want to write... my.settings.grade1 = textbox1.text for each one, and I am also making calculations using the stored information, so I dont want to be writi...

Right way of working with connectMode for VS add-ins

Can someone point me to a guide on how to interpret the connectMode parameter that gets passed when a VS add-in is loaded? ...

Any experience with the Visual Studio Shell?

Our company is considering using the Visual Studio Shell for one of our products. Does anyone have any experience using it? Was it easy to work with? Did it save time? Are there any things that you weren't able to get it to do? Have you shipped anything with it? ...

Undo/Redo files in Visual Studio

Why VS does not have support for undo/redo files? ...