visual-studio-2010-rc

Does visual studio 2010 Premium include the contract tools?

According to this feature matrix, Visual Studio 2010 Premium (RC) includes "static code analysis". However, adding calls to Contract.Requires at the start of my methods doesn't seem to have any effect. I don't get runtime exceptions if the contract is violated. I don't get compiler warnings if a contract cannot be proven. I also can't f...

most interest feature of visual studio 2010 and .Net framework 4

hi everybody when you install visual studio 2010, what feature of that is most interest for you? why do i , upgrade to VS2010? is it valuable to purchase?(why?) ...

T4 generator problem

I just switched to the Visual Studio 2010 Ultimate Release Candidate, from Beta 2, and the T4 generator that I've been using doesn't work anymore. When I run it, I get an error message that says: "Failed to resolve include text for file:The path '\L2ST4.ttinclude' must be either local to this computer or part of your trusted zo...

LINQ: Can I load more than one generation of descendants with DataLoadOptions?

I'm using the following DataLoadOptions: DataLoadOptions options = new DataLoadOptions(); options.LoadWith<Family>(f => f.FamilyLanguages); options.LoadWith<FamilyLanguage>(fl => fl.Language); The Family object comes back with a list of FamilyLanguages, but the FamilyLanguages have only got a LanguageID, the Language object is null. ...

VS2010RC: Can't see solutions

Whenever I create a new project in the Visual Studio 2010 Release Candidate, for some reason I can only see the project that I've created, and not its solution. This is a problem, as I want to add a solution to the project. Is this a bug, or have I turned off the viewing of solutions, some how? ...

How do I get the cursor back in VS2010rc winforms designer after drawing controlls?

Not sure if this is a bug or if i'm just missing something but I cannot for the life of me figure out how to get my cursor back in the winforms designer in visual studio 2010. I opened up an existing project and added a group box, now my cursor is stuck drawing group boxes. I just want the simple pointer cursor back but nothing I do se...

Ankh cannot commit changes with Visual Studio 2010

Hi all, I am in a big trouble with the Ankh plug in for visual studio 2010. I use VS 2010 RC using Ankh 2.1.7756.392. And every time I try to commit changes I get the following error: SharpSvn.SvnException: Can't move '[solution path].svn\tmp\entries' to '[solution path].svn\entries': Cannot create a file when that file already exists....

"The resource cannot be found." ASP.NET MVC 2.0 RC and Visual Studio 2010 RC

I opened a solution in Visual Studio 2010 RC that I previously created using Visual Studio 2008 and ASP.NET MVC 2.0 RC using the 3.5 framework. When I tested it I received a 404 error. I tried adding the default page as described in this post but got an invalid route error. Anyone else ran into this? ...

Can't get VS2010 RC to print in color

Is it just me or will VS2010 RC not print code in color? I have tried everything I can think of to no avail, everything prints monochrome. I have the latest drivers for my printer VS2008 prints color just fine (As do other apps) I tested printing in high quality color, normal and ink saver modes. Class Diagrams DO print in color making ...

How do I make Visual Studio 2010 RC solution files compatible with previous versions?

I'm trying to use visual studio 2010. But it seems that the .sln file that is created through it isn't supported by previous versions. Is it possible to save the projects in a way that it could be readable by previous versions of visual studio (2008). ...

Visual Studio 2010 RC - Is there a VirtualPC or VMWare image available?

I want to try the latest VS2010 RC. But I am not very comfortable installing it on my production machine. For Beta2 there were VirtualPC images available at Microsoft which I cannot find for the RC. Did I overlook them or doesn't MS provide them? ...

Visual Studio 2010 RC: Build Solution no longer does anything

I don't know if this is a bug or if I've done something weird to my solution, but when I go to build one of my solutions, nothing happens. I've tried the keyboard shortcut, the right-click menu option (as well as the re-build solution option), and the Build >> Build Solution menu option. There's no response, regardless of if my code shou...

Why can't IronPython be installed with Visual Studio 2010?

IronPython has been out for a while now, so when I installed Visual Studio 2010 RC1 "Ultimate" this morning I was surprised to find that it couldn't be selected from the installer. Instead, one still has to go out to Codeplex. Does anybody know why it hasn't been included? ...

Visual Studio 2010 RC + ASP.NET MVC 2

Now that ASP.NET MVC 2 is out, I tried to install it on my development machine, which already has Visual Studio 2010 RC installed and I got this error message during installation Component Microsoft ASP.NET MVC 2 has failed to install with the following error message: "A different version of ASP.NET MVC 2 is already installed on yo...

Change default browser in Visual Studio 2010 RC

In Visual Studio 2010 (RC) there is no longer a "browse with" context menu when right clicking .aspx pages. How can you change the default browser now? By default it seems to use the operating system default browser, but I would prefer to use IE when debugging ASP.net apps. (I am testing this with ASP.net MVC 2) ...

Visual studio 2010 and Sql Server

Do visual studio 2010 include already Sql Server instance, or I need to install Sql Server developer edition to develop an application that need a Sql Server db. If it installs a Sql Server express edition, it this enough or it's better to have Sql Server developer edition? ...

Visual Studio 2010 Express for Windows Phone not installing

I have download and installed Visual Studio 2010 RC and I want to develop for the new Windows Phone 7. But when I run the vm_web.exe (that IS the name of the exe file, isn't it?), It still says that I haven't installed Silverlight 4.0 SDK, BUT I have installed the Silverlight SDK. In my control panel's menu, it says I have installed "Mic...

Possible to run Visual Studio 2010 RC and Visual C# 2008?

I have installed Visual Studio 2010 RC. I want to install Visual C# 2008 because XNA Game Studio needs it to be installed. Can I run them side-by-side? ...

Weird - "The EntityReference object could not be serialized" when serializing from an ASP.NET Web Site, but works OK on an ASP.NET Web Application

I have an Entity Framework data model. Part of the model is a Customer entity. The web service provides a method to get a customer, and to receive an updated version of this customer to be persisted. To test this, I created a new ASP.NET web Application, (Solution > Add > New Project > ASP.NET Web Application), then added a reference ...

Cannot embed interop types from assembly "...\Microsoft.Search.Interop.dll" because it is missing the GuidAttribute attribute

Hello all, I get this error when adding a reference to the Microsoft.Search.Interop.dll library in a new project that I created. Microsoft.Search.Interop.dll is a library that provides some useful API to communicate with Windows Search. I use it in order to add a folder to the system indexer. Did anybody else get this error, and if so...