visual-studio-2010

Is there any way to get the visual studio 2010 task list to work with database projects?

Is there any way to get the visual studio 2010 task list to work with database projects? ...

Debug website on host from virtual machine

I have a Windows 7 machine hosting a Windows 7 virtual machine. I am developing a web application using visual studio 2010 on my host machine. I want to run the application in debug mode and access my localhost server from a browser on the virtual machine. (The purpose of this is to be able to debug an application that uses Windows Authe...

Use MSBuild 3.5 with Visual Studio 2010

How can I force Visual Studio 2010 to use MSBuild 3.5 instead of the new 4.0 ? ...

How to place text on top of image in ReportViewer

I feel very silly asking this, since it seems like it just should work, but I cannot make it work and cannot find anything in the documentation about this. The problem: I'm developing an application in Visual Studio 2010 that is utilizing ReportViewer, rendering the report locally. In the report designer, I place a textbox on top of an ...

Visual Studio 2010 deploys views too late in deploy process

I have a database project in my VS2010 solution. I recently changed a view and and changed a number of functions to use this view instead of going directly against a table. But now when I deploy I get errors on most of these functions because the column asked for does not exists in the view yet. The update of the view happends later than...

Visual Studio Package/Macro: how do you combine multiple text operations into a single Undo

Hiya, I have a Visual Studio (2010) package that combines multiple text operations, e.g. it inserts custom properties into my csharp files. These inserts can become quite numerous and I would like to be able to reverse the effect of the Command with a single click of the undo button. Is there a way of doing this? Steve ...

How to avoid manual editing of manifest file

My VB.Net application uses isolated activeX (outer), that depends on another activeX (inner), both are using registration-free-com. The generated manifest file contains only the information for the outer activeX. (probably because vs cannot know that the outer activeX is using inner activeX ) When I re-build my project, I always need t...

A realistic and usable (VS2010) MVC2 project template?

Hello. everybody. The default MVC2 web project template which VS2010 creates when you select "ASP.NET MVC2 Web Application" is quite a nice start... but nowhere near a realistic app framework. E.G.: user accounts without such features as password recover easily customizabile (and maybe multilingual) error messages an interface to man...

Are there any dangers in using Visual Studio 2010 to develop .net 3.5 sp1 products?

We're excited at the prospect of upgrading our development IDE from Visual Studio 2008 to 2010. Our production environment, however, is not scheduled to be upgraded from .net 3.5 sp1 to .net 4.0 in the near future. What are the possible risks in using Visual Studio 2010 to develop production grade applications that will actually run on...

VS2010 renders controls JS awkwardly

I have created a Website Project in VS2010. My Controls are not rendered correctly. The JS that is produced is not correctly formatted. Here is an example: protected void Page_PreRender(object sender, EventArgs e) { if (!IsPostBack) { objListBox.Attributes.Add("onchange", "Control_doPostBack('" + objL...

<hash_set> equality operator doesn't work in VS2010

Sample code: std::hash_set<int> hs1; // also i try std::unordered_set<int> - same effect std::hash_set<int> hs2; hs1.insert(15); hs1.insert(20); hs2.insert(20); hs2.insert(15); assert(hs1 == hs2); hash_set doesn't stores elements in some order defined by hash function... why? Please note that this code works in VS2008 using stdext...

Generating code for service proxies

I'm trying to generate some additional code base on the auto-generated webservice proxies in my VS2010 solution, I'm using a T4 template to do so. The problem is, automatically generated proxies are added in "Service Reference" folder but ProjectItems (files) are hidden by default and the following code does not find them in the project...

How do I append Word templates to a new document in VB.NET?

I'm poking around to see if this app can be done. Basically the end user needs to create a bunch of export documents that are populated from a database. There will be numerous document templates (.dot) and the end result will be the user choosing templates x y and z to include for documentation, click a button and have the app create...

C# using Conditional() with an enviroment varaible

How do I use Conditional("Condition1") attribute where "Condition1" is an environment variable. The help says it can be done but does not say how ? ...

visual assist inserts extra spaces?

I'm using Visual Assist X trial on VS2010 Pro. When I do extract method or modify method signature refactorings it gives me this: void Solver::Work( Stack &s, Board &b ) However I would really appreciate if it gave me this: void Solver::Work(Stack &s, Board &b) No extra spaces. Is there a way to set this? ...

Visual Studio. Publish project from command line

Is there a way to publish a web project in MS Visual Studio 2010 using CLI? I use DevEnv.exe /Build to build a project and it works fine, but I could not find option to Publish a project. One other thing I want to mention. I am trying to publish web project NOT to the IIS directly. I have a location where I publish several projects and...

Visual studio 2010 remote debugging is very slow (across domains, over vpn)

Overall debugging works, but each step through code takes dosens of seconds. I've already closed all additional windows like stack trace,watches,autos; deleted all breakpoints. server and dev machine are located in different domains, so i set up local user on both, with matching password. remote debugger is running as service. looking...

Unable to add Rhino Mocks 3.5 to a .NET 2.0 project in Visual Studio 2010

We're upgrading from Dev Studio 2005 to Dev Studio 2010. I opened my 2005 solution in Visual Studio 2010 and went through the conversion process keeping all projects targeted at .NET 2.0. When I try to build the project, my references to Rhino.Mocks.dll are failing to be used. I see errors like this: DalDiscoveryTest.cs(7,7): error ...

ETA on Smart Device Projects for Visual Studio 2010

I really want to upgrade to Visual Studio 2010. But since I do a lot of development for the Pocket PC version of Windows Mobile I cannot. (I develop for a Symbol device that does not support Windows Phone 7, so that is not a option.) Does any one know any kind of time frame of when Microsoft plans to add support for Smart Device Proj...

Is it possible to extend the WPF design surface in 2010?

I've got an idea for a nice WPF designer extension, but I can't find any information on how to interact with the WPF designer via an extension. Lots of info about the text editor, but none about the WPF designer. Important note: I'm looking to do this through an extension, like you'd download from the Visual Studio Gallery, rather tha...