visual-studio-2010

Rest Starter Kit in Visual Studio 2010

Is there a way to use the Rest Starter Kit in Visual Studio 2010 Beta 2? I installed the starter kit but cannot see the templates anywhere. Thxs. ...

In real world development do you actually put the database file in your Visual Studio project?

You see it a lot in examples and I've done itt on some small projects, but for a larger project with multiple developers, does it really work well to put the database file (.mdf) in the project? What is your "workflow" like with your database? Do you put the file in your project and check it in like everything else, or do you have a cen...

MVC 2 EditorForModel() rendering foreign key table names

I have an interesting problem and wanted so see if anyone else has seen this. I've created a MVC 2 site using Visual studio 2010 beta 2. I'm using linq to sql data model objects with data annotations. In my data model objects I'm using [ScaffoldColumn(false)] attribute to exclude the foreign key ID's from rendering to the UI when I use...

Event Receivers on Wiki Page Library

How can I prevent publishing of pages in wiki Page Library using Event Receiver project? Do I need to go with custom coding? If so, what type of event do I need to select? ...

New to C# "The type or namespace cannot be found"

I sorta feel embarrassed because I am sure the answer to this is simple. Just to add some background, I am a full time java developer with a bachelors degree and 2 years of experience. I just started C# today using Visual Studio 2010 and Google to fill in the differences between C# and java. So I had a console application that runs all ...

TFS 2008 with VS 2010 (Beta 2)

My experience with TFS is limited. We run Team Foundation Server off a build server I will denote as 'Alice.' Alice has been working great until we ugraded to VS 2010; and with the urgency of a build coming up in the next few weeks, my question is how do we get a successful build? I followed the instructions listed here: http://richardsb...

Microsoft Visual Studio Test Elements with MSDN - Pricing

Does anyone know the expected price of this when released? ...

Trying to build my .NET 3.5 mvc app in VS2010 Beta2 throws a MVCBuildView error

Hi, I upgraded to VS 2010 Beta2. It upgraded my slns and csprojs when I opened them. When it asked me, I opted to stay in .net 3.5 to keep compatability NOTE: the original project was build with MVC2 Preview2 - the exact same version as what comes with VS2010 However, when I try to build my Web project including the views, I run int...

Release Date of .NET 4.0/ VisualStudio 2010

Possible Duplicate: When is .NET 4.0 and Visual Studio 2010 supposed to be released? Possible Duplicate: > When is .NET 4.0 and VS2010 supposed to be released? When are Microsoft going to release .NET 4 and Visual Studio 2010? ...

Sharing VS 2010 One-Click Web Publishing Settings

Anybody know where the VS 2010 One-Click Web Publishing settings are stored? It would be awesome it a team could share the settings so a quick deployment to a test system is always a button click away. ...

Target .NET 3.5 C++/CLI in Visual Studio 2010 Beta 2

Has anyone had any success converting a VS 2008 C++/CLI (vcproj) project to a VS 2010 project (vcxproj), whilst maintaining .NET 3.5 as the target framework? I haven't been able to do this and get the project to build successfully. The project compiles fine in VS2008 as .NET 3.5, and fine in VS2010 as .NET 4.0, but I am unable to target ...

Problem Saving Silverlight 4 Business Application

I’m trying to create a new project using the Silverlight 4 business application template in Visual Studio 2010 beta 2. When I click “Save All” after the project is created I get build errors such as: The project file "..\BusinessApplication1.Web\BusinessApplication1.Web.vbproj" was not found. BusinessApplication1 Unable to open modul...

MSBuild "Debug" configuration not working in VS 2010 Beta 2

I'm trying to set up my environment for developing, debugging and deploying Windows Desktop Gadgets. I've hit a bit of a roadblock in my project, where I can't run a build on my gadget when the configuration is set to "Debug". If the configuration is set to "Release", the build goes through the following custom tasks: Copy gadget con...

Issues with ReflectedDefinition attribute

I have this code that does not compile anymore since I am on last F# CTP 1.9.7.8: [<Struct>] type MyStruct = val mutable private _i : int val mutable private _s : single val mutable private _i2 : int member t.I = t._i member t.S = t._s member t.I2 with get() = t._i2 * 2 and set(value) = t._i2 <- value * 2 ...

How I can use PowerShell with the Visual Studio 2010 Command Prompt?

I've been using Beta 2 for awhile now and it's been driving me nuts that I have to punt to cmd.exe when running the VS2010 Command Prompt. I used to have a nice vsvars2008.ps1 script for Visual Studio 2008. Anyone have a vsvars2010.ps1 or something similar? ...

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...

Web.Config transformations in the debugger

When you run an application in the debugger, it appears to not apply the transformations to the web.config based on your build selection. Is this the case or am I missing something? It appears to be working just fine if I publish to local IIS, just does not seem to work in the debugger. ...

Problem attaching to a sql server express db file using network service account

I am using VS2010 Beta 2 to create an IIS hosted WCF service. I added a SQL Server database file to use as a simple data store and then generated some Linq to SQL classes to interact with it. The problem I have happens when Linq to SQL tries to connect to the database. I get the following error below: CREATE DATABASE permission denied ...

Visual Studio 2010; Tab and indent size should be separate settings as in previous VS versions

I just saw this post on Microsoft Connect(while browsing on /.) about combining tab and indent option into one in VS2010. They say they did ask here. But I don't see 8 comments being enough. I usually use the default setting but sometime(in fact rarely) I do use customs settings. They provide code and say it's our job now to manage th...

Can you access 'Service Reference' Programmatically?

Info: C#, Visual Studio 2010 I am trying to access the existing service references and am not sure how, I can achieve the following to get all 'references' DTE2 test = Package.GetGlobalService(typeof(SDTE)) as DTE2; StringBuilder sb = new StringBuilder(); VSProject2 project = test.ActiveDocument.ProjectItem.ContainingProject.Object as ...