visual-studio-2010

Can't Add LINQ to SQL classes to projects in VS2010

I just ran into something in Visual Studio 2010 RC that wasn't previously happening (like, yesterday). No software changes here, but I did run into some muck yesterday when compiling that required a reboot. I am unable to add LINQ to SQL classes to any project through the add dialog. I have created ASP.NET web sites, ASP.NET MVC projec...

Auto-Complete datagridview VB.net

I have a datagridview and a FillBy toolstrip. When I enter a customers phone number in the fillby strip and search how can I have it auto-fill all the customer information and then create a new row where the next customers information will be inserted? Right now it clears the dgv with each search. I need to build a list of customers tha...

What's Differences Between Using Entity Framework in Vs 2008 And 2010

You know firstly Entity Framework came with Visual Studio 2008 SP1. Now it is come with Visual Studio 2010. The question is that, what are differences between these two version? ...

Did anyone manage to make katmouse work over vs 2010

As you might know katmouse enables scrolling over non active windows. Which would be especially great in vs 2010 because now you can take source code windows to other monitors. But of course it does not work. Is there a trick to make WPF receive the right message? ...

Installing MSBuild 4.0 without Visual Studio 2010

I installed .NET 4.0 and VS 2010 RC on my laptop and MSBuild was automatically installed. I was hoping to build a continuous integration server by just installing the .NET SDK without VS 2010, so I downloaded the .NET 4.0 Framework from Microsoft at this link. Unfortunately, it doesn't appear to have installed MSBuild with this downloa...

VS 2010 build database project receive SQL04151

I just started working with the Visual Studio 2010 Premium database project. I must say it does indeed rock. One thing I can't figure out is how to avoid teh SQL04151 warning "Procedure: [dbo].[MyProc] has an unresolved reference to object [MyDatabase].[dbo].[MyItem]". Did I miss a simple step somewhere? All I can find online involves te...

VS2010 Coded UI Tests vs. Web Performance test (Whats the difference??)

Been playing with both for a couple hours. You use a Coded UI test to record some actions and verify them through assertions.. You use a Web Performance test to record some actions and verify them through validation tests/extraction tests... basically same thing... then you can convert to code optionally like the Coded UI Tests But it...

How to use applicationSettings in the new web.config configuration in VS2010?

I'm used to use web deployment projects. Currently I am developing a new web application with VS2010 and want to try to get along with the new web.config principle and deployment issues. How can I replace a simple setting like <applicationSettings> <NAMESPACE> <setting name="Testenvironment" serializeAs="String"> <value>True</...

VS2010 Code: 2104 Could not download the Silverlight application

I've just started getting this Javascript error running VS2010 with SL4 Error: Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings Everything was working fine, changed 1 line of code to use a RegularExpressio...

Changes in resolving .resx in Visual Studio 2010?

Hi, I'm working on a quite simple Webpage (MVC2), using localisation based on ResourceFiles. I have the MVC2 Project and the Resources in a seperate Assembly. The Resources contains 3 languages (Resource.resx, Resource.de.resx, Resource.en.resx, Resource.ja.resx) and I'm querying them via the ResourceManager. Call from the .aspx ...

Visual Studio 2010 web.config transformations (TransformWebConfig target)

I am trying to write unit tests for my transformations, so I am running: msbuild migrated-project.csproj /p:Configuration=Release /T:TransformWebConfig. This works for a new project I create in VS2010, but doesn't in this project. I'm assuming it's because it was originally a 2008 project. I know this is supposed to run in a webplatf...

Simple WCF service with REST - Resource cannot be found - error with ASP.NET Debug Server?

Hi, I'm testing a very simple WCF-Service with REST functionality enabled. It works fine on IIS, but the VS2010 debug webserver always says "The resource cannot be found" when appending the parameter after the .svc file in the browser uri. Is this a known issue with the asp.net debug webserver that it cannot work with REST or am I doing ...

How to disable floating tabs in Visual Studio 2010

I now use the new Visual Studio 2010 and I experience something very annoying that wasn't happening before with Visual Studio 2008. Something changed with the way it handles the floating of tabs and I can't stand it. Every once in a while, I would somehow trigger the floating of a tab instead of just switching to it. It may have to do wi...

How to do a one to many relationship in UML with Visual Studio 2010?

I am trying to do something of the form: Is it possible at all to do it? I want to have a collection of Food objects in my MealEvent class. Thanks! ...

Why does Coded UI Test Builder show MSAA for WPF controls instead of UIA

Question When I select a WPF control with the crossline of the Visual Studio 2010 Coded UI Test Builder (screenshots), it shows that the used accessibility technology was MSAA. Why is it not UIA? Additional information I am trying out the new Coded UI Test feature shipped with VS2010 and TFS2010. I know that there are basically two U...

How to set configuration properties in VS once and for all?

In VS 2010RC I have to specify configuration properties and specifically included path every time I'm creating new project. Is there a way to do it just once for all future projects? I'm asking this for a reason that I'm starting to use Boost libraries and I have to specify all those paths every time I'm creating project which is bit ted...

Solution Factory for Visual Studio 2010

I love the idea behind Solution Factory project. But, unfortunately this project has a few bugs. In addition I don't know if it's the right choice for VS2010, or VS2010 have a add-in that will do it better. Is anyone using it successfully with visual studio 2010? Is there any other better option for the same task? (of creating a new pr...

TFS 2010, can I migrate source code only ?

Our old TFS 2008 installation is getting old, and we would like to migrate to TFS 2010. However, the structure of our team projects is not so well thought out, and there has been various experiments with process templates and editing of work items and so on. Therefore, I would like to migrate our source code to TFS 2010, with full hist...

forward/strong enum in VS2010

At http://blogs.msdn.com/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx there is a table showing C++0x features that are implemented in 2010 RC. Among them are listed forwarding enums and strongly typed enums but they are listed as "partial". The main text of the article says that this means they are eithe...

Visual Studio 2010 Extensibility, MPF and language services

Hi, I am trying to extend Visual Studio 2010 RC to be able to use a custom programming language. The first two things I've tried to do is a syntax highlight/Intellisense feature (easily done, thanks to "Ook!" sample from PDC09) and a possibility to create new project templates (i.e. be able to open *.myproj files). For this second tas...