visual-studio-2010

EF 4.0 UpdateException

Hi I'm using EF 4.0 within VS 2010 RC. I have pretty simple POCO class structure with few dependencies. Each POCO class has a base generic class (EntityObject or ValueObect) with property ID. I have several CRUD tests and only one of them works. This one is very simple where object does not have any dependencies. But when I test somethin...

Visual Studio 2010 and UTF-8 encoding

Is there a way that I can save my Visual Studio 2010 files as UTF-8 encoded? I'm using VS.NET 2010 as a PHP editor using VS.PHP. If there is a macro that will launch during the saving process that will handle this, that would be fine too. Thanks in advance! ...

Visual studio 2010 ajax control toolkit tab container

Hi. We just upgraded to visual studio 2010 RC1 and all of a sudden our controls inside tabcontainer disappeared from the designer file. Actually, it all seemed good in the beginning, the project compiled nicely, but as soon as we did any change in the markup of a page and build the code for the controls inside the tabcontainer disappea...

VS2010 RC - Is intellisense broken? How do I turn it on?

I installed the RC of VS2010 side-by-side with VS2008 SP1. VS2010 Intellisense appears to be broken, or at least not functioning as expected. I can only get intellisense if I hit CTRL + spacebar. Then after selecting the memebr from the intellisense list, hit the period again, and then CTRL + space again. If intellisense broken or just ...

IntelliSense in Visual Studio 2010 RC freezing

Every time I try to write something, IntelliSense freezes Visual Studio and I have to wait like 2 minutes for it to show code completion list. The only way I can work with is turning it completly off. **` I've already installed the last IntelliSense patch from Microsoft but the problem doesn't seem to have gotten any better. Anyone...

Is sequential workflow console application available in Visual Studio?

Hi, I have Visual Studio 2010 beta2 installed in my system. The Issue is I am not finding Sequential Workflow console application option under File ->New -> Project->Workflow for (.net framework 4). I am trying to learn a workflow example tutorial for workflow 4.0. But in that example -explaining to create a new Sequentialworkflow Con...

ApplyCurrentValues in EF 4

I just was playing with EF 4 in VS 2010 RC and just found that ApplyCurrentValues dont work when the Property is of type bool and the newly value is false !!!??? and it works when the newly value is true . I dont know if this is a bug or I'm missing something but I just work with a very ugly work around : public void UpdateProduct(...

WPF Expander - Can't see the internal controls in Visual Studio 2010 Design window

Hi! I'm using Visual Studio 2010 and in a WPF app I'm using an expander. The prob is that the GroupBox etc inside the Expander are hidden from view in the Design window. Any ideas to have them show? Thx! ...

How do I use Visual Studio 2010 RC 'one click publish' from the command line?

I've got VS 2010 RC running and have two publish profiles set up in it, one for publishing to the staging server and one for the developer test box. It works great but I want to put the deployment to our dev server into our build server and run it on check-in. I'm looking for an MS Build target or a command I can call via MS Build that ...

Error loading type library/DLL

When I use the following code I get an compilation error #import <dwmapi.lib> #include <dwmapi.h> I get the following error: fatal error C1083: Cannot open type library file: 'c:\program files\microsoft sdks\windows\v7.0a\lib\dwmapi.lib': Error loading type library/DLL. Intellisense says: 2 IntelliSense: cannot open ...

App_Code folder is missing in VS 2010.

I was trying to create a Dynamic Data Website using VS 2010 RC. An attempt to create an App_Code folder where I would put a LINQ to SQL class, failed. When I selected 'Add ASP.NET Folder' to add the folder, I had options to create only the following folders: App_GlobalResources App_LocalResources App_Data App_Browsers Theme What ha...

Extending visual studio

I want to write an AddIn for visual studio (2010). My goal is to add a menuitem to the context menu of all .cs files in the solution explorer. Or maybe just to context menu of the code window, although I prefer the first thing. I've been browsing around on the Visual Studio Extensibility website but I must admit that I'm having a hard ti...

is it be wise to work on VS2010 ?

hi i download the VS2010 and i want to try and test him. can i make program for customers ? and when the final version will be spread ? thank's in advance ...

Problem Installing MVC 2 RC2

System is Windows 7 32 bit fully up2date, Visual Studio 2008 & 2010 RC. Trying to install AspNetMVC2_RC2_VS2008.exe following the instructions from http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx I keep getting this error Prerequisite check for system component Microsoft ASP.NET MVC 2 - Visual S...

Reverse Engineering Code into a UML Class Diagram in VS 2010

Reverse engineering source code into a VS 2010 UML class model? I have a bad feeling that this is not supported in VS 2010 (I'm using the RC from Feb 2010). I've tried dragging classes from the "Architecture Explorer" to the "UML Model Explorer" but that doesn't work (won't let me drop on the UML Model). I've tried generating an old st...

Do VS2010's new "thread monitor/visualizer" features support CLR 2.0?

In .NET Rocks episode #525, they talk about monitors/visualizers new to VS2010 that help you understand what your multi-threaded software is actually doing at runtime (where it's locking, etc). Does that (or related) feature give any new visibility to the behavior of multi-threaded apps running in version 2.0 of the .NET CLR? ...

How do I programatically add an article page to a sharepoint site?

I've been given the task of content migration from another CMS system to SharePoint 2010. The data in the old system is fairly easy to capture and the page hierarchy is simple so I'm not worried about that. However, I am completely flummoxed about how to even create a page in code. I'm using the Microsoft.SharePoint.Client namespace a...

Debugger not stepping into different projects

Is it possible for a web project built on .NET framework 4.0 step into a project built on .NET framework 2? If so, how would I set this up? These 2 projects are in different solutions. When I do a "Go to definition" from the web project, it opens up the metadata. In debug mode, the debugger never "steps into" the method. ...

Does Visual Studio 2010 RC play nice with Visual Studio 2008?

Does Visual Studio 2010 RC play nicely with Visual Studio 2008? I am wondering if I need to setup a Virtual Machine to play with VS 2010 or if I can just install it on my Dev machine. If it messes up VS 2010 then that is sad but ok. If it messed up VS 2008 then I would be in trouble. Has anyone tried this out? Does it work well? Poo...

Wait Cursor Error

I'm coding an advanced web browser. The bad thing is, is that whenever you move your cursor over the window, a wait cursor is displayed. I tried to deselect the wait cursor but it doesn't work! I'm using Visual Basic 2010 Beta 2... Please help!! ...