visual-studio-2010-beta-1

Do I have to remove VS 2010 beta1 in order to get a web app to work on asp.net 2.0?

I think the title is enough :). I have VS 2010 beta1 installed, and I wish to run an asp.net mvc application on my local IIS. The problem is, the asp.net 4.0 runtime is selected by default for all the web sites, when I try to change it to asp.net 2.0, I get the following error message: I click yes, then ok, and when I get back to the ...

How free can I be in the code in an object invariant?

I'm trying to demonstrate invariants in Code Contracts, and I thought I'd give an example of a sorted list of strings. It maintains an array internally, with spare space for additions etc - just like List<T>, basically. When it needs to add an item, it inserts it into the array, etc. I figured I had three invariants: The count must be ...

.NET inherited form problem

I have several forms in a C# application. I use Visual Studio 2010 Beta, but .NET 3.5 and C# 3 (so not the new stuff). I have a base form, called FilteredQueryViewForm in the Shd namespace and I want some other forms to inherit it (because they will basically do the same stuff, but with some additions). I changed things from private to...

VS2010's WPF renders poorly inside a Windows7 VM?

Kevin Hoffman this morning reports that: When put under a virtual machine running Windows 7, VS2010 fails to render things, borders disappear, windows become unusable and the experience is downright awful. On the other hand, when you run VS2010 "bare metal" with no virtualization between it and your video card, everythi...

Blend 3 Can't Open VS 2010 Projects!

I have Blend 3 Final and Visual Studio 2010 Beta 1 installed and I need to develop in VS 2010 with .net 4.0 and design my end-user UI in Blend but Blend 3 can't open my projects! What should I do?! :(( ...

e.data.GetData is always null

I am working with Visual Studio 2010, developing an Extension I need to drag and drop from a WPF TreeView in a Toolwindow onto a DSL Diagram but when I call e.data.GetData I can not get a value and want to know what I am doing wrong private void OnDragDrop(object sender, DragEventArgs e) { if (e.Data.GetDataPresent(type...

Word Completion C# VS2010

Hello. I am having some issues with word completion in VS2010 running in windows 7. I have no word completion in C#, programming a web application. The word completion works fine in html, but in code behind i need to use (alt + right) to see the completion options. Already checked the preferences and is all okay, also tried ctrl + alt ...

DSL Custom Constructor - only calling when created not loading

Info: VS2010, DSL Toolkit, C# I have a custom constructor on one of my domain classes which adds some child elements. I have an issue as I only want this to run when the domain class element is created , not every time the diagram is opened (which calls the construtors) public Entity(Partition partition, params PropertyAssignme...

Can VS2010 cause any problems on Win7?

I want to install Visual Studio 2010 in parallel with 2008 version on Win7. Can this cause some problems? ...

Uninstalling the VS2010 extension without the Extension Manager

Hi all! Is there any way to uninstall VS2010 extension correctly without the Extension Manager? I couldn't find any special command line arguments for .vsix file and think that just deleting all the files from Visual Studio's special place is not a right solution. Thanks, Kirill. ...

How can I specify T4 (Text Templates) to use C# 4.0, in VS2010?

I need to specify my T4 to use C# 4.0, to render my tt files? I tried using <#@ template language="C#v4.0" debug="true" #> But when I use a dynamic variable, like this dynamic x=10; Write(x.ToString()); I'm getting these errors Error 2 Compiling transformation: Predefined type 'Microsoft.CSharp.RuntimeBinder.CSharpSetMemberBind...

C# DateTime parsing problem

I have a project created with VS2010. I am running the project from VS2008. Plz note that, I am not running the solution. I am only running the project. Fortunately the solution has only one project. And in the following line I am having an exception. List<Order> OrderList = new List<Order> { new Order {OrderID = 10248, CustomerID = ...

How to create new Change Requests using TFS API 2010?

Hi I am new to the TFS API and currently in the process of creating new work items via a windows form app. Can anyone explain in detail with code examples on how to create new Change Requests, Risks and Scenarios for TFS 2010? I was aware that CRs are not available in the Agile template but I saw somewhere that "Scenario" is the equi...

How to get work items associated with a changeset id using tfs api?

Hi I need to get a list of work items that are associated with selected changesets programmatically. So far I have been able to get the changesets associated with a work item ID using the concept of Artifacts, as well as got the changesets and/or workitems associated with a particular build using : InformationNodeConverters.GetAssociat...

C++ complilation problems in VS2010 Beta 1

Well, I've recently installed VS2010 and I'm having a problem with simple C++ applications compilation. If I create a project that's named WW and I compile it and everything works fine, then If I opened an old project, and try to compile it, VS will compile WW! Other times, I try to debug the application and it refueses to do so. The gr...

How do I change the default toolspath for Visual Studio 2008?

I had Visual Studio 2010 beta 1 installed, and I removed. Now, when I try to crate a project in Visual Studio 2008. I get the error "MSBUildToolsPath is not specified for the ToolsVersion "4.0" defined at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\TOolsVersions\4.0", or the value specified evaluates to the empty string". How do I cha...

Expiration date NET 4 Beta 1

I have 25 days left to use VS2010 Beta 1. Will I still be able to use an application made in this version after that or is there an expiration date of the framwork itself? And yes I am upgrading but for different reasons I need to use this application a couple of months more. Anyone knows? Edit: The application needs to run in Beta 1 ie...