visual-studio-2010-beta-2

Create a WSS 3.0 or SharePoint 2007 project using Visual Studio 2010 beta 2

I have installed WSS 3.0 and Visual Studio 2010 Beta 2 on a Windows 2003 x86 VM and I am unable to create a Sharepoint Project. I keep getting the error below. "A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects. I am selecting C# .Net 3.5 as the .Net version an...

Visual Studio 2010 Extension Deployment

I have created a VS Package Extension.I want to add a folder(contains sub folders) in the package that get packed and get installed with the package? How do I do this? ...

Visual Studio: which setting to change for Find Next results in text editor?

Consider the Visual Studio's highly-customizable configuration of the text editor. The value I'd like to tweak is the highlighting of the found search string. See circled below. Question: in Visual Studio 2010 Beta 2, or Visual Studio 2008 which setting in the Fonts and Colors dialog box will allow the highlight/surround color to be c...

Change shortcut for 'switch to markup' in Visual Studio 2010

How do I switch the shortcut for 'toggle to markup'? shift + f7 is toggle to designer. In Visual Studio 2008 I could toggle between the code-behind and the markup with F7. I got used to it and now I want have the same shortcut in Visual Studio 2010 Beta2. How can I achieve that? ...

Problem running ASP.NET MVC 2 website on IIS7

I'm trying to deploy my ASP.NET MVC 2 website from VS2010 beta 2 to IIS7. The publish works fine but none of the routes work, so when I go to the URL http://localhost/myapp/Home/Index I get the error: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavaila...

How many licensed users are available with TFS 2010 Beta 2?

We've been considering trying out the TFS 2010 Beta 2 as an upgrade from our existing installation, but I cannot find anything in the docs explaining how many users are available. Has anyone found information on this? ...

What is the expiry date for VS2010 Beta 2 products? (especially TFS)

With the final release date now unknown, what is the expiry date for the Beta 2 products? ...

VS2010 Beta 2 > Setup Project > Prerequisites > Missing .NET 3.0

Hello, In Visual Studio 2010 Beta 2, in a Setup project, in Prerequisites, there's no option to include the .NET Framework 3.0 prerequisite. How do I change things so that it is an available option? My goal is to create an .msi installer that is launched by a Setup.exe. The Setup.exe should install .NET 3.0 if it's not there. The app...

Any way to use ADO.NET Data Services 1.5 CTP2 with VS2010? Even manually?

Hey all! For various reasons I have clean installed my dev box and it is running Win7 x64 and currently has VS2010 installed. I am maintaining several projects that require the use of the 1.5 CTP2 release services, under .net 3.5 (obviously). I have already taken the steps needed to install the full 1.5 CTP2 under Win7. While I underst...

Product version for VS2010 projects

When I create a new project of any kind (winforms app/classlib ..) using VS2010 beta2, all the projects have ProductVersion field set to 8.0.30703. I was expecting it to be something like 10.0.21006.1. Is this version so because its in beta or is there something wrong with the version that is generated? ...

How do I get Local Database files to work in Visual Studio 2010 B2?

In Visual Studio 2008 I can add a local database file (.sdf) and work with it just fine. In Visual Studio 2010 B2, I can add the file, but it doesn't get added to Server Explorer, and when I try double clicking on it I get this error: The operation could not be completed. Unspecified error Has anyone else gotten this error? Does...

Visual C# 2010 MSVCR100.dll missing when opening a project...tried EVERYTHING!

I installed Visual C# 2010 Beta 2 and I get this error every time I open a project: 'This application has failed to start because MSVCR100.dll was not found. Reinstalling the application may fix the problem' I uninstalled every VC runtime, .NET framework, C# on this computer. Then reinstalled Visual C# 2010 and the install went smoothl...

VS2010 Beta 2 "Start new instance"

In VS2008, when I have a web service and a client of that web service in the same solution, I can debug the client by first selecting Debug / Start new instance on the web service project. That launches the web service in the debugger and opens my default browser to show the root directory of the web service. When I close the browser, ...

Ambiguous reference error in VS2010

We have a type called Action in our library. We support VS2005, 2008 and now trying to support VS2010 too. When I include the namespace containing our 'Action' type and also 'System' together in a file and try to use it, it cribs saying ambiguous reference call between our Action type and System.Action delegate. This is happening only in...

WCF Service Reference does not reuse types in existing assemblies (VS 2010 Beta 2)

I'm looking for the best approach to share types (the actual classes, not proxies) between a WCF service and a client. To that end, I defined the classes in a separate assembly that both service and client reference. I selected "Reuse types in all referenced assemblies" when generating the service reference in the client, but Reference...

Open File Stream Win API

I'm trying to use the OpenSqlFilestream Instruction but my code did not recognise it What dll i have to load in order to use it? ...

Is there a TFS query macro for the current iteration?

Is there a way in TFS in VS2010 to specify that a particular iteration is the current one, and then return that for use in queries similar to the way @Project works? If not is there a way to do sub-queries in TFS work item queries? ...

System.Core.dll in 4.0 added by default?

I was playing around with VS2010 beta2. I noticed that if I try to add System.Core.dll to a project which does not already have a reference to that, in VS2010, it complains saying I cannot add that assembly as it is already referenced by the project system. Any idea why they are doing that in VS2010/4.0? Is it because they have forwarded...

How to improve Visual Studio 2010 cursor navigation performance?

My Visual Studio 2010 beta 2 is fast for all tasks except for cursor key navigation. Inside the text editor if you hold one of your keyboard's arrow keys, it will move slowly across the code. I already tried some optimizations but none of them worked. I have installed 3 plugins which may contribute for the slowing: AnkhSVN VisualHG I...

EF4 - Changes not being captured between sessions

I'm trying to test detaching an entity from one context, making modifications to it, creating a new context, attaching it, and having the changes made between sessions persist. I don't seem to be able to get this working appropriately. I've tried calling DetectChanges as well as ApplyCurrentValues w/ no success. Below is what I've got so...