visual-studio-2010

MSpec & Resharper test runner problem

I'm using MSpec and Visual Studio 2010 with Resharper 5.1. I've installed the MSpec test runner plugin into resharper but it's not working properly. Here's my test: public class when_I_click_create_investment_manager : with_main_window { Establish I_am_viewing_the_main_page = () => mainWindowViewModel = new MainWindowVie...

Visual Studio 2010 Bookmarks problem

When I create bookmarks into editor code with Bookmarks window, work for a while adding methods, removing statements etc. and then I reopen the IDE the line number for bookmarks are wrong... Any idea? ...

VIsual Studio 2010 colour schemes compatible with ReSharper?

Are there any colour schemes for VS 2010 (preferably dark schemes) that include settings for ReSharper 5.1? All attempts at google-fu have failed me. The one I'm using at the moment messes up when R# tries to highlight a line because the colours are too similar. I know I could do this myself... and will if I have to. But if there ar...

Change name of generated PDB file to include .exe or .dll extension of it's executable.

Hi In Visual Studio 2010, is it possible to change the naming of the .pdb file to include the full name of the executable, including it's extension, and that debugging will still work? For example, suppose I have an executable myprogram.exe, I want the pdb to be myprogram.exe.pdg rather than myprogram.pdb. Similarly I want mylibrary.dl...

Com Error creating Visual Studio 2010 Plugin

I am attempting my first Visual Studio 2010 plugin and am attempting to reference the ActiveSolutionProjects like so private DTE2 _applicationObject; public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { _applicationObject = (DTE2)application; ...

Convert Winform App to Console app

Is there a quick and dirty way (or a VS Macro) to convert a WinForms app to a Console App? I have a number of these apps that are no longer needed as Winforms apps. I suppose I could create a bunch of new projects and copy paste modules and classes over, but if it's just a matter of removing the single form that I have and editing/deleti...

VS2010 DB Designer

Trying to use Database Designer in VS2010 for the first time. I started adding Tables/ Columns to the Schema View and was able to successfully deploy the database to SQL server 2008 R2 on a server running windows 2008R2. Then I discovered DB designer which seemed like a better & quicker way to create my database. In server View I clic...

Is there a way to get Visual Studio to run "Transform All Templates" upon a successful build?

I have a T4 template that geneates helpert code based on other code that is declared within my project. Because of this, I have to build my project before I run "Transform All Templates". Is it possible to have "Transform All Templates" run as a post-build-event upon a successful build? ...

boost library in microsoft c++

i am using microsoft visual c++ 2010 can i use boost library or does it requires different compiler? ...

Can't get Visual Studio's "Publish Web Application" to work

I converted a small Web Project to a Web Application in Visual Studio 2010. When I publish the application via FTP it will delete everything at the destination. And thats it...none of my files get uploaded. Now, If I select "Replace matching files with local copies" it uploads all my files but it does run my Pre/Post Build commands but...

Troubles with errno.h

I'm coding a simple SDL program with VC10. The problem that I am having is at compiling the program: Error 1 error C1083: Cannot open include file: 'errno.h': No such file or directory c:\program files\microsoft visual studio 10.0\vc\include\cerrno 14 Error 2 error C1083: Cannot open include file: 'errno.h': No such file or directory c...

"Active (Debug)" versus "Debug" ~~ please explain these vs settings

Visual Studio Debugger Project Settings for C# Debug Configurations http://msdn.microsoft.com/en-us/library/2kf0yb05.aspx vs2010 http://msdn.microsoft.com/en-us/library/2kf0yb05(VS.90).aspx vs2008 http://msdn.microsoft.com/en-us/library/2kf0yb05(VS.85).aspx .NET 3.0 http://msdn.microsoft.com/en-us/library/2kf0yb05(VS.80).aspx vs2005 http...

zlib compiling on windows 7 (x64)

Hi! I had compiled zlib on my comp to compile libxml (for collada dom). But I don't know which directories are supposed to be /lib and /include at compiling libxml. Sorry for my English and my noobinity :) Thx for the answers and the worthy time You have spent on answering me. ...

XNA 4.0 for xbox question (confused)

At the moment I have visual studio 2010 open, I see XNA Game Studio 4.0 and then I see Xbox 360 Game 4.0 as well as window game (4.0) I was under the assumption that these were not released yet, or not ready. What happens when I actually use them? am I using XNA 4.0? can I publish to Indie games for xbox(pretty sure I cannot) usin...

is there anyway to zoom into visual studio 2010 if you dont have a scroll on your mouse

is there any shortcut key to do this? ...

VS2010 ASP.NET Deployment

How do I deploy to a shared hosting environment... code and database (full blown SQL). What is your favorite way to get a 50MB single project ASP.NET Web Application Project and database to a live server with FTP and SQL Management Studio ports accessible? After a day of exploration mine is: - Use the Web.Debug.config to easily allow t...

visual studio 2010 0x80040154

I isnstalled visual studio 2010 but when I want to create new project this error was occured: class not registered(exception from hresult:0x80040154(regdb_e_classnotreg)) what I must do? ...

My Visual Studio 2010 Menus are right aligned, how to fix that?

That's what my menus look like in Visual Studio 2010 since a couple of days: How to fix that without loosing all my Settings? With fixing I mean restore left aligned menus. No other application shows that strange behavior. ...

VS 2010/SQLServer 2005 debugging hangs.

When attempt to debug a SQL CLR Function the debugger hangs. Using VS2010 and SQL 2005. ...

How can I create SQL Server database from Visual Studio?

This question can be a stupid one, but I cannot find any option to create DB right in visual studio. I don't have any SQL client installed currently and I don't want to install any just in sake of create DB option. ...