visual-studio

Visual Studio 64 bit?

Is there a 64 bit Visual Studio at all? ...

Complete list of tools and technologies that make up a solid ASP.NET MVC 2 development environment for beginners

This question is related to another wiki I found on SO, but I'd like to develop a more comprehensive example of an automated ASP MVC 2 development environment that can be used to develop and deploy a wide range of small-scale websites by beginners. As far as characteristics of the dev environment go, I'd like to focus on beginner-friend...

Auth fail - c# set appointments in my calendar in Outlook using Webdav

When I try to login to my Outlook url to reach for my "Calendar" / "Agenda" my VS2008 .net throws the following exception: {System.Net.WebException: De externe server heeft een fout geretourneerd: (401) Niet gemachtigd. bij System.Net.HttpWebRequest.GetResponse() bij OutlookAPI._Default.Page_Load(Object sender, EventArgs e) in D:...

How to setup directories in Visual Studio when using boost?

Hi, I have introduced boost to our code base, on my machine I created a boost directory called Thirdparty.Boost and added that as an additional include directory in my Visual Studio setting, all is fine. However I now want to check in my changes, so the rest of the team can get them. Inorder to build the code they would need to setup b...

C# Checked exceptions

One feature I really liked in Java that isn't in C# is checked exceptions. Is there any way to simulate (maybe via stylecop?) or turn on checked exceptions in Visual Studio? Yes I know a lot of people dislike them, but I find they can be helpful. ...

Redirect Console.Write... Methods to Visual Studio's Output Window While Debugging

From a Console Application project in Visual Studio, I want to redirect Console's output to the Output Window while debugging. ...

VS2010 RC: Add new domain service class wizard entities list is empty

Greetings! I am going through Brad Abrams' SL4 + RIA Services series. Right now I am here: http://blogs.msdn.com/brada/archive/2010/03/15/silverlight-4-ria-services-ready-for-business-exposing-data-from-entity-framework.aspx. When I get to the "add domain service" step and the wizard asks you what entities you want to expose, the list ...

Debugging unmanaged code while debugging managed code

Hi, The .NET 3.5 application I am working on consists of bunch of different solutions. Some of these solutions consist of managed code(C#) and others have unmanaged code(C++). Methods written in C# communicate with the ones written in C++. I am trying to trace the dependencies between these various functions and I thought setting breakp...

How to deal with Warning C4100 in Visual Studio 2008

For some reason my Visual Studio 2008 began to show warnings for code like: "int main( int argc, char **argv)", which is really annoying. The detailed warning ouputs are (you can ignore the line numbers): 1>.\main.cpp(86) : warning C4100: 'argv' : unreferenced formal parameter 1>.\main.cpp(86) : warning C4100: 'argc' : unreferenced fo...

Conditionally include file based on project configuration

Hi, I have a number of editions of the project for which I am making a Visual Studio setup project (installer). For each edition there is a separate license agreement that should be shown in the default License Agreement window. What I want to do is to point the LicenseFile of the License Agreement window to a file somewhere on the cl...

Where should I store referenced DLL binaries in my visual studio solution

When writing programs (C#.NET) I'll commonly use external libraries I've downloaded from various websites such as custom WinForm controls, or other libraries. Even if the source is available I usually prefer to reference the compiled DLL files rather then create another whole project in my solution for the 3rd party library or control. ...

Warning as Error - How to rid these

I cannot figure out how to get rid of errors that basically should not be halting my compile in VS 2010 and should not be show stoppers, or at least I will fix them later but I don't want the compile to just error and halt on these kinds of problems. For example I'm getting the following error: Error 1 Warning as Error: XML commen...

Possible to use Python with Intel's Atom Developer SDK (C/C++)?

So I've made a game in Python and PyGame. Now I'm interested in submitting the game to Intel's March Developer Challenge. However, the developer challenge requires use of Intel's Atom Developer SDK (http://appdeveloper.intel.com/en-us/sdk), which only has API's for C and C++. I'm new to Python and PyGame, and have no experience in C or...

How to use TFS with Visual Studio without Team Explorer

I'm looking at the MSDN subscription comparison (http://msdn.microsoft.com/en-us/subscriptions/subscriptionschart.aspx) and am a bit confused. Regarding VS2010 Premium and Ultimate: what is the difference between the two? Both offer TFS but only Ultimate comes with Team Explorer. Can you use TFS without Team Explorer? ...

Silverlight and RIA Services - The Data sources window does not show anything

Hi, So following some of the examples out there I created a new Silverlight Navigation application with RIA services enabled. Built the entity model, added a domain service and tested whether or not I could get some data to the client. This works fine. But many of the examples show off how they use the Data Sources window to simply drag...

Commiting changes accross projects in Visual Studio 2008 with Git Extensions

Imagine a solution in Visual Studio 2008 that consists of three projects. Two of them are file-system wise located under the solution home directory and a third one that has been added via Add Existing project from a location outside the solution. The first two projects are part of the git repository covering the solution directory whi...

What do I need to add the ribbon control in Visual Studio?

What do I need to add the ribbon control into Visual Studio? Is the Ribbon included in VS 2010? Thanks Jonathan ...

How to automatically copy embedded resources from class library that is referenced by another class library?

Here is my project structure: Web Application Project Has project reference to Class Library 1 in same Visual Studio 2008 solution Class Library 1 Has project reference to Class Library 2 in same solution Class Library 2 Has a file marked as Build Action: Embedded Resource and Copy to Output Directory: Copy Always Here is my pr...

In Visual Studio, is there a way to word-wrap ONLY comments?

I've looked, but it doesn't look like you can apply specific formatting to just comments. ...

How to name multiple versioned ServiceContracts in the same WCF service?

When you have to introduce a breaking change in a ServiceContract, a best practice is to keep the old one and create a new one, and use some version identifier in the namespace. If I understand this correctly, I should be able to do the following: [ServiceContract(Namespace = "http://foo.com/2010/01/14")] public interface IVersionedSer...