visual-studio-2010

Visual Studio - how do you use it without touching your mouse?

Hello, I am going to be doing the codekata defined on Roy Osherove's blog HERE. One of the rules is that you cannot use the mouse while doing the kata. Today, my first attempt at doing the kata I have spent the whole time trying to better understand how to use VS without the mouse. I have learned that CTL-ALT-A will be my friend ...

Bin DLL's target different .NET frameworks possible?

I have a website that is currently running under .NET 3.5. I am thinking of making it run under 4.0, but I use many 3rd-party DLL's for compressing, Bit.ly, Twitter, XML, etc. If these DLL's were created for .NET 3.5 (in VS2008), will they continue to run under 3.5? Or is 4.0 somehow backwards compatible for old libraries? ...

visualstudio 2010 VB.NET customizing the code automatically displayed when I write New

When in a code editor I write Sub New (enter) The editor automatically inserts: Sub New() ' This call is required by the designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. End Sub How can I customize the code it writes? Can't find it in the code snippets manager. ...

Tools for previewing configuration file transformations

Are there any tools or Visual Studio 2010 extensions which allow me to view the output of a configuration file transformation short of having to publish the entire project? Is the process which performs the transformation directly invokable? Edit After a little more Googling I came across this: Step 4: Generating a new transforme...

What are viable ways to develop an Azure app on multiple machines.

The scenario is that I am rebuilding an application that is presently SQL and classic asp. However I want to update this a bit to leverage Azure Tables. I know that the Azure SDK has the Dev Fabric storage thing available and I guess it's an option to have that installed on all of my machines. But I'm wondering if there is a less 'inv...

Parameters in Visual Studio c++ 2010

Hi, I just installed Visual Studio C++ 2010 Express (BTW. great ide). I have to make simple application, but I will open it from command prompt, and I need using parameters. So my question is: how to using parameters in Visual C++ .NET 2010 Express? I need one string and some int. It's special creator to do this or I must change code (i...

Visual Studio 2010 Conversion issue not recognizing prefix 'asp'

I just converted a project from Visual Studio 2008 to 2010 and all of my asp controls have a warning stating.. Unrecognized tag prefix or device filter 'asp'. It also is not showing any intellisense, anyone else experiencing similar issues? Is it possible my conversion did not go through correctly? Thank you. ...

Inheriting XML comments from interfaces in C#

Hello, I was wondering if anyone knows how to link an interface xml comment to an implementation. The problem is that I want the base comments to come from my interface first. Example: interface myinterface { /// <summary> /// Does something. /// </summary> void method1(string foo); } and then the implem...

Change the Implement Interface template

In Visual Studio 2010, is it possible to change the default template used when implementing an interface? I would like to change the implementation of properties from public int MyProperty { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } to public...

How to use arguments?

Hi, I have two file generated in visual studio c++ 2010 express. test2.cpp // test2.cpp : main project file. #include "stdafx.h" #include "Form1.h" using namespace test2; [STAThreadAttribute] int main(array<System::String ^> ^args) { // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyl...

Silverlight Desktop Application in VS 2010 - How do you create one?

When I go to create a new project in VS 2010, if I pick a Silverlight Application, the information displayed on the right says, “for a rich internet application using Silverlight”…It kind of leaves desktop application out of the picture…How do you create a desktop application with Silverlight? ...

Any way to resolve C4772 errors without having to register DLLs?

I am maintaining a VS2010 project which has a number of cross-referenced COM libraries. I am trying to configure the project in such a way that it is buildable from a random workstation which has VS2010 installed. The workstation could be both 32 and 64 bit, so if I configure project to "register output", the build will fail to build on ...

[ symbol will no longer be typed in ASPX.CS files

In any ASPX.CS files, when I press ALT GR + [, the code auto-formats. I can no longer type this symbol. What setting controls this? ...

VS2010 extension, lost it and can't remember name

Does anyone use or rememebr the name of the VS2010 extension that add a little faded context sensitive icon next to a class/ method (indiciating if it's a class etc like in the Class View) and adds a little faded clickable link at the end of a class/method block etc with it's name? It looked someting like: [ICON] methodName1(params)...

VS2010 - same soltuion (IE SVN checkout), different locations, one builds, one fails any ideas?

I've got the weirdest thing I've seen in a long while with VS2010. I have the same solution, checked out from svn, into two different folders. One builds one doesn't... but MSBuild doesn't actual fail to build. All the assemblies build and it will run, but VS2010 keeps saying one project fails. If anyones seen this before or can see what...

Find out if DatagridView Cell is Clicked

I have 2 grids on a form. Both grids are binded to object Panel and PanelLines. If user click first panel grid, the second panel line grid will show the related panel lines. If the user clicks the panel grid on the same cell again, I want panel line grid to scroll rows as such visible rows hide and bottom rows show up. The following ...

Random modules being loaded in debug

When I debug my VB.NET application in Visual Studio 2010, in the debug output it says a few things that I don't understand: 'something.vshost.exe' (Managed (v4.0.30319)): Loaded 'jb3yjswu' 'something.vshost.exe' (Managed (v4.0.30319)): Loaded 'mdul5h2c' What are these random modules (or something else) that get loaded? Are they relat...

WPF combobox value and display text

I'm used to doing things like State.Items.Add(new ListItem { Text = "SomeState", Value = NumericIDofState }); Where State is a Listbox in ASP.NET. How do i achieve the same with a WPF ComboBox? I do see a property called 'Content' in the ComboBoxItem object but how do i assign each item a value other than what's displayed to the use...

team build 2008 to build vs2010

I have refer msbuild path in tfsbuild.config.exe to msbuild4.0 and also change tools version in tfsbuild.config to 4 but when i build, i found out that it build solution with tools version 2.0.. Does anyone face this problem before ?? my vs2010 solution consists of vs2010 and vs2008 project. ...

Dot Net Microframework Installation Problem - Document Explorer Needed

I am using Visual Studio 2010 on Windows XP Pro SP3. When i try to install microframework with MicroFrameworkSDK.MSI it gives error Microsoft .Net Microframework SDK 4.0 requires Microsoft Document Explorer 2008 or 2010 to be installed. You can get it from Visual Studio and MSDN libarary How to solve this problem, Visual Studio 2010 is ...