visual-studio-2010

Code Review "ToDo" Follow Up Items

I am trying to institute code reviews at my company, and recently we had our first code review meeting. During the meeting, several positive suggestions were made and I added TODO comments in my code for following up. After reading suggestions on here on best practices for code reviews, I would like to follow up on all the items I co...

How do I select the right version of the CLR in VS2010?

hi all At the time of creating the new project, i not able to session entry for previous version of .net framework in the drop drown box it should only .net Framework 4 and hyper link for more framework.Even those i have .net 2.0 ,3.0 and 3.5. Can anyone suggest me what can be done? Thanks and Regards Sameer ahmed.s ...

Can Visual Studio 6 and 2010 coexist on same machine?

I need to have Visual Studio 6 installed on a machine that already has Visual Studio 2010 Professional installed. Can this be done without overwriting libraries, registry settings, etc., or should I go the longer route and set up a VM with Visual Studio 6 installed there? Can Visual Studio 2010 co-exist with Visual Studio 6? ...

Unit testing ASP.NET MVC 2 routes with areas bails out on AreaRegistration.RegisterAllAreas()

I'm unit testing my routes in ASP.NET MVC 2. I'm using MSTest and I'm using areas as well. [TestClass] public class RouteRegistrarTests { [ClassInitialize] public static void ClassInitialize(TestContext testContext) { RouteTable.Routes.Clear(); RouteTable.Routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); ...

Visual Studio 2010 insists on inserting spaces in JavaScript

Visual Studio 2010 inserts a space between the keyword "function" and the following parenthesis. Is it possible to turn this off? i.e. Visual Studio formats my code like: var vsfn = function () { }; I would like this formatting: var myfn = function() {}; ...

Convert File System Website to IIS Website

We recently migrated from VS 2008 to VS 2010. The migration went fine, except for our web project. Before, in VS 2008, the site showed up as http://localhost/Website. Now, it appears as C:...\Website. It appears that when we did the migration, VS started to treat it as a file system website. I've tried removing the existing site and re-...

How to work with XAML editor in Visual Studio 2010?

I've worked with Visual Studio 2008 and editing XAML was really painful because the designer reloaded very slowly. Now I have installed Visual Studio 2010 and it seems to me that the XAML editor + Designer haven't changed much. For example in order to force designer to change a color in my control I have to close the xaml file and open...

Does Team Foundation support cross-app workitem groups?

We're currently using Visual Source Safe and BugNet and looking to migrate up and away from VSS. I've been pushing for either SVN ( a) we're an ASP.NET shop, b) DCVS is not an option - no matter how much I like Hg ;-) or TFS. Well we finally got a new dev server, so I talked the boss into installing TFS on it (30 day trial). In the meant...

Visual Studio 2010 is not allowing me to debug my code

So, this interesting issue has been plaguing me for the past couple of hours. Visual Studio 2010 Ultimate no longer attaches the debugger and lets me debug my code. If I use the built in development server, then everything works fine. If I switch to Use Local IIS Web Server (http://localhost/), then all it does it attach to w3wp.exe, b...

Best "For Pay" wpf controls

If this question has been asked then I applogize and I will join in voting to close it (or just delete it), but I could not find it being asked before. We are potentially embarking on making many of our apps using WPF. Most of our apps are normal business apps that will not need too much eye candy. Tasteful ui is nice, but I don't see...

How to create a solution template in VS2010?

Can anyone point me in the right direction on how to create a Solution Template in VS2010? I need to create a solution with several projects already created.... ...

Will VS2010 work with Visual Source Safe 2005?

Until I can convince others to convert over to Team Foundation Server 2010 (TFS2010), I'm still going to use Visual Source Safe 2005 (VSS2005). I will be upgrade to Visual Studio 2010 (VS2010) soon. What do I need to get VS2010 to work with VSS2005? I understand there is a patch for VSS. ...

What are the best tools for Sql Server version control

After reading this post, and the suggestion to use Team Edition for Database Professionals, I want to know is there any equivalent to this for SQL server 2008 / Visual stuio 2010 ultimate. I'm looking for tool need to do all the thing that Jeff mention in his article: Create test data. Schema comparison. Data comparison. Database unit...

Experience with Coderush XPress and Visual Studio 2010?

It is possible to use CRX with VS 2010: http://stackoverflow.com/questions/1441554/can-i-use-coderush-xpress-in-visual-studio-2010 Refactor Key works. (After assigning the shortcut) What doesn't work is QuickNav and QuickFileNav. The Standard Shourtcut for QuickFileNav is CTRL+ALT+F, which is conflicted with VS View.F#Interactive. ...

Build failing - VS2010 solution on TFS2008

I have migrated a VS2008 ASP.NET MVC solution to VS2010/MVC2/.NET 4.0 The solution builds locally and all unit tests pass. Our TFS server is still TFS2008 and I am having problems getting the CI build to pass. The projects all build successfully, the unit tests all run and pass but the Running Tests item fails. I followed this blog p...

Problems trying to use Visual Studio 2010 and AJAX extensions

Why can I not add ScriptManager control or UpdatePanel to a page in Visual Studio 2010? The drag( or double click) just fails - it seems like there is an incompatibility somewhere? UPDATE: This is 'default' install of 2010 Ultimate on Windows7, create a web application, cannot drag ScriptManager or UpdatePanel to the designer. Typing t...

Visual Studio 2010 Database Projects: Are there any videos/tutorials or comments about the new Database Project Types?

I have recently upgraded to Visual Studio 2010. I have kept database projects separate to application projects. The database project was converted from and old DPR project and added a whole lot of additional folder. I deleted those, but now I suspect I need to recreate the project as these new projects work very differently. Now that I ...

Visual Studio 2008 or 2010 on 64-bit Machines?

I know many have asked the same question but I am still confused that does Visual studio 2008 or 2010 works with 64-bit computers? Here in this post the answer is that he can run Visual studio on Windows 64 bit OS? How? ...

Visual Studio 2010: COBOL in VS 2010, missing?

Is it true that Visual Studio 2010 has now COBOL compiler inside? I saw this in one article. I also saw a video of it. The question is, where can I find it? I've been searching VS2010 and still, no clues. Thanks for answering. ...

Nothing happens when i press the ASP.NET Configuration button in Visual Studio 2010

Hello I recently installed Visual Studio 2010 and it works fine except one thing: When I press the ASP.NET Configuration button above the solution explorer, nothing happens. I'm running Windows 7 32-bit and have setup a server using aspnet_regsql.exe, which is correctly configured in web.config with LocalSqlServer connectionstring and ...