visual-studio-2010

Can I install VS on two machines with one license?

I am an adjunct professor teaching database and programming classes. I own a desktop and laptop both running Windows. I own an Academic copy of VS 2010 and have it installed/activated at home. Starting in the Fall I will be teaching C# .NET programming with VS 2010. However, the laptop at the college with it installed is a 5 year o...

A site built in .NET 3.5 to target 4.0, when server runs 3.5

I have a legacy .NET site that has been around since the 1.1 days. As I've upgraded my VS, I've upgraded the target framework as well. Currently the site is running 3.5. I just got VS10 and it is asking me to upgrade the site to 4.0. However, my (shared) server is still running 3.5 and I can't upgrade it. Is it safe to upgrade the site t...

Tutorial for Install Shield 2010 Limited Edition VS 2010?

Hi Does anyone have a tutorial that they could point me too. I am kinda confused about some of the steps in the wizard for install Shield 2010 limited edition. ...

How can I change the Visual Studio work environment from Web mode back to Visual C++ mode?

I selected web development as my primary development style the first time I booted Visual Studio 2010 and now I would like to change it to Visual C++. How can I do this? ...

Can't connect to asp.net development server in Visual studio 2010

I'm working on my asp.net mvc project but when i try to run my project it show the error which is " unable to connect to the asp.net development server " but my server icon on the taskbar is also connect, I try to set specific port but there is still a problem. any suggestion, Thank you ...

Visual Studio 2010 powertools HTML clipboard support

I installed http://weblogs.asp.net/scottgu/archive/2010/06/09/visual-studio-2010-productivity-power-tool-extensions.aspx but I can not find where I can make use of the HTML clipboard support. Anyone knows where to find it? I already searched in the kebyoard settings after Copy but that didn't provide me something useful. Anyone? ...

Unable to automatically step into server. unable to determine a stopping location

I have a VB.NET VS2010 solution with a WinForms project that calls a web site project in the same solution. I can step into this web method: <WebMethod()> Public Function GetStartUpData() As DataSet and other web methods, but not the following method. I wonder if it has to do with the fact that that is the only web method that uses a p...

Microsoft.Build.Utilities.FileTracker threw an exception error. Happens with different projects

Lately with Visual Studio 2010 Ultimate, C#, in Win7 64bit, I get the error below when I compile any project. The workaround is to add <TrackFileAccess>false</TrackFileAccess> to the project file. If I am not mistaken this would disable incremental builds so I want to stay away from this workaround. Anyone knows what the permanent relia...

Selection bug when replacing items of a WPF ListView bound with ObservableCollection property

Hi, I wrote a very simple WPF application which has a listview and 2 buttons. The listview is initiated with 3 items. The button 'Add' when clicked will add new item to the list. The button 'Change' when clicked will change the selected item content. The bug raises when we click this 2nd button. I upload the solution codes here. In the...

How can I configure Visual Studio 2010 to build ANTLR grammars for C++ projects?

The .rules files provided with the distribution aren't recognized by VS2010, and I'd really like to avoid having to write a whole MSBuild task and all that for what should be a simple tool. Currently I've been using the pre-build event and making the commandline manually... but that kind of sucks when there's more than one grammar to wo...

Which keyboard mappings are still available?

I'm recording some macro like: collapsing all outlining, locating opened file in solution explorer, opening the pending changes pane... But I'm having difficulty in choosing the keyboard mapping for my macros. It seems like any mapping I choose are reserved by Visual Studio IDE default setting. What mappings are you using? [Edit] I fo...

Visual Studio 2010 Ultimate Setup Failure

I want Setup VS 2010 Ultimate on Windows 7, but it fail while installing TFS Object Model. I collect my logs via Microsoft VS.Net Log Collection Tool and upload on 4shared http://www.4shared.com/file/1mvaryD_/vslogs-89-04-20-1.html Please guide me about solve it. ...

Mole for VS 2010?

Does anyone know about Karl Shifflett's Mole for VS 2010? ...

How to make VS2010 behave like VS2008 when it injects an interface implementation stub in the code editor?

Dear ladies and sirs. I could not find a better title for my question, but you are welcome to edit it. Anyway, here is the question. When a C# class implements an IBlablabla interface we can run the "Implement interface IBlablabla" command in the editor and the studio would inject a stub implementation of that interface. Now, in VS2008...

Visual Studio 2010 move cursor to other side of auto-created tag

This should be a fairly simple question, but I can't seem to find the answer. Visual Studio automatically creates the closing tags in the code view of aspx pages. For example: <h2>|</h2> When it does this the cursor conveniently stays in between the two tags so that you can add what ever you need to. Now that you've added your cont...

How to start 64-bit programming with visual studio 2010?

What do I need to do to start making 64bit programs in VS? I tried using 64bit solution platform setting and used "copy settings from x86" option. The process shows up as 64bit. Is there anything else? Am I missing some interesting options? ...

How to deploy a Office 2010 add-in with Visual Studio 2010 setup & deployment?

We have an error during the installation after running our installation: Component Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) has failed to install with the following error message: "A failure occurred attempting to install the Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)." T...

Cannot see my assembly in .NET tab of Add Reference dialog.

To make my own assemblies appear in the .NET tab's list of Add Reference dialog, I added HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\MyAssemblies registry key. Then I changed default string value to "C:\Common\". Exactly like Microsoft How-to recommends. However, I fail to see my assemblies that located in C:\Common folder i...

How to replace multiple var keywords by the real types in selected text?

Hi, var keyword in C# is pretty useful, since it is much shorter to write and does not change the compiled program. Hovering over var keyword in Visual Studio shows a tool tip with the "real" variable type behind, which is nice too. But in most of the cases, having full qualified type instead of var makes code more readable. When there...

How to break Visual Studio 2010 JavaScript debugger from script

Is there a JavaScript command that will cause the Visual Studio 2010 debugger to break? Trying break(); didn't work because it's only valid within loops. Also stop(); failed because it picked up that stop() doesn't exist and I didn't have a useful stack trace. ...