<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visual Studio 2012 on Bryan Avery</title><link>https://bryanavery.co.uk/categories/visual-studio-2012/</link><description>Recent content in Visual Studio 2012 on Bryan Avery</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><copyright>© 2026 Bryan Avery.</copyright><lastBuildDate>Wed, 27 Feb 2013 14:24:00 +0000</lastBuildDate><atom:link href="https://bryanavery.co.uk/categories/visual-studio-2012/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploy a database project with TFS Build</title><link>https://bryanavery.co.uk/deploy-a-database-project-with-tfs-build/</link><pubDate>Wed, 27 Feb 2013 14:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/deploy-a-database-project-with-tfs-build/</guid><description>&lt;p&gt;When you develop web application you often have this scenario. Some people are testers, they are testing the application in dev all day, and they want always to test latest version. Moreover testers usually fills data into web application, so they want their data to be preserved between various deploy. If you simply clear all data in test database you will end with a lot of furious tester so do not even think to do this.&lt;br/&gt; &lt;br/&gt;If a developer needs to change database schema, we need to automate not only the deploy of the web application, but we need also to sync test database with the latest changes. This is necessary so the test site can work with the new version, but old data is preserved for the happiness of the testers.&lt;br/&gt; &lt;br/&gt;This is quite simple using TFS and Database project. The situation is this one&lt;/p&gt;</description></item><item><title>Visual Studio 2012 running slow</title><link>https://bryanavery.co.uk/visual-studio-2012-running-slow/</link><pubDate>Thu, 21 Feb 2013 11:32:00 +0000</pubDate><guid>https://bryanavery.co.uk/visual-studio-2012-running-slow/</guid><description>&lt;p&gt;Three months in and my Visual Studio 2012 is running slow, I’ll even go as far as saying it is freezing up some times, so I loaded up SysInternals &lt;a href="http://technet.microsoft.com/en-gb/sysinternals/bb896645/" target="_blank"&gt;Process Monitor&lt;/a&gt; and set a filter on Visual Studio and to my complete and utter amazement I found PerfWatson running wild in the system&lt;/p&gt;</description></item><item><title>Publish Database Project causing “the script file could not be found”</title><link>https://bryanavery.co.uk/publish-database-project-causing-the-script-file-could-not-be-found/</link><pubDate>Thu, 03 Jan 2013 13:22:00 +0000</pubDate><guid>https://bryanavery.co.uk/publish-database-project-causing-the-script-file-could-not-be-found/</guid><description>&lt;p&gt;If you come across publishing a SQL databse from a Visual Studio Database Project that the “the script file could not be found”, after a lot of digging around I found that all you need to do is delete the .dbmdl file, and it will publish again.&lt;/p&gt;</description></item><item><title>SQL71566 when upgrading to VS12</title><link>https://bryanavery.co.uk/sql71566-when-upgrading-to-vs12/</link><pubDate>Thu, 03 Jan 2013 08:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/sql71566-when-upgrading-to-vs12/</guid><description>&lt;p&gt;In VS 2012 I receive the following error message (one for each table) when trying to build a database project.&lt;/p&gt;&#10;&lt;p&gt;SQL71566: Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlFilegroup cannot not be set on both the Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlTable and the clustered Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlPrimaryKeyConstraint.&lt;/p&gt;&#10;&lt;p&gt;For reference here is script associated with this error.&lt;/p&gt;</description></item><item><title>Setting up StyleCop</title><link>https://bryanavery.co.uk/setting-up-stylecop/</link><pubDate>Thu, 27 Dec 2012 10:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/setting-up-stylecop/</guid><description>&lt;p&gt;How to get StyleCop working and running in Visual Studio 2012&lt;/p&gt;&#10;&lt;p&gt;First download the latest &lt;a href="http://stylecop.codeplex.com/" target="_blank"&gt;StyleCop&lt;/a&gt; from Codeplex, and install.&lt;/p&gt;&#10;&lt;p&gt;If you now load up Visual Studio and create a new project, how you’ll find lots of underlined code that need attention&lt;/p&gt;</description></item></channel></rss>