Showing posts with label Visual Studio 2010. Show all posts
Showing posts with label Visual Studio 2010. Show all posts

Wednesday, July 17, 2013

Visual Studio Remote Debugging

Rubber_duck_assisting_with_debuggingI had some problems today getting Visual Studio to connect to the Remote Debugging tool (MSVSMON.exe) running on an ASP.NET application server. The error message I received when I clicked on “Debug” –> “Attach to Process…” was along the lines of:

The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer.



…even though I definitely was running MSVSMON on the server via an RDP session. There were no firewalls enabled on either machine, or sitting on the network between us.


In order to resolve this I shared my locally installed version of MSVSMON over the network so that it could be accessed by the server in question and ran the tool directly from the share. Once I had done this I had no problems connecting. Typically MSVSMON can be found in the “<Visual Studio Install Directory>\Common7\IDE\Remote Debugger” folder in both x64 and x86 flavours.

Thursday, July 1, 2010

Cannot Build Expression Blend 4 / Silverlight 4 Project in Visual Studio 2010

Just had this problem: Trying to build an Expression Blend 4 Silverlight 4 project in Visual Studio 2010 on a machine that does not have Expression Blend 4 installed on it threw these errors:

The property 'Triggers' does not exist on the type 'Grid' in the XML namespace 'http://schemas.microsoft.com/expression/2010/interactivity'.   
The tag 'EventTrigger' does not exist in XML namespace '
http://schemas.microsoft.com/expression/2010/interactivity'.   
The tag 'ControlStoryboardAction' does not exist in XML namespace '
http://schemas.microsoft.com/expression/2010/interactions'.   
The tag 'EventTrigger' does not exist in XML namespace '
http://schemas.microsoft.com/expression/2010/interactivity'.   
The tag 'ControlStoryboardAction' does not exist in XML namespace '
http://schemas.microsoft.com/expression/2010/interactions'.   

In order to fix this, I just had to install the Microsoft Expression Blend Software Development Kit (SDK) for Silverlight 4

Wednesday, June 30, 2010

Unable To Open Silverlight 4 Project In Visual Studio 2010

Just had this issue: Opening a project created on another machine threw an error in Visual Studio 2010. The output window contained this message:

The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

The problem is that I didn’t have the Microsoft Silverlight 4 Tools for Visual Studio 2010 installed. This can be downloaded from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=eff8a0da-0a4d-48e8-8366-6ddf2ecad801&displaylang=en

Friday, June 11, 2010

Unable to start debugging. The Silverlight managed debugging package isn’t installed.

Just had this problem – Installed Visual Studio 2010 (which installs Silverlight 4), then used Visual Studio 2008 to open a Silverlight 3 project, tried to debug it, and POW!

silverlight_managed_debugging_package_not_installed

I fixed it by installing the Silverlight Windows Developer Runtime, as linked to from http://www.silverlight.net/getstarted/