Problem: After including some XAML files from a Visio document in a Visual Studio solution you’re unable to build the solution and receive the error: Project file must include the .NET Framework assembly ‘WindowsBase, PresentationCore, PresentationFramework’ in the reference list Cause: When you include XAML files in a solution it assumes you want to compile [...]
Archive for the ‘Visual Studio’ Category
Project file must include the .NET Framework assembly ‘WindowsBase, PresentationCore, PresentationFramework’ in the reference list
Posted: 6th September 2010 in Visual Studio, XAMLVisual Studio Configuration Manager is disabled
Posted: 19th August 2010 in Visual StudioTags: Debug, Visual Studio
If you ever find yourself in the situation where you’re unable to debug your application because you have inadvertently managed to disable configuration manager and put it into release mode at the same time. Here’s how to re-enable configuration manager. Under Tools -> Options -> Projects and Solutions, you’ll see the Show Advanced Build Configurations [...]
Publishing from VS 2008 prompting for credentials.
Posted: 7th June 2010 in IIS, Visual StudioTags: IIS, Visual Studio.
Recently, when trying to publish from within Visual Studio 2008 to three existing virtual directories, located under an existing site, I was repeatedly prompted for credentials. This was something I had completed successfully earlier that day. I tried just about every configuration in Visual Studio to resolve it. In the end, I had to remove [...]
‘Watch’ items during debug in VS2010
Posted: 2nd June 2010 in Visual Studio, Visual Studio 2010Tags: Visual Studio 2010
In debug mode, you can hover over an item and drill down through its properties using the ‘+’ button. In VS2010, if you look at the right hand side you’ll find a pin which can be used to pin a particular field to that line of code. This can be done on several lines of [...]
Style Cop for ReSharper could not be loaded
Posted: 27th April 2010 in Resharper, Style Cop, Visual Studio, Visual Studio 2010Tags: Resharper, Style Cop, VS 2010
After installing Re-Sharper 5.0 I then installed Style cop for Re-Sharper to allow my code to comply with MS Style Cop and give me real-time syntax highlighting of violations. However, after installation, when I opened Visual Studio I received the following error. This is because the dll has not been given full trust. To resolve [...]