visual-studio-2010

Visual Studio Window Shortcut Wonkyness

I've been diligently memorizing VS 2010 shortcuts based on the cheatsheats on Scott Guthries blog. The shortcuts in the cheatsheet for WIndows dont match my setup e.g. Ctrl W,C is the cheatsheet shortcut to open the class viewer but mine is Ctrl + SHift, C. Maybe this is because my 08 settings got picked up at some point. I've changed...

Right clicking suddenly unbearably slow in VS 2010

I have been using VS2010 without any issues, always on the same application. Suddenly within the last my solution has become unbearably slow when right clicking. When doing other projects, it is fine. The only thing I can think of that I changed was disabling the SQL Server debugging. It happens if I right click anywhere within the c...

What's causing this weird Windows Phone Emulator crash?

I am trying to debug my Windows Phone 7 app, and I am getting the following error upon launching the app in the emulator (via VS2010 debug): Unable to start program '\Windows\tashost.exe\' The drive cannot locate a specific area or track. Any ideas as what may be causing this? The most recent change I made was adding functional...

Visual web developer 2010 express autocomplete not working

Hi, I'm working with Visual Web Developer 2010 Express. I tend to bump at very strange problem. Somehow, the autocomplete function gets disabled out of nowhere in the editor, and i have no idea how to bring it back on again. There are no errors, no warnings (a javascript file). It seems that it turns off whenever i get close to a code...

Visual Studio 2010 Snippets - Current Date

I'm making a snippet for a file header in Visual Studio 2010. I want the date to match whenever the snippet was executed. Is this possible? ...

How to get VS2010 to recognize my mstests generated by SpecFlow?

I have configured Specflow to target the MsTest framework (instead of NUnit) by specifying it like this in the app.config of my 'specs' class library: <configSections> <section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/> </configSections> <specFlow> <unitTestProvider n...

Is there a command line to deploy a Sql Server Database project?

We are using the SQL Server Database project template with VS 2010. As part of our integration testing, I would like to first launch a fresh deploy of the database. But short of manually right clicking the project and picking "Deploy" It doesn't seem to be a simple thing to get a fresh copy of the database deployed. The documentation f...

Viusal Studio 2010 C++ ATL Web Service

Hi, I want to be able to create the same "hello world" output shown in this tutorial: http://www.codeproject.com/KB/atl/tipoftheday.aspx However I wish to make it use visual studios 2010 ATL project running as a service (EXE), does anyone know where I could find a template or a tutorial that explains how to do this. ...

How to deploy an MSBuild custom Task using MEF?

I have a number of custom Item and Project Templates for Visual Studio 2010. I have build a VSIX Package that can be used to deploy these extensions to multiple developer's machines. I am now creating a custom MSBuild Task that will be required for a new Item Template. In my local project, I can get this to work by putting in a hard-co...

Visual Studio and root namespaces

Hello, I am using VS2010, is there a way, to disable full root namespaces, when VS is autogenerating code? From this: { global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); } to this: using System.ComponentModel; { Collect...

Visual C++ vs C# with Visual Studio 2010

What are the real benefits from using Visual C++ under Visual Studio 2010 versus C# under Visual Studio 2010 EDIT: I'm asking for a pro/con type of thing here ...

How to Package/Publish SQL databases with ASP.NET MVC 2 Website?

I'm trying to deploy my ASP.NET MVC 2 Website for the first time on a local IIS 7 server, which is configured and running. I've made successful deployments using the Web Deploy option without the databases (so the site isn't fully working yet). Most of the deployment settings are pretty intuitive, however, I have problems with the Packag...

Is it possible to host the clientaccesspolicy.xml file with the ASP.NET Development Server?

I have a solution with two service projects (one is hosting a unit test silverlight application and other is providing the services being tested). Because of cross-domain policy, I have to publish the primary service site to IIS before the unit test site can consume a service. Is it possible to host the clientaccesspolicy.xml file on A...

Is there a Linq to Entities debug Visualizer working?

I found this but this is not working for me.I added a reference and also tried to also copy it to this directory -\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers Has anyone tried using this or something similiar that helps me see the sql code generated by Linq query.I know I can use the profiler but I want something mo...

visual studios 2010 atl web service

Can anyone tell me where to find an visual studios 2010 atl web service template like the one that comes with visual studios 2008? Thanks. ...

Visual Studios 2010 ATL Active Server Page Component

Hi, I'm trying to create a website from an ATL project but I cant seem to get the basic project to work. I have created a ATL project as a (service exe) and added the ATL Active Server Page Component, this all works fine. could someone guide me to the steps to get "hello world" to appear in a browser? Thanks. ...

HowTo get work Microsoft Visual Studio 2010 and Qt Visual Studio Add-in?

Greetings everyone! Question: does any one have a success with combining Microsoft Visual Studio 2010 with Qt Visual Studio Add-in? I have tried to use MSVS2010 with Qt VS Add-in 1.1.5, but no luck. PS: no never mind what exactly arch or OS, I used Win7 x32... Thanks! ...

Visual Studio 2010: Compilation designer.cs error

Hi I am using Visual Studio 2010 , if I use update panels , and do some changes in Markups , then in designer.cs System.UI is converted to System.Web.Webparts, Which force me to changes all "designer.cs" files. Has anyone else experienced this and are there any solutions? ...

xsd:Import doesn't work in WSDL?

Hi, When put below wsdl into my VS2010 project I got a "Type 'urn:listing3:Phone' is not declared." error. Looks like the xsd:import doesn't work, why? <?xml version="1.0" ?> <wsdl:definitions targetNamespace="urn:listing2" xmlns:tns="urn:listing2" xmlns:listing3="urn:listing3" xmln...

Visual Studio 2010 compilation error

I'm using Visual Studio 2010 Ultimate on Win XP and I'm having a strange problem. If I try to build a project where the code fails: var html = $('<div>').append($('#top').clone()).remove().html(); Visual Studio stops with an error which is normal. Now if I comment out the line or even delete the line from the code Visual Studio stil...