visual-studio

WPF Applications: Visual Studio vs. Expression Blend

I am a bit confused on how Visual Studio 2010 and Expression Blend 4 operate together. If I want to create a WPF application, should I start it in Expression Blend 4? If so, then how does Visual Studio 2010 natively open Expression Blend projects, or does it? Or should I start my application in Visual Studio 2010? If so, how do I open m...

Using VS2003's Application Center Test tool on another machine

Hi, i have an old PC in which i had installed Visual Studio Ent 2003, which included Application Center Test. Now i'd like to use ACT on a different machine (on Windows 7 64-bit) without installing visual studio on it. so i tried copying the "c:\program files\Microsoft ACT" from the old machine to the new one and registered actapp.dll ...

Visual Studio: Solution-dependent formatting

Is it possible to change the way Visual Studio applies source-formatting, based on the loaded solution? I work on several different solutions, for different customers, and they each have their own source-formatting standards. As a developer it's frustrating to change the formatting rules every time I change solution, so is it somehow po...

Visual Studio Designer not happy with my TabControl, anything I can do? (.NET / C#)

Hello, I have a class that extends TabControl, basically to have one with the tabs down the left hand side instead of along the top. To do I have set it to be custom drawn. The problem is when this is put onto a form via the designer, it easily makes the designer loose track of itself and just give up and display nothing. To fix it I h...

Is it possible to get VS to sign EXEs in a way that UAC recognises as legitimate without a post-build step?

We have switched on 'Sign the assembly' for each project in a solution, which means everything is signed automatically using our certificate. Unfortunately, UAC don't seem to recognise this method of signing. To make UAC see the signature on the binaries, we run signtool.exe in a post-build step, using the same code signing certificate ...

Visual Studio 2010 on Team Build server?

Do I need to install Visual Studio 2010 on my TFS 2010 Build server, if I want to run Unit Tests and Coded UI Tests as part of my build process? ...

Referencing Assemblies in a .Net Application

Hi all, In my application, I would like to load Assemblies that reside on a network share (The application itself is on that share, too) without having to add them to the project's output path. What I'd like to have is an output directory that contains next to nothing but the application. Merely adding the target directory to my projec...

Are you upgrading to Visual Studio 2010 or are you forced to stay with 2008 (or worse)

We are on VS 2008 at the moment and it's very hard to convince management that we should move to 2010 (we have just recently upgraded to 2008...). I wonder if there are many of you with the same problem at the moment, or maybe you had a similar situation and managed to push the change in your organization somehow? I'd be happy to read s...

ASP.NET aspx with dynamic base page does not show up in design tab of VS

I noticed a behaviour in Visual Studio that the design tab for aspx page does not work if I use a dynamic master page using a base page. I dynamically set the master page to implement theming. It shows a master page error and says "The page has controls that require a Master Page reference, but none is specified". Is there any solution?...

Configuring ScriptSharp to generate .js as embedded assembly resource in Visual Studio

I can't seem to understand how it works. I see there is an option /assembly available to the Script# compiler which procuces a .dll file with the .js file as a resource. Here is an example from http://www.nikhilk.net/ScriptSharpIntro.aspx: ssc /ref:sscorlib.dll /ref:Script.ScriptFX.Core.dll /debug /assembly:HelloWorld.dll /out:HelloWor...

Limitations of sharpDevelop

I am looking in to using sharpDevelop to develop Windows (.NET) applications over using Visual Studio. I'm just wondering if there are any serious limitations to using SharpDevelop over VS? The price is certainly right and at first glance it seems like a pretty decent IDE. I'm just wondering if it is compatible with VS. I mean if I a...

VC++2008 project always "out of date"

In one Solution, I have two VC++ projects. Project A has linker inputs that are .obj files compiled by project B. Visual Studio (2008) always tells me that project A is "out of date," and prompts me to ask if I want to rebuild it, every time I want to run/debug/build/etc. Even immediately after building the entire Solution: I do a suc...

Using COM and querying objects that are still "alive"

Hello guys. I work alot with ArcObjects, ESRI's API to program for ArcGIS applications. I would like to know if there is a tool where I can inspect what COM objects are alive or are on stack. I already know to free them, but I would to inspect each method to see if there are any leftovers. ...

visual studio project gives error after rebuilding

I am able to open a saved copy of my project in visual studio and it runs fine. After I rebuild the project it gives me the following error : Could not load file or assembly 'System.Web.Ajax, Version=3.0.31106.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The system cannot find the file specified. ...

Visual Studio go to implementation

Hi everyone, On right mouse click on method call, we get context menu with options Go to definition and Go to implementation options among others. Why sometimes there is no Go to implementation option? Thanks a lot. ...

How helpful are videos to you when learning about new tools?

Clint Edmonson, Microsoft Architect Evangelist, posted a video series on Channel 9 about how to use the Visual Studio 2010 Ultimate visualization and modeling tools in your software development process. How helpful do you find these kinds of videos in learning how to use these tools? Here are the video links: Part 1: Brainstorming a...

Programmatically Add a Reference to a Visual Studio Project

I want to programmatically add references to Visual Studio projects. This is for creating an add in tool to Visual Studio. What I want to do is use an API of some sort. What I don't want to deal with is just editing the XML of the project file (.csproj, .vbproj). Is there any knowledge out there on how to do this? I couldn't find anythi...

Retry a Visual Studio C# TestMethod

I'm curious to know if there's any built-in mechanism to retry tests in the Visual Studio 2008 unit testing framework for C#. Case in point, I have a C# unit test which looks something like: [TestMethod] public void MyMethod() { DoSomething(); Assert.Something(); } Now, occasionally DoSomething() performs badly; in that case I...

Visual Studio 08: Set a file-level breakpoint?

I have a file with 13.4K LOC. I would like to set a breakpoint that will be hit if any of the methods in the file are called. Is this possible? (Going through and marking them all myself would be a huge pain.) ...

Problems hosting a WPF control in a windows form

I have a Winform application and want to to use WPF inside this application. I add a WPF user control to my VS project. Then I take a ElementHost control from the toolbox and put it on a form. After that I build the solution. The problem is now, when I want to embed the WPF control with "Edit Host Content" into the ElementHost controlI...