visual-studio-2010

I have VS2010 Ultimate. Shouldn't TFS Server be included?

Dumb question I'm sure, but when I log onto my MSDN subscription account, I don't see Team Foundation Server in the list of available for download software application. I thought it was supposed to come with VS2010 Ultimate, which I could download. Is it a separate download? Could it be that my MSDN account level gives me access to VS20...

VS2010 and VS2008 together in a Team

Hi, I'm in a team that all members have VS2008 installed on their machine, we have tortois svn as source control system. Is there a solution that I can work with them with VS2010 installed on my machine? Or I have to install VS2008 to work with the other members? thanks. ...

How do I represent integer array as attribute of a class in Visual Studio 2010's UML class diagrams?

How do I represent integer array as attribute of a class in Visual Studio 2010's UML class diagrams? I know hot to add normal integers, but I'm hoping that there is a way to do it other than adding [] to integer's name. I'm new to UML, so I could be missing something obvious here. Should I use Is ordered and Is unique? ...

Visual Studio 2010 Intellisense annoyances

In VS2010 when my intellisense (for C#) pops up the first selected item is not highlighted. This means i have to press down/up-arrow before i press dot/enter/parenthesis to get the full word. This only happens with the new intellisense (the one that searches everywhere and not only in the beginning). Also, how do i switch between the o...

Unable to target .NET 2.0 in VIsual Studio 2010

What steps are needed to target previous versions of the .NET framework in Visual Studio 2010? I installed VS and the .NET 2.0 SDK (from here), but only .NET 4.0 is in the list of available frameworks. Any ideas what I'm missing? ...

VS2010 MSTest CruiseControl.NET .NET 3.5

Hi, We're in the process of upgrading from VS2008 to VS2010 since it's now released. We are using CC.NET along with MSTest and want to use MS coverage tool instead of NCover. Interestingly, as I've seen others talking about as well, when you upgrade your project from VS2008 to VS2010 your Test Projects get converted to .NET 4. Nice move...

How can i use Profilebase class?

i try to use asp.net profile, i try to give inheritance with ProfileBase public class dort_islem : ProfileBase { public int ilk_sayi { get; set; } public int ikinci_sayi { get; set; } } <anonymousIdentification enabled="true"/> <profile enabled="true" inherits="dort_islem"> <providers> <clear/> <add name="AspN...

In Visual Studio 2010, intellisense isn't showing for long method signatures

The problem is exactly as asked in the question title. When I'm typing in the text editor and referencing a public method that has a long signature (lots of parameters, usually 10 or more) the intellisense just stops working. It will sometimes flicker; other times it will not show at all. Only seen this happen with C#, but I don't use...

Adding C++ DLL's to a C# project

I'm trying to use the lame_enc.dll file from LAME in a C# project, but adding the thing seems impossible. I keep getting an error that says that a reference could not be added and to please check if the is accessible, a valid assembly or COM component. I have no C++ experience, though I would like to use the functionality. Right now I'...

Disable Code analysis warnings .NET

In visual studios i can run code analysis on my .NET project. I am running basic correctness and have 85 warnings. Which is a little much. Also majority of them are in external code. How do i disable specific warnings so i can focus on the more important warnings? I tried the below but it does not recognize code analysis warnings. (I fi...

Entity Framework 4 with SQL Server Express files.

Hi all, I know that if you use EF in a model-first manner in VS2010 with a standard SQL Server database then it is easy to apply the generated DDL to the database. Is there an easy way to do this with .mdf files (SQL Server Express Files) Thanks in advance. ...

vs 2010 colors are darker than i set

I have "Selected Text" color set to a default value in vs 2010 RGB 51,153,253. But really in text editor it is RGB 173,214,255 that is slightly darker. The same things are with some other colors, e.g. Resharper Dead Code. What can it be a problem and how should I solve it? ...

What’s the status of CAT.NET?

I’m trying to find Microsoft CAT.NET for VS2010 and it looks like there was a beta of their 2.0 version but every link to it in Microsoft Connect is now dead. This is the most recent reference I could find: http://blogs.msdn.com/securitytools/archive/2010/02/05/how-to-use-cat-net-2-0-beta.aspx Some references suggest it may have been ro...

How to get Code Coverage working on a VS 2010 project?

When I turn on Code Coverage in my test settings, on a project that references the Unity DI container I get the following error: Cannot initialize the ASP.NET project '{Project Name}'. The event log specifies the following reason: Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutr...

How to add a property table to a form in Visual Studio?

Hi. I don't have much experience with C# or VS, but I want to add a property table to a form, like this one: So that columns are resizable, editable, of different types (e.g. checkbox for boolean) and sortable. How do I do that? ...

Installing visual studio express 2010

Hello, I would like to create some test web applications with visual studio 2010 express. I installed Microsoft Visual C# 2010 Express, but i dont have type of project web application mvc 2. What should i install if i want to create a web mvc 2 application? Thanks in advance. Best Regards. Jose ...

VS2010 ultimate DataBase Project + SQL Server 2008: Updating Project from Database

Hello everyone, this is a quick question: I have this Database Project in a Web app solution with the real database. I want to update the database using SQL server managment studio, and then update the corresponding VS project. This can be done? I know that you can update the scripts in the project, but I'm not the SQL kind of guy, ...

How can I prevent 'objects you are adding to the designer use a different data connection...'?

I am using Visual Studio 2010, and I have a LINQ-to-SQL DBML file that my colleagues and I are using for this project. We have a connection string in the web.config file that the DBML is using. However, when I drag a new table from my "Server Explorer" onto the DBML file... I get presented with a dialog that demands that do one of these...

Visual Studio 2010 + ReSharper Not Working

I've installed ReSharper 5 on two installations of Visual Studio 2010 Professional. In both cases, ReSharper claims it has installed successfully - but Visual Studio doesn't recognize the extension. It doesn't show up in the Extensions Manager, doesn't appear in Help - About - Installed products, and can't be found anywhere else in the...

How can I get "new MVC item" options to appear in AddItem menu, when project is a Dynamic Data project

Hi I've started with a VS2010 Dynamic Data project, but now I want to add other MVC type pages etc. How can I get "new MVC item" options to appear in AddItem menu? i.e. this seems to appear in an MVC created project, but if I started with a DD project how can I make the option appear ...