visual-studio-2010-beta-2

Does Visual Studio 2010 Beta 2 Include a TFS server?

I recently downloaded Visual Studio 2010 beta 2, and was told it included a TFS server. However I am unsure of if it has/can be installed, or how to start it up if it has been. Can anyone shed any light on this for me please? Thanks :) Thanks for your help :) I am downloading the ISO of the separate product instead from msdn. ...

Entity Framework 4 + SQL Server CE + Generate database from model

The title sums up my problem. I start from an empty model in VS2010 beta2, and then choose to generate my database from model, i then choose to create a new SQL CE database. Up until that moment everything runs fine. EF generates some SQL and saves it as MyModel.emdx.sql. Here comes the problem, the generated SQL can't be executed on the...

Two questions about installing Visual Studio 2010 (Beta 2)

Question 1: Can I work with Visual Studio 2008 while installing it? Question 2: Can I download the whole thing somewhere (but as an installable file or files, not an ISO)? I know it's theoretically better not to run anything while it installs. But my download speed is extremely slow, and it's wasting a lot of time waiting for this thi...

Why has Ctrl+F (Find) in VS2010 stopped automatically searching for the currently selected text?

Normally if you select some text in the Visual Studio editor and press Ctrl+F, when the Find and Replace modeless dialog appears, your selected text is automatically shown in the "Find what:" textbox/dropdown. For some strange reason this has stopped working - is there a setting that controls this? ...

Code Contracts causing exception in VS2010 Beta 2

Running XP-sp2 with VS2010 Beta 2 in a VPC and when I installed Code Contracts from devLabs, the it conflicts with Contracts within mscorlib. However, if I do not install the devLabs install, the Code Contracts tab on the Project Projects page does not appear. Here is the error that is generated. Error 1 The command ""C:\Program File...

Error while opening file in VS2010 Beta 2

I installed VS2010 B2 on my Win 7 machine. I create a simple DLL project and try to open the file Class1.cs that gets created by Default. I get a error message "The operation could not be completed. Invalid Pointer. So far i have seen this and similar error messages on previous versions of VS2010. Anyone else faced and solved this proble...

Visual Studio 2010 Performance Analysis and Silverlight 4 OOB Apps

I'm using Visual Studio 2010 Beta 2 and creating an Out of Browser Silverlight 4 application. There are some slow bits and I'd like to profile it, but whenever I try, the application loads, the profiler starts but exits almost immediately. It reads: Profiler started Successfully attached to process: 2088 Exited from process: 2088 Colle...

how to convert a VS 2010 soultion back to 2008

We started using VS 2010 and were very happy with it, so we converted our project into a 2010 solution (still .net 3.5) and continued our development in 2010. however, we are getting a lot of bugs recently and want to go back to 2008. the solution files have changed (new projects and files added everywhere), but everythihng is still in ....

Visual Studio 2010 disabled my IIS

I recently installed Visual Studio 2010, and since installing that I can no longer connect to my local IIS. I didn't change any settings or touch anything in IIS what so ever. I cannot connect manually, nor with Visual Studio 2010 or Visual Studio 2008 Team System. Everything just gets the Unable to Connect problem. I have never face...

Reference error with Fluent NHibernate 1.0 RTM and Visual Studio 2010 beta 2

I have a weird reference error when I use Fluent NHibernate 1.0 RTM and Visual Studio 2010 beta 2. Basically I have tried following the getting started tutorial on Fluent NHibernate's page and it doesn't compile. I get those two reference error on Visual Studio : Warning 1 The referenced assembly "FluentNHibernate" could not be re...

VS 2010 beta 2 Web ReportViewer Bug?

The report viewer doesn't seem to work in asp.net projects in VS 2010. You get the following error: Microsoft Jscript runtime error: ‘Microsoft’ is undefined. VS also breaks on the following line of javascript code: $create(Microsoft.Reporting.WebFormsClient.ReportViewer, {"_internalViewerId":"ctl00_MainContent_ReportViewer1_ctl03"...

Can I open VS 2008 Project in VS 2010 Beta

I was hoping there would an option somewhere that would just let me open my VS 2008 projects and continue working in .Net 3.5 - while using some of the neat new VS UI enhancements. ...

Detecting recursive properties

Does anyone know if there is some option in VS2010 or some third party tool that I can use to detect recursive properties such as: private string name; public string Name { get{ return this.Name; } } The above is obviously an error, but the compiler offers no warnings. I can appreciate that, in general, recursive methods are perf...

VS 2010 Editor Behavior

Using Beta 2 of Visual Studio 2010. I'm using C# and have always enabled Virtual Space. A notable difference in this version between past versions is that when I'm at the beginning of a line in the .cs file and I hit the left arrow, the cursor jumps to the line above. Previous versions of Visual Studio would perform no action (i.e. st...

How can I get my TCP listener service to terminate correctly?

I'm writing a Windows service which starts a TCP listener. The core code works fine, but I'm having several problems with the mechanics of a Windows service. Right now, when my service starts up, it creates a thread and starts the TCP listener in the thread. Then, when the service stops, it terminates that thread: Public Class txnSoc...

Visual Studio 2010 + .Net Framework 1.1 + Click Once Deployment

First of all, The Winform application is based on .Net Framework 1.1. I have 1.1 SDK installed but 1.1 is not listed in the Target Framework(VS 2010 Beta 2) so I cannot choose the same, the minimal available is 2.0. Am I supposed to install an add-on or something for building 1.1 apps in VS 2010 beta2. Further more, I am using a Clickonc...

How to make controls from ajax control toolkit work in project upgraded from VS2008 to VS2010

I had a working project in VS2008 / .Net 3.5 using controls from the ajax control toolkit (which targets .Net 3.5). I upgraded the project in VS2010 Beta 2. I chose to target .Net 4.0 so I could take advantage of routing for WebForms (which is working). When a page with a ModalPopupExtender loads, however, I get errors, "Syntax error"...

Visual Studio Tool to update a DBML?

Is there a quick command in VS2008 to update a DBML that I'm missing or do I have to dleete everything, re-add and then deal with renames and table mods manually? This seems a bit tedious. ...

vs2010 Linq to SQL -- adding an entity from my DBML

I think I may be going crazy here... Anyways, I have a DBML with a table 'User' in it. Pretty simple stuff -- From within a class, I have the following: BusinessDataContext businessDataContext = new BusinessDataContext(); var user = new User(); user.FirstName = FirstName; user.LastName = LastName; user.MiddleInitial = MiddleInitial; u...

Is it possible to install LinqToRdf designer with Visual Studio 2010?

The installer insist that I have Visual Studio 2005 installed. This brings me to the assumption that the project is abandoned. Is this correct? ...