visual-studio-2010

Why isn't my published VB10 project installing the .net 4.0 prerequisite?

I have a personal project written in VB10, and am publishing it from VS2010. However, when users attempt to run the created setup.exe, they receive an error stating .net 4.0 is required. At first I assumed I had simply not set the framework as a prerequisite, but I do have "Microsoft .NET Framework 4 (x86 and x64)" checked as one of the ...

Do I need to have a separate Visual Studio 2010 project for services, classes, website and Silverlight app?

I am starting a new Silverlight 3 project in Visual Studio 2010. My plan is to have a project for each of these: The Silverlight application The hosting web application The WCF service This last one will also contain a typed dataset (that will serve as my data logic layer) and a few classes to do my business logic. The WCF service meth...

What document compiler should be used with C# 3.0 XML documentation comments ?

Hi, I am wondering what documentation compiler other developers use to transform the C# 3.0 XML comments into documentation. I had experimented with the Microsoft supplied tool in Visual Studio 20005, but am currently using Visual Studio 2010 Beta 2. I have heard of "Sandcastle", which was apparently used for VS 2010 Beta documentatio...

Insufferable word wrap in Visual Studio XAML editor - is there any relief for 2010?

Just curious if the XAML editor is any better at auto-formatting and wrapping attributes in Visual Studio 2010. Here's how the editor auto wraps attributes in VS 2008: <StackPanel Grid.Row="0" Grid.ColumnSpan="3"> <StackPanel Orientation="Horizontal"> <TextBlock VerticalAlignment="Center" FontWeight="Bold" Text="Current Use...

Visual Studio 2010 keeps trying to update my projects

When you open a project in VS 2010 it asks you if you want to upgrade the project to target .Net 4.0 and has a checkbox to do this to all applications. The first time every project opens it gives me this prompt and I always click no. This time I accidentally clicked yes and it had the checkbox checked to do this to all project. I rese...

mysql with EF 4.0

Hello everyone, Do you know a way for using mysql in vs2010 with ef4? Thanks in advance. ...

VS2010 Beta 2: Can't launch local help documentation

Hello, In VS2010 Beta 2, from the Help Library Manager, after selecting local help, and downloading the VS Documentation, it won't launch. Here's what I have installed: Here's what I'm clicking in the Start Menu: Here's the result: Ideas? Thanks, Adam ...

VS solution to makefile

is there a tool to generate a makefile out of a visual studio Solution? ...

Proper way to rename solution (and directories) in Visual Studio

I have a rather involved Visual Studio solution (2010, but it shouldn't matter) that I need to rename. I want to rename the folders to match the new solution name, but I can't figure out a way to refactor the folder names automatically, and going through every single project file will be painful. Is there an official way to do this? Alt...

Using Property Sheets in Visual Studio 2010?

Visual Studio 2010 no longer has the "VC++ Directories" page under Tools / Options. It's been superseded by the Property Manager, and I'm unsure how best to use this. For example, I've got a solution containing multiple projects, all of which require a header file from the Microsoft SMS SDK. This SDK is installed in the same place on al...

Productivity features in vs2010

I have recently upgraded to VS2010, and overall I must say that I'm very impressed. I used to use ReSharper when working with VS2008, but I have found that many of it's features have been incorporated into VS2010. One of the features I like the most is the CTRL+, command which lets you navigate to a class or method by writing part of it...

One R#5 license for VS 2008 & 2010? (only one at a time)

R#5 supports VS2008 and VS2010? Can I use it in both IDEs on my one workstation with only one license? I won't run the two IDEs at the same time. ...

VS 2010 Setup Project Requires .NET 4.0, but it is already installed

I have a VS 10 project using .Net 4.0 and I use lots of stuff that do require 4.0. I created a VS Setup project added the primary output from my project and built it. I then installed it and everything worked fine. A few days later I am ready to do a new build so I rebuild my project and then the setup project. Now when I run the msi it ...

How to get project wide Remove and Sort Usings for Visual Studio 2010?

We had the Power Commands for Visual Studio 2008 that add a context menu command that Removed Unused Usings and Sorted Usings for all files in a project/solution. How to do the same in VS2010 since this plugin is incompatible? ...

How to use PEX with NUnit tests in VS 2010?

Hi, I am aware that the current release of PEX allows use with the NUnit framework. The thing is I can't configure it to use the NUnit framework. In the Options -> PEX: What Exactly do i have to put in the "TestFramework" and "TestFrameworkDirectory". I Have tried many combinations but failed to achieve any success. ...

Empty .NET Tab in Add Reference Dialog

In Visual Studio 2010 beta when I try to add a reference to a Silverlight 4 project I get an empty list on the .NET tab. I know that it is filled in asynchronously now but I've waited over 10 minutes and it never fills. It seems to work in other projects – it just seems to be Silverlight that it has trouble with. Does anyone know what th...

Is ClearCase supported in Visual Studio 2010

I'm looking for information about support for using ClearCase in Visual Studio 2010, I'm writing up an evaluation of VS 2010 and need some info on SCS other than TFS and SVN and was wondering if there is a plugin being developed for ClearCase and VS 2010? ...

Can't debug code when VS 2010 debugger started with external program.

This is really strange and I can't seem to figure out why it won't work. I have a C# dll that is a add on for another program, the main program is not mine or a .Net app so I am starting it with Start external program in the debugging tab and and passing my program as a command line and the program starts and loads my add on however my ...

Visual Studio 2008 and JavaScript brackets formatting

As we all know MS added JavaScript formatting to VS 2008 SP1. But unfortunately it fails on this code: var viewport = new Ext.Viewport({ layout: "border", items: [{ region: "center", contentEl: "center" }, { region: "south", contentEl: "s...

ACCESS DENIED error from stream file open

Possible Duplicate: Access Denied in SQL 2008 EXPRESS I have create my code in order to write images in a remote sql server All the details of accessing and writing are fine until now, including the system account right now i'm in the command of: SqlFileStream = New SqlFileStream(filePathName, fileToken, FileAccess.Write) an...