visual-studio-2010

why is there no interface file with silverlight enabled wcf services

Using Visual Studio 2010 when creating a wcf service the template creates a class file, svc endpoint and an interface file. Why is it that when adding a silverlight-enabled wcf service they don't follow this pattern. As discussed here this seems like a bad idea. After adding the silverlight-enabled service, should one go back and inco...

VB.Net project shows errors on clean in VS2010.

Hi, my issue is very similar to: http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-vb/54944/VB-Net-project-throwing-errors-when-executing-Clean-Solution Typical errors: Unable to load referenced library X Type IWshRuntimeLibrary.WshShell is not defined. Interface System.IDisposable is not implemented by this class. Namespace of type ...

Missing Menu Bar in Visual Studio 2010

When I opened up Visual Studio 2010 this morning, my Menu Bar (you know, the bar with File, Edit, etc. on it) was missing. I've tried all of the right-click menus, customize options, Function keys and Google searches that I can think of but to no avail. This is exactly the kind of humiliation that brings sobriety to my ever-growing ego...

VS2010 (older) installer project - two or more objects have the same target location.

This installer project was created back in 2004 and upgraded ever since. There are two offending dll files, which produce a total of 4 errors. I have searched online for this warning message and did not find a permanent fix (I did manage to make it go away once until I have done something like a clean, or built in Release, and then in ...

How to use drag-drop on windows seven or vista?

I've an app wich alows the user to drag drop images into a picturebox. It works on xp, it doesn't works on vista and seven since the UAC could cause the problem. I've tried running it as administrator and still it doesn't work. ...

Visual Studio 2010 is asking to convert RDLC created on VS2008 to RDLC 2008 format?

I've created my project on Visual Studio 2008, as well RDLC files on it. But now, when I open the solution on Visual Studio 2010 and want to open RDLC file, it's showing me a warning. That's a little funny. The report was created on VS2008 and VS2010 is asking to convert to 2008 format. Perhaps there was a problem on my VS2008 instal...

Can Visual Studio 2010 Express connect to Team Foundation Server 2010?

I know VS 2010 Pro/Premium/Ultimate include TFS connectivity, does VS 2010 Express? ...

Data Generation Plan Missing from VS2010 Pro

Hi I was following this tutorial http://nepomucenobr.com.br/blog/post/Generating-e2809cdummy-datae2809d-with-Visual-Studio.aspx and I got to the point where I am should add a data generation plan file. Yet when I click on the folder there is not data generation plan file. I don't know why. Do I have to install it separately or what? ...

Sync Settings between computers in Visual Studio 2010

Is it possible to sync settings between computers in Visual Studio 2010? I know you can do it by exporting your settings then copying them over to another computer or putting them in drop box or something. So I was wondering if there is any other way to do it? ...

Can you step into specific properties in VS 2010?

I know that you can either step into every property or not step into every property, but I would really like to be able to step into a specific property, and not the rest. Is this possible? (I also know I can use keyboard commands, but I'm asking if there's a more permanent solution.) I have a lot of properties and my setters do importan...

How to specify the location for the unit test results in VS 2010?

I use VS2010 for unit testing. Does anyone know how to specify the location of where VS 2010 put its TestResults? By default it put a TestResults folder in the solution folder, I'd like to move it out somewhere else. Thanks, Ray. ...

Visual Studio 2010 SQL Server Database Project - Ignore Stored Procedures and Functions

I really like the new SQL Server Database projects in Visual Studio 2010. I also like using the "Generate DROP statements for objects that are in the target database but that are not in the database project" option in the deployment properties. However, I do not want to manage Stored Procedures and Functions using this interface; I hav...

Visual Studio 2010 Connect to SQL Server 2000?

We recently upgraded a major application to Visual Studio 2010. Unfortunately, we are still using several database servers that are still running SQL Server 2000 (8.0.2055 to be precise). According to this article (http://blogs.msdn.com/b/habibh/archive/2009/07/27/visual-studio-2010-rip-list-partial.aspx), "Since mainstream support for...

Visual Studio 2010 Code Coverage - Cannot find the back up file, created by instrumentation utility

I am trying to run code coverage in VS 2010 and I am running into the following error. No coverage information is generated. Code coverage in-place instrumentation: Cannot fully backup the binary 'MyProject.dll'. Cannot find the back up file, created by instrumentation utility: 'MyProject.dll.orig'. ...

C# WPF Slider Issue with IsMoveToPointEnabled

I have IsMoveToPointEnabled on for my Slider, so when I click anywhere on the component the selector moves to my mouse. The problem is if I have this option on and click and hold the mouse down to drag the selector the selector doesn't move. Anyone know how to fix this? ...

What is the significance of ProjectTypeGuids tag in the visual studio project file

What is the significance of the ProjectTypeGuids tag in a visual studio project?? When I created a WPF application, i am seeing two guids in here. {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Does these represent WPF and Windows type of applications? If I create my own project type (.myproj) that has...

VS2010 MVC and Entity Framework Model in Separate Project

Hi, I am trying to use an Entity Framework Model (in separate project) into an asp.net 4 MVC project (VS2010, C#) If I create the EF inside the MVC project I have no problems. I think I am missing some step. things done: 1. added reference to the EF class project 2. added connection string in MVC web.config 3. added reference to System...

CRXIR2 doesn't work with VS2010 on Windows 7 nor on Vista

We're upgrading from VS2005 to VS2010. We are almost there but there is a problem with Crystal Reports. We use the RDC (COM-based) component within our C++ application. On Windows 7 or on VISTA, I can't get the viewer nor the designer controls working. I get Access Violations when the control is activated: // from atlhost.h (line 2208)...

Running NUnit tests in Visual Studio 2010 with code coverage

We have recently upgraded from Visual Studio 2008 to Visual Studio 2010. As part of our code base, we have a very large set of NUnit tests. We would like to be able to run these unit tests within Visual Studio, but with code coverage enabled. We have ReSharper, so can run the tests within Visual Studio, but it does not allow the code co...

VS2010 on XP SP3 64 bit

Hello, We are soon to get VS2010 and according to the link below, Microsoft do not support VS2010 on XP x64. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/professional/system-requirements Does anyone have XP 64bit running VS2010? I am not interested in 64bit version of VS (I am wanting to install a 32bit version...