visual-studio-2010

How to make a release build in VS express 2010

How do I make a release build in visual studio express 2010 (VB) ? ...

Microsoft C++ Pre-defined Macros

Is there a cl.exe option to dump all the pre-defined Macros ( along with the defined values ). Something like gcc -dM -E - < /dev/null for gcc. ...

Error browsing web service and how to configure web site in IIS 7.5

Hi, I have a problem. We recently migrated our web site solution from asp.net 3.5 to asp.net 4.0. The web site have a web service that I have added a new method to. On my local machine (Windows 7, VS 2010,.NET 4.0, IIS 7.5), I have no problem browsing our web service when I use the Visual Studio Development Server, but when I check the...

VS 2010 unable to locate WP7 Resources

Lately I have installed Windows Phone 7 developement tools and noticed that VS2010 unable to resolve the phone resources like styles and fonts. But Blend does load them all, it's bit annoying that all time get exception message on designer. Can anyone suggest the solution please? ...

How to publish a full website without compiling and without copying SVN files

Apparently, DNN installations do not like to be precompiled (they won't be able to find any localized strings then). Our installation is safely put in SVN, which means I cannot just copy the whole directory. To publish everything, I need to copy the whole website directory without the SVN files and directories. So far, I've been messing ...

convert c++ program into assembly

sorry id this question is not sensible just i am interesting i am using visual studio 2010 and suppose i have write some program can i make such that visual studio show me this code translated into assembly language? and if yes how do it? for example i have factorial program int fact(int n){ if (n<=1) return 1; return n*fact...

Running Visual Studio 2010 UI tests not on Ultimate

I have built a test with UI automation using Visual Studio 2010 Ultimate. I would like to run the test on computers that have other editions of Visual Studio 2010 installed, not Ultimate. However when I try to use mstest\testcontainer:tests.dll (the dll file of the test with the debug library) there was error that it was missing one of t...

Publicize.exe exits with error "Value cannot be null. Parameter name : interfaceType

Hi, I'm trying to make private accessor class using Visual Studio 2010. Here is the return of Publicize.exe: Error occurred during processing of assembly xxx Value cannot be null. Parameter name: interfaceType I use internals and InternalVisibleTo in my project. Perhaps that is the cause of the problem? ...

SharePoint & Visual Studio 2010 - Can't create a SharePoint project

Hi, I'm currently in trouble setting up a SharePoint 2010 project. Today, I installed VS2010 on our new SP 2010 test-server with my domain account, which was prompted with administrator rights on the Server and SharePoint before. But now I'm failing to create a SharePoint project in Visual Studio. The SharePoint Customization Wizard te...

What is the very last place where you can execute logic in a Windows executable?

In my application, I want to execute logic at the very last moment. The later, the better. The reason for this is that I keep track of certain elements in my application (data structures, resources, ...), and at the end of the application, a routine looks at these elements and reports if they were not correctly closed, freed, deleted, ...

VS 2008, .net 3.5 project in VS 2010: Could not load type ...EntityDesignerBuildProvider

Hello! I am trying to move a project from VS 2008 to VS 2010. The project upgrade wizard completed fine, but the project does not compile. It says: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config(129): error ASPCONFIG: Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'. I have ch...

Using Visual Studio project properties effectivly for multiple projects and configurations

I have always used Visual Studios built in GUI support for configuring my projects, often using property sheets so that several projects will use a common set. One of my main gripes with this is managing multiple projects, configurations and platforms. If you just do everything with the main GUI (right click the project -> properties) i...

Weifenluo Dock Panel Suite: Stacked or scrolling tabs possible, and if so, how?

I am using the Weifenluo Dock Panel Suite in one of my apps (VS2010 Express, .NET 4.0). It has a lot of dialogs docked together in one pane of the window, and that leads to the dialogs' tabs getting very small. Is there a way to make the Dock Panel Suite stack or scroll the tabs? If yes, how would I do that please? ...

Weifenluo Dock Panel Suite: Float windows using their design size?

How can I make floating windows use their design size (and not the Dock Panel Suite's default size) with the Weifenluo Dock Panel suite? Hint: I tried a proposition from the Dock Panel Suite forums at SF.net, but that doesn't seem to work. ...

Why is generated override code for generic method incorrect?

I have an abstract generic class public abstract class Foo<TType> with an abstract method public abstract object DoSomething(TType arg = default(TType)) {} Now, the inherited class public class BabyFoo : Foo<string> when I want to override DoSomething and start typing "override " to get the intellisense/generator to write a meth...

Visual Studio 2010 Add Connection dialogue not populating databases

I've installed Visual Studio 2010 and SQL Server 2008 (on 64 bit Windows 7). When I attempt to add a data source using the Add Connection dialogue, the dialogue is able to populate the servers, but when a server is chosen it is not able to populate the databases. When a database name is manually entered and OK is clicked, the following...

How to Open a Solution from a Custom VS2010 Start Page

I'm writing a custom WPF Start Page for VS2010. I have it displaying a list of common solutions used by me in a View. Now, I want to open the Solution in VS when selected. Any ideas? I'm looking at the DTE stuff, but having very little success. Before I dig too deeply, is DTE the right way forward, or is there another way? ...

Is there a Eclipse-like WORD completion shortcut in VisualStudio 2010?

Hello, I have recently switched from Java development and Eclipse IDE to C# .NET and VisualStudio 2010. What I really miss is the Alt+/ Eclipse short-cut for word completion. I am NOT speaking about IntelliSense auto completion stuff. I mean, I would like the text editor to finish writing words that already exist somewhere in the documen...

InternalsVisibleTo attribute isn't working

Before I go on I did go through this InternalsVisibleTo attribute ain’t workin'! Hence the title Okay so I had a working version of my project that was using something like the following. [assembly: InternalsVisibleTo("Stuff.Test.Support, PublicKey="0024000004800000940000000302000000240000525341310004000001000100d158cd56401c3d90b52ca...

How do I enable the Autos windows in Visual Studio 2010

It is supposed to be in Debug -> Windows when debugging but it's not. It's not even in the command list under Tools -> Customize -> Commands -> Menu Bar: Debug - Windows -> Commands yet it is mentioned as a feature on this page: http://msdn.microsoft.com/en-us/library/4dt5w8ta.aspx This is VS2010 Premium. ...