visual-studio-2010

Visual Studio 2008 coding for Visual 2010 add-in

Hey guys, I been wondering if VSX is backwards compatible in coding, as there had been very limited and vague resources for the VS2010 add-in API. I need to create an add-in for a project, but since I've never coded in VSX before, I was wondering if anyone knew. Thanks in advance. ...

Adding Runtime Intelligence Application Analytics for a library and not an application

I want to add usage statistics for a .NET 4.0 library I write on CodePlex. I try to follow the step described here but my problem lies with the fact that what I write is a library and not an application. One of the steps is put the Setup and Teardown attributes. I thought about adding the Setup attribute on a static constructor or a d...

Unrecognized configuration section httpHandlers in Web.Config with Microsoft Visual Web Developer 2010 Express

Hi all, I am in need of some help with an error message I get with Microsoft Visual Web Developer 2010 Express. I would like to create a gallery for my site so I downloaded the NotesForGallery from codeplex. I have added the reference into the project like it told me to in the installation instructions. The instructions then say Re...

ASP.NET 2.0 control is not shown up un VS 2010 toolbox

Hi, I have developed some ASP.NET controls in .NET 2.0 with VS 2008. Now, I upgraded my project to VS 2010 but did not change the target framework to .NET 4.0 yet. But, surprisingly, I found that, the toolbox is not showing the bitmaps for the control added to the toolbox in VS 2010. Moreover, when I dragged and dropped a control (.NET 2...

Code coverage test in Visual Studio 2010? How?

Hello, I have a simple project on C#.NET and have written it in Visual Studio 2010. I am a newbie in C# and Visual Studio. I have written some unit tests, and they pass ok, but how can I test code coverage? Thanks in advance. ...

Which MacBook(Pro) for running Visual Studio 2010 on VMWare Fusion on a Mac?

Hi Anyone have experience running Visual Studio 2010 on a MacBook or MacBook Pro? (via VMWare fusion) Any feedback / advice based on your experience re what level of MacBook Pro (i.e. CPU type, CPU speed) you would target to get reasonable/good performance from VS2010 on it? (I'm just concerned about getting a base level MacBook Pro ...

Which unit test framework in VS2010 - MSTest or NUnit?

Possible Duplicates: Ms Test or NUnit? NUnit vs Visual Studio 2008s Test Projects for Unit Testing? what test data approach/framework is recommended for .net unit testing Are there real differences between NUnit and Microsofts Unit Testing Framework (VS 2008)? Any recommendations re whether to got MSTest or NUnit for a ...

what test data approach/framework is recommended for .net unit testing

Hi, what test data approach/framework is recommended for .net unit testing? I'm in VS2010, C#, doing business logic layer testing. By approaches I mean like: creating database snapshots, programmatically creating each time, etc etc. Like what approach to use to ensure at the start of each test the database is in a known state. ...

What C++0x features does Visual Studio 2010 support?

There is a list for GCC; is there a similar list for Visual Studio 2010? ...

Error compiling Visual Studio 2010 EditorClassifier Extension Template

I'm trying to create an Editor Classifier Template project and run it. When I attempt to build I get an error message stating: "Error trying to read the VSIX manifest file 'extension.vsixmanifest'. Exception has been thrown by target of invocation." Any thoughts? I've tried googling this but didn't have any luck. I am working with Vis...

VS 2010 Class Diagram Error "The type cannot be edited..."

A few of the classes on a VS 2010 class diagram are displayed with a red title. The Class Details window shows all of the methods, properties, fields and correctly shows no events. However, there's an entry under each of methods, properties, fields and events that states where the name should be: "The type cannot be edited because ...

Prism Templates pack vs2010 install location

Hi Does anybody know once you install the prism templates vs2010 where are they Installed? I cannot find in anywhere. I am using windows 7 Thanks a lot ...

C# 2008 Express v C# 2010 Express

Can anybody post a link to a comparison chart, or even to a duplicated question here on SO, for these two products? Plenty of info on what is missing between Express and Pro for example, but I'm struggling to find much on Express v Express. Is the only real difference the ability to develop apps for .NET 4.0? I'm developing WinForms a...

VisualHG icons doesn't appear in VS2010 solution explorer

Has anyone managed this problem? All other Mercurial facilities are working fine inside VS. ...

Visual Studio Deployment Package - change the file structure the .zip creates?

Everything works as expected but I would like to improve the directory structure that the .zip produces. When I create a deployment package I have it create in a custom directory which works fine but the .zip it creates is in the structure of: content/c_c/users/pcName/documents/VS2010/Projects/ProjectName/obj/release/package/packageTmp...

Better C# Syntax Coloring for Visual Studio 2010?

Coming from Eclipse, I'm disappointed with the very limited syntax coloring capabilities offered for C# by Visual Studio (all versions, up to 2010). In particular, I'm interesting in distinct coloring for methods / fields / locals / static stuff. I'm aware Visual Assist can enhance the coloring, but I've failed to find any free alterna...

What font should I use in Visual Studio 2010 when giving a presentation?

Scott Hanselman suggests using Lucida Console, 14 to 18pt, Bold for the Visual Studio font when presenting. But that's a post from 2003, and I think I remember hearing that there was a better font in VS 2010. Is it Consolas? What font/size should I use when giving a presentation? ...

Visual Studio 2010 Editor UndoHistory

I am trying to write an extension that can access the TextUndoHistory of an VS editor. Do I have to implement ITextUndoHistory and ITextUndoTransaction myself or is there something that I can hook into using the SDK? Thanks, Nick ...

I can't seem to find System.Collections.Concurrent on VS2010??

I've got VS2010 and im pretty sure .NET 4.0, as if i try to install it from MS it says do i wish to repair the current version- so i must have it. But i want to create a concurrent dictionary and i cant seem to find the correct packet. I went to references to add it manually but it wasnt in my list? ...

MSBuild target PipelinePreDeployCopyAllFilesToOneFolder cannot be found when deploying

Deploying a Web Application Project from VS2010 RTM causes an error in MSBuild. It complains that the PipelinePreDeployCopyAllFilesToOneFolder target cannot be found. Is there any way to further diagnose this? Thank you. ...