visual-studio

Visual studio 2008 autorecover directory location change

howdy using vs2008 C# Does anyone know how change the directory location that auto recover files are saved to in visual studio sp1. The specific directory it should be on my C# drive in my documents is always empty even when the feature is turned on. There where some changes to our network env and it seems my auto recover files are now ...

Visual Studio Wcf Test Client - entering an Int array

Hi, I've found the Visual Studio WCF test client quite useful when it comes to a quick test of my WCF service. This is the test client found in this location relative to your Visual Studio install directory: \Common7\IDE\WcfTestClient.exe I have a few service calls that require a parameter of type System.Int32[] I can't seem to fi...

Ignoring generated files when using "Treat warnings as errors"

We have started a new project but also have this problem for an existing project. The problem is that when we compile with a warning level of 4 we also want to switch on 'Treat all warnings as errors' We are unable to do this at the moment because generated files (in particular reference.cs files) are missing things like XML comments a...

Visual Studio 2010 Full and ASP.NET MVC 2.0 Template

Hello, I've installed full version (not RC nor Beta) of Visual Studio 2010, a then setup within Web Platform Installer 2.0 announce me that I need to install MVC 2.0, so i did it. When I want to create project "MvcWebApplicationProjectTemplate" in VS I have following message: error: this template attempted to load component assembly '...

In the Visual Studio editor is there a keyboard command to jump to the matching bracket?

In Vi / Vim you can move to a bracket and press % and the editor would move the cursor to the matching bracket. This saved large amounts of time when moving around the large files in the editor. Is there a Visual Studio equivalent? ...

Is it possible: Replace To Uppercase in VisualStudio?

Is it possible: Replace to Uppercase in VisualStudio? using "Find and Replace" Tool + Regex(?) à la: . => Upper(.) Say I have m_ablabla , want _Ablabla ...

Getting timestamp of module from crash minidump

Is there a way to get the timestamp of any module from crash dump. ...

How change build action from content to compile site wide

I'm trying to convert a asp.net website to asp.net web application. I need to change the build action for every file from "content" to "compile". How can i do this site width. I have a too many files to do this manually. ...

Is there a Firebug console -vsdoc.js?

If not, does anyone care to write one? I would do it myself...but I don't have time right now...maybe next week (unless someone beats me to it). If you are bored and want to compile the vsdoc: Here is the Firebug API. Here is a blog post about the format for VS doc comments for intellisense. Here is an example vsdoc (jquery-1.4.1-vsdoc....

Visual Studio requires elevated permissions in Windows 7

I'm running Visual Studio 2008 on Windows 7. When I try to attach to a process, VS tells me to restart under different credentials (with elevated permissions). So I have to restart VS and run it as Administrator. Is there a way to set it up so VS always starts with Admin privileges? ...

VS 2010 Server Explorer Database Showing No Tables

I'm working on a .Net application that needs to read from an Oracle 10g database behind Siebel. In VS 2010 Server Explorer, I've created a connection using the OracleClient type connector with a reference to the Oracle TNS service name as the "server name." The "Test Connection" button shows that the connection is successful. However,...

The project type is not supported by this installation

Whenever I try to open a project (csproj) that's downloaded from the internet, most of the times, I get the "The project type is not supported by this installation" It appears that my Visual Studio installation is not corrupted (I can pretty much do everything with it other than open these csproj files) What may be causing this? ...

VS 2008 - how can I run a "pre" source control checkin validation

I would like to run a script automatically on a pre source-control checkin but see no option to do. Can anyone tell me if this is possible and, if so, how? When I say script; I have a executable that validates the a solution file and returns an Environment.Exit code of 0 or 1 for success or fail. It would be really cool if it would then...

Editing .aspx file makes Visual Studio unresponsive.

I'm using Visual Studio 2008 on Windows 7. When I'm editing .aspx file VS stalls and thinks for about 3 sec every time I add a tag. Very frustrating. I'm guessing its doing some kind of compilation or checking. What can I do to make VS more responsive? ...

Getting timestamp of module from crash minidump

Is there a way to get the timestamp of any module from crash dump. ...

Add a WCF Web Service Without Updating Web.config

I am attempting to add a WCF web service to my project and each time I add a new web service it adds a new Service Behavior, new Service configuration, and changes the formatting of my web.config. Is it possible to add a new WCF Web service (.svc extension) to my project without it changing my web.config file? I am willing to add the in...

How to exclude source files from cmake created visual studio projects based on target architecture?

I have a Windows Driver Kit solution that builds the dll for a printer driver. I then convert the binary to C-code and include it into my source so that the dll can be extracted at run time and I don't have to distribute two files, just the .exe. However, I have to build the dll for i386 and amd64 resulting in two dlls, and thus two c ...

Running CPython Applications With Visual Studio?

I would like to know how to use Visual Studio with CPython (the official python.org python interpreter, not IronPython). In particular, I am interested in getting "build" and "run" commands in Visual Studio working. Other features such as color highlighting and auto-complete, I am less concerned about. Also, can the "build" command be ...

No System.Web In VS2010

In a WPF project, I'm trying to add System.Web as a reference but in Project -> Add Reference -> .NET there's no System.Web. Any ideas? Thanks. ...

My ASP.NET Accordion will not animate panel changes when triggered by check boxes.

My accordion panel in markup: <ajaxToolkit:Accordion ID="MyAccordion" runat="server" SelectedIndex="0" HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent" AutoSize="None" FadeTransitions="true" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" Suppre...