visual-studio-2010

building qt on windows 7 with visual studio 2010

Hi, was anyone able to build Qt on windows 7 (64-bit) with visual studio 2010? I've tried different compilers and -no-webkit option for configure, every time nmake fails with error code U1077. Would be very greatful for suggestions. Thanks in advance, Daryna ...

VS2010 Code Analysis, any way to automatically fix certain warnings?

I must say I really like the new code analysis with VS 2010, I have a lot of areas in my code where I am not using CultureInfo.InvariantCultureand code analysis is warming me about this. I am pretty sure I want to use CultureInfo.InvariantCulturewhere ever code analysis has detected it is missing on Convert.ToString operations. Is th...

Setup program needs framework 4.0 - But it's already installed

Hi all, I created a service which I now want to install to test. When running the setup program it prompts me to download and install .net fw 4.0, but I already have it installed. I did try to just install the file that I get pointed to (4.0 cliet), but not only does it still not work, it causes vs2010 to throw an unknown error and can'...

Mocking Autofac's "Resolve" extension method with TypeMock

I'm trying to mock an Autofac resolve, such as using System; using Autofac; using TypeMock.ArrangeActAssert; class Program { static void Main(string[] args) { var inst = Isolate.Fake.Instance<IContainer>(); Isolate.Fake.StaticMethods(typeof(ResolutionExtensions), Members.ReturnNulls); Isolate.WhenCalled(...

Visual Studio 2010 Keyboard Shortcuts

I 've had a list of Visual Studio 2008 keyboard shortcuts pinned to my wall for quite some time - http://nerdfortress.s3.amazonaws.com/visual-studio-2008-keyboard-shortcuts.html. Does anyone know of a similar thing for Visual Studio 2010? ...

XML Parsing Error - C#

My code is having an XML parsing error at line 7 position 32 and I'm not really sure why Exact Error Dump 5/1/2010 10:21:42 AM System.Xml.XmlException: An error occurred while parsing EntityName. Line 7, position 32. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo,...

I can't get areas working in VS2010

I just upgraded from VS2010 RC to RTM. Now my areas aren't working. I have a Profile area with a Home controller and an Action method Index(). If I try: http://localhost:4951/profile I get a 404 error saying that the resource can't be found. If I try http://localhost:4951/profile/home I get the same error. However, if I try http:/...

COM interop, Office 2010 x64 and Visual Studio 2010.

Hi, I just installed Office 2010 x64 on my Windows 7 x64 laptop. It already had Visual Studio 2010 on it. Now I try to add Microsoft.Office.Interop.Excel or something to the project, but it just can't find the project. When I try to open a project from the website of Microsoft (a sample of Office development) Visual Studio says that ...

Setup requires .NET 4.0 - System already has .net 4.0

I created a service which I now want to install to test, I created a setup program from the templates in Visual Studio 2010. When running the setup program it prompts me to download and install .NET 4.0, but I already have it installed. I did try to just install the file that I get pointed to (4.0 client), but not only does it still not ...

Microsoft Test Manager from Visual Studio 2010 Ultimate

Anyone know the OS requirements for this? The actual System Requirements mention Windows 7 but after spending the time installing and configuring and finally get it up and running, went to the Testing Center and I get this message. "The Test Management features are not supported on Windows Home Premium." I now have to upgrade my Window...

Using jQuery for client side validation in MVC2 RTM

Scott Gu's tutorial on Model validation gets us all set up with the MS client side validation using the following scripts: <script src="../../Scripts/jquery.validate.min.js" type="text/javascript"></script> <script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script> However I've seen various posts allowing u...

Can I get Visual Studio to provide Intellisense and syntax coloring for Less Css ?

I am experimenting with Less Css, and I am using Visual Studio 2010. It would be nice if the editor provided support for syntax highlighting and Intellisense for Less, for instance coloring and suggesting variables. What are my options to get that to work ? Do I need to write a plugin for it, or how would one go about adding this to VS ...

Application built using VS2010 does not work in VS-Express2008 - C

Hello, I have wrote an application that consists of two projects in a solution, each project contains only 1 .c source file. I was using Visual Studio 2010 Ultimate but due to the University only supporting 2008 I decided to create a blank solution and copy the source files into the new one. After creating a new solution in VS2008 expr...

Configure VS 2010 Help for a specific subject

Using VS2008, you could set Document Explorer to limit your search to specific subjects using the Technology dropdown, which made for finding info on a specific subject very easy, as it was limited to a subset of available subject. How is the accomplished in the new VS2010 help? The VS2010 help at the moment, is very hazy. When I searc...

Visual Studio 2010 Crashes when Creating or Editing a Report (.rdlc) with the Report Designer

This is an issue I had with VS 2010 RC and was hoping would be solved with the first official release. Sadly it wasn't. What I have is a number of reports originally created with VS 2008. When opening any of these for editing in VS 2010's Report Designer VS hangs for about two minutes and then shuts down. Same happens when creating a ne...

How to use folders in VC10

When making a .NET project, then you can create folders in your solution explorer and these are real folders on the hard drive. When using C++ however they are only filters. Is there a way to set filters to be actually folders? ...

Visual Studio 2010's Build Command: It does nothing

I'm using Visual C# 2010 Express RTM with Windows Phone Developer Tools April CTP Refresh and when I run any Build option, nothing happens. I've deleted the contents of the build output folders and that doesn't do anything. I can't even run the project, because it complains the executable is missing (XNA Game for Windows project). I've t...

How to pull a method out of it's class (and into a new or exsisting)?

What is the easiest way of pulling an excisting method out of it's class and into a new class using Visual studio 2010 / Resharper? Edit: I use Resharper version 5. ...

Help, Visual Basic 2010 express wont install!

When i try to install visual basic 2010 express it downloads it and then installs it, next to all the installs i get all green ticks, but then it says setup failure, did not attempt to install Visual basic 2010 express - ENU. Help! ...

Visual Studio 2010 - recommended extensions

What are your recommended extensions for Visual Studio 2010? (Please indicate if its free or not) Free: PowerCommands - useful extensions for the Visual Studio 2010 adding additional functionality to various areas of the IDE. DevExpress CodeRush Xpress AnkhSVN - Subversion Support for Visual Studio. Ghost Doc - Simplify your XML C...