<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>SQL Server Data Tools Team Blog</title><link>http://blogs.msdn.com/b/ssdt/</link><description>Offical team blog for SSDT, a tool for on and off-premise database development</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ssdtblog" /><feedburner:info uri="ssdtblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>SQL Server Data-Tier Application Framework (May 2013) Available</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/BFqoPaGPo4U/sql-server-data-tier-application-framework-may-2013-available.aspx</link><pubDate>Fri, 03 May 2013 14:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10415913</guid><dc:creator>Adam Mahood [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10415913</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10415913</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2013/05/03/sql-server-data-tier-application-framework-may-2013-available.aspx#comments</comments><description>&lt;h3&gt;What’s new?&lt;/h3&gt;  &lt;p&gt;This update to the Data-Tier Application Framework (DACFx) addresses a high-priority issue causing potential data corruption during DAC Package creation. The issue is described below:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Scenario/Issue&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Extracting a DACPAC with data or Exporting a BACPAC from a database containing tables that have VARBINARY columns with data larger than or equal to 4,116,480 bytes may experience data corruption in the resulting package.&lt;/li&gt;      &lt;li&gt;The resulting DAC package may have different data than that in the original source database.&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Symptom&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Deploying a DACPAC or Importing a BACPAC created from a database matching the above characteristics may result in the table data in the target database being different from that in the original source.&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;strong&gt;Resolution&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Install the updated release of DACFx available &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=38818"&gt;here&lt;/a&gt; to fix this issue.&lt;/li&gt;      &lt;li&gt;Once the new version is installed, re-create the DAC packages for the databases that may have experienced this issue.&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;h3&gt;&lt;strong&gt;How can I get it?&lt;/strong&gt;&lt;/h3&gt;  &lt;p&gt;You can obtain this new version of DACFx and its dependencies from our Microsoft Download Center page &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=38818"&gt;here&lt;/a&gt;. This version of DACFx supersedes all previously available versions. This new version of DACFx supports in-place upgrade from previous versions, so it is not required to remove previous DACFx installations before upgrading to this new release.&lt;/p&gt;  &lt;p&gt;If you are on an x64 machine, you will need to install both the x64 and x86 versions of the MSIs from the DACFx May download page linked above.&amp;#160; &lt;/p&gt;  &lt;p&gt;The version of this update is 11.1.2825.1. This supersedes the previously available March release (11.1.2824.1). You can determine which version of the Data-Tier Application Framework you currently have installed via Windows Add/Remove Programs.&lt;/p&gt;  &lt;h3&gt;Compatibility&lt;/h3&gt;  &lt;p&gt;This release of DACFx&lt;strong&gt; &lt;/strong&gt;is fully compatible with the December 2012 release of&amp;#160; SQL Server Data Tools released on 12/13, available &lt;a href="http://msdn.microsoft.com/en-us/data/hh297027"&gt;here&lt;/a&gt;. This release is also compatible with SSMS of SQL Server 2012 and SQL Server 2012 SP1.&lt;/p&gt;  &lt;p&gt;If you experience any issues or have any feedback, please let us know via the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;forum&lt;/a&gt; or &lt;a href="https://connect.microsoft.com/SQLServer/Feedback"&gt;Connect&lt;/a&gt;. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10415913" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/BFqoPaGPo4U" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2013/05/03/sql-server-data-tier-application-framework-may-2013-available.aspx</feedburner:origLink></item><item><title>SQL Server Data-Tier Application Framework (March 2013) Available</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/rLMclaztzu8/sql-server-data-tier-application-framework-march-2013-available.aspx</link><pubDate>Wed, 06 Mar 2013 19:13:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10400002</guid><dc:creator>Adam Mahood [MSFT]</dc:creator><slash:comments>13</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10400002</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10400002</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2013/03/06/sql-server-data-tier-application-framework-march-2013-available.aspx#comments</comments><description>&lt;h3&gt;What’s new?&lt;/h3&gt;  &lt;p&gt;This update to the Data-Tier Application Framework (DACFx) addresses several high-priority issues reported by DACFx and SQL Server Data Tools customers via the forum and Connect. The issues addressed include:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Database Project in Visual Studio hangs on “Analyzing Database Schema…”&lt;/strong&gt; &lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;This release addresses an issue that can occur when loading or building large Database Projects. In some cases, the operation would never finish.&lt;/li&gt;      &lt;li&gt;This is a functional fix, not a performance enhancement - even with the fix, the time to complete this operation depends on the size and complexity of your project.&amp;#160;&amp;#160; &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;“System.ObjectDisposedException: Store must be open for this operation”&lt;/strong&gt; &lt;strong&gt;failure in DACFx &lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;This release addresses an issue that can occur when simultaneously working over multiple Database Projects or DACFx operations. In some case, an error would be encountered and the operation would not complete.&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;“Unexpected failure occurred: hexadecimal value 0xxx, is an invalid character” failure in DACFx&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;This update addresses an issue that can cause the above failure on Export BACPAC and Extract DACPAC operations for certain databases. &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;The team thanks you for your feedback in reporting these issues!&lt;/p&gt;  &lt;h3&gt;&lt;strong&gt;How can I get it?&lt;/strong&gt;&lt;/h3&gt;  &lt;p&gt;You can obtain this new version of DACFx and its dependencies from our Microsoft Download Center page &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=36842"&gt;here&lt;/a&gt;. This version of DACFx supersedes all previously available versions. This new version of DACFx supports in-place upgrade from previous versions, so it is not required to remove previous DACFx installations before upgrading to this new release.&lt;/p&gt;  &lt;p&gt;If you are on an x64 machine, you will need to install both the x64 and x86 versions of the MSIs from the DACFx March download page linked above.&amp;#160; &lt;/p&gt;  &lt;p&gt;The version of this update is 11.1.2824.1. This supersedes the previously available November release (11.1.2820.0). You can determine which version of the Data-Tier Application Framework you currently have installed via Windows Add/Remove Programs.&lt;/p&gt;  &lt;h3&gt;Compatibility&lt;/h3&gt;  &lt;p&gt;This release of DACFx&lt;strong&gt; &lt;/strong&gt;is fully compatible with the December 2012 release of&amp;#160; SQL Server Data Tools released on 12/13, available &lt;a href="http://msdn.microsoft.com/en-us/data/hh297027"&gt;here&lt;/a&gt;. This release is also compatible with SSMS of SQL Server 2012 and SQL Server 2012 SP1.&lt;/p&gt;  &lt;p&gt;If you experience any issues or have any feedback, please let us know via the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;forum&lt;/a&gt; or &lt;a href="https://connect.microsoft.com/SQLServer/Feedback"&gt;Connect&lt;/a&gt;. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10400002" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/rLMclaztzu8" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2013/03/06/sql-server-data-tier-application-framework-march-2013-available.aspx</feedburner:origLink></item><item><title>SQL Server Unit Testing using Visual Studio 2010 and Visual Studio 2012 Side by Side</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/FS7_Yr9L6Hg/new-blog-post.aspx</link><pubDate>Thu, 03 Jan 2013 19:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10382177</guid><dc:creator>Bill Gibson MSFT</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10382177</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10382177</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2013/01/03/new-blog-post.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;This post is important &lt;strong&gt;&lt;em&gt;only if&lt;/em&gt;&lt;/strong&gt; you need to open the same SQL Server unit test projects in &lt;em&gt;&lt;strong&gt;both&lt;/strong&gt;&lt;/em&gt; Visual Studio 2010 and Visual Studio 2012.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;The SQL Server unit testing runtime components installed with SQL Server Data Tools (SSDT) are specific to Visual Studio 2010 and Visual Studio 2012.&amp;nbsp; When working with only one version of Visual Studio the appropriate version of the runtime components is installed and there is no issue, but some care is needed when Visual Studio 2010 and Visual Studio 2012 are used side-by-side on the same project.&amp;nbsp; Side-by-side use includes the following scenarios: &lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Using Visual Studio 2010 and Visual Studio 2012 on the same machine with SSDT installed in both.&amp;nbsp; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Developers on a team who are collaborating on the same SQL Server unit test project but using different versions of Visual Studio. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Building test projects on&amp;nbsp;a build machine that is at a different version level than Visual Studio, for example, using Team Foundation Build 2010 to build projects that were worked on by Visual Studio 2012 or vice versa.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Side-by-side use affects the following:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;The app.config file in the test projects.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;The database unit testing runtime which is Visual Studio version specific.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Custom test conditions, which extend the runtime above.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;The impact on each is discussed further below.&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Note:&amp;nbsp; If you modify or extend your test code other than by using custom test conditions, you will need to consider the side-by-side implications of your extension if the test project will be used in both versions of Visual Studio.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;SQL Server Test Configuration&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;To accommodate working with both Visual Studio 2010 and Visual Studio 2012, the app.config file in a test project supports two parallel sections, one for each version.&amp;nbsp; The config sections are created and managed by the same SQL Server Test Configuration dialog in the two respective versions of Visual Studio (the dialog from Visual Studio 2010 is shown below).&amp;nbsp; Example configuration sections are included at the end of this post.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/7802.TestProjectConfiguration.PNG"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/450x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/7802.TestProjectConfiguration.PNG" alt="" width="449" height="490" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;When working in Visual Studio 2010 you should create and edit the configuration using the dialog from&amp;nbsp;that&amp;nbsp;version.&amp;nbsp; If you open the same project in Visual Studio 2012 you should&amp;nbsp;use the Visual Studio 2012 version of the dialog to ensure it is configured appropriately.&amp;nbsp; The dialog can be opened by right-clicking on the test project in Solution explorer or from the SQL menu when the project is selected.&amp;nbsp; The contents of the two sections are not synchronized automatically, so if you are using different Visual Studio versions you should ensure that both sets of configurations refer to the same project and database or your test results may differ when running the same tests from each version of Visual Studio.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;SQL Server Database Unit Testing Runtimes&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;In addition to the MS Test infrastructure, which is installed with Visual Studio Professional and higher editions and with the Team Foundation Build service, the Server SQL Server database unit testing runtime must be installed on any computer on which SQL Server unit tests are to be developed, built or run.&amp;nbsp; This runtime is included in the SSDT Build Utilities which are installed with SSDT.&amp;nbsp; SSDT can be installed on Visual Studio 2010 and Visual 2012 side by side on the same computer allowing SQL Server unit tests to be developed, built and run from either version of Visual Studio. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;span style="font-size: small;"&gt;If you need to build and run the tests on a computer that does not have Visual Studio and SSDT installed &amp;ndash; for example, on a Team Foundation Build server &amp;ndash; then you will need to install the SSDT Build Utilities manually.&amp;nbsp; SSDT Build Utilities are installed using the SsdtBuildUtilities.msi file, which is provided as part of a version-specific administrative installation of SSDT.&amp;nbsp; If you are using Team Foundation Build 2010 you should install the SSDT Build Utilities for Visual Studio 2010; if you are using Team Foundation Build 2012 you should install SSDT Build Utilities for Visual Studio 2012.&amp;nbsp; The SsdtBuildUtilties.msi should be installed from the location (/location) used for the administrative installation point.&amp;nbsp;&amp;nbsp;Once installed, the app.config configuration section for the appropriate version Team Foundation Build version will be used, so ensure this has been created and is accurate.&amp;nbsp; For more information on setting up a build server see,&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/jj851202(VS.103).aspx"&gt;How to: Run SQL Server Unit Tests from Team Foundation Build&lt;/a&gt;.&amp;nbsp; For more information&amp;nbsp;on creating an administrative install point of SSDT, see, &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/hh500335(VS.103).aspx"&gt;&lt;span style="color: #0563c1; font-size: small;"&gt;Install SQL Server Data Tools&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: small;"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;At build time, the $(VisualStudioVersion) MSBuild property is used to resolve the correct version of the SQL Server database unit testing runtime.&amp;nbsp; When working in Visual Studio 2010, this property is automatically set to 10.0, while in Visual Studio 2012, it is set to 11.0.&amp;nbsp; If you are building from the command line on a machine that has both VS 2010 and VS 2012, then you can explicitly set this property via the command line when you build the project.&amp;nbsp; For example, for a Visual Studio 2012 project, you can run &amp;lsquo;msbuild.exe /p: VisualStudioVersion=11.0 &amp;lt;projectfile&amp;gt;&amp;rsquo;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Using Custom Test Conditions in Side-by-Side Scenarios&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;If you are using a custom test condition in your test project then you must ensure that you either include the test condition source code in your solution that is shared between Visual Studio versions and build it with your test, or install the custom test condition assembly that was compiled with the version of Visual Studio that is being used to develop and run the tests.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;If you plan to install the test condition assembly, then the following rules apply. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;If you are running Visual Studio 2010 and Visual Studio 2012 side by side on a computer you will need to install both 2010 and 2012 versions of the test condition assembly.&amp;nbsp; The test conditions should be installed in parallel version-specific folders as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Visual Studio 2010:&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: verdana,geneva;"&gt;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\SQLDB\TestConditions&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Visual Studio 2012:&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: verdana,geneva;"&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\SQLDB\TestConditions&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;These locations are configurable by registry key if required.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Note:&amp;nbsp; References to installed custom test condition assemblies are added to your test project during the test development process when you first add a SQL Server unit test to the project, regardless of whether you use any custom conditions in your tests.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;If you have a build server that needs to build and run tests that use custom test conditions, then you must manually install the custom test condition assemblies on the server into the appropriate folder based on the&amp;nbsp;server version.&amp;nbsp; You only need to install one version of the test condition assembly, regardless of the Visual Studio version in which the projects are developed.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Again, at build time, Team Foundation Build will use the $(VisualStudioVersion) MSBuild property, if it has been defined, to determine the version-specific folder from which to load the test conditions.&amp;nbsp; If this property is not set on your build server then install only the Visual Studio 2010 versions of any custom test conditions being used in the Visual Studio 2010 folder described above.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Appendix&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Example Side-by-Side app.config Configuration Sections&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva; font-size: small;"&gt;Visual Studio 2010:&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp; &amp;lt;configSections&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;section name="SqlUnitTesting_VS2010" type="Microsoft.Data.Tools.Schema.Sql.UnitTesting.Configuration.SqlUnitTestingSection, Microsoft.Data.Tools.Schema.Sql.UnitTesting, Version=10.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp; &amp;lt;/configSections&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp; &amp;lt;SqlUnitTesting_VS2010&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DatabaseDeployment DatabaseProjectFileName="..\..\..\AdventureWorks\AdventureWorks.sqlproj" Configuration="Debug" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataGeneration ClearDatabase="true" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExecutionContext Provider="System.Data.SqlClient" ConnectionString="Data Source=(LocalDB)\Projects;Initial Catalog=AdventureWorks;Integrated Security=True;Pooling=False" CommandTimeout="30" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;PrivilegedContext Provider="System.Data.SqlClient" ConnectionString="Data Source=(LocalDB)\Projects;Initial Catalog=AdventureWorks;Integrated Security=True;Pooling=False" CommandTimeout="30" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp; &amp;lt;/SqlUnitTesting_VS2010&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;lt;/configuration&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="font-family: verdana,geneva;"&gt;Visual &lt;span style="font-size: small;"&gt;Studio&lt;/span&gt; 2012:&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;configSections&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;section name="SqlUnitTesting_VS2012" type="Microsoft.Data.Tools.Schema.Sql.UnitTesting.Configuration.SqlUnitTestingSection, Microsoft.Data.Tools.Schema.Sql.UnitTesting, Version=11.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/configSections&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SqlUnitTesting_VS2012&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DatabaseDeployment DatabaseProjectFileName="..\..\..\AdventureWorks\AdventureWorks.sqlproj"&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configuration="Debug" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataGeneration ClearDatabase="true" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExecutionContext Provider="System.Data.SqlClient" ConnectionString="Data Source=(LocalDB)\Projects;Initial Catalog=AdventureWorks;Integrated Security=True;Pooling=False"&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; CommandTimeout="30" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;PrivilegedContext Provider="System.Data.SqlClient" ConnectionString="Data Source=(LocalDB)\Projects;Initial Catalog=AdventureWorks;Integrated Security=True;Pooling=False"&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; CommandTimeout="30" /&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/SqlUnitTesting_VS2012&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;lt;/configuration&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10382177" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/FS7_Yr9L6Hg" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2013/01/03/new-blog-post.aspx</feedburner:origLink></item><item><title>Available Today: SSDT—December 2012</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/bjdQxYrJ7oc/available-today-ssdt-december-2012.aspx</link><pubDate>Thu, 13 Dec 2012 17:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10376989</guid><dc:creator>Janet Yeilding</dc:creator><slash:comments>37</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10376989</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10376989</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2012/12/13/available-today-ssdt-december-2012.aspx#comments</comments><description>&lt;h1&gt;The SSDT team is pleased to announce that SQL Server Data Tools - December 2012 is now available for download!&lt;/h1&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Get it here:&lt;/h2&gt;
&lt;p&gt;SSDT for Visual Studio 2012: &lt;a href="http://msdn.microsoft.com/en-us/jj650015"&gt;http://msdn.microsoft.com/en-us/jj650015&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SSDT for Visual Studio 2010: &lt;a href="http://msdn.microsoft.com/en-us/jj650014"&gt;http://msdn.microsoft.com/en-us/jj650014&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;What&amp;rsquo;s New?&lt;/h2&gt;
&lt;h3&gt;Database Unit Testing&lt;/h3&gt;
&lt;p&gt;We have received an overwhelming amount of feedback that database unit testing is a critical feature for customers, so SSDT- December 2012 adds support for this feature. Database Unit Testing in SSDT will look familiar to many of you as it is based on the equivalent capability in the Visual Studio 2010 DB Pro tools.&amp;nbsp; Some highlights:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Installs in Visual Studio 2010 or Visual Studio 2012:
&lt;ul&gt;
&lt;li&gt;Requires Visual Studio Professional or higher edition to support database unit testing functionality.&lt;/li&gt;
&lt;li&gt;Installs side-by-side with existing Visual Studio 2010 DB Pro tools in Visual Studio Premium and Ultimate editions.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Supports client-side testing based on MSTest with the same built-in test conditions as DB Pro.&lt;/li&gt;
&lt;li&gt;Allows desktop development and execution of tests as well as execution from the command line or as part of a build on a build server.&lt;/li&gt;
&lt;li&gt;Upgrades existing VS 2010 test projects without change to the database unit test scripts or code.&lt;/li&gt;
&lt;li&gt;Integrates with SSDT SQL Server database projects:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Automates deployment of the database project on test initialization.&lt;/li&gt;
&lt;li&gt;Generates skeleton test scripts for stored procedures, functions and triggers via SQL Server Object Explorer.&lt;/li&gt;
&lt;li&gt;Applies changes to test scripts when refactoring objects in database projects.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Supports custom test conditions (existing custom test conditions need to be modified before they can be used).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/2248.designer.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/2248.designer.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Stay tuned for a&amp;nbsp;follow-up post on getting started with SQL Server database unit testing.&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Integration of SSDT Power Tools&lt;/h3&gt;
&lt;p&gt;The SSDT team started releasing SSDT Power Tools last April as a mechanism to deliver new and experimental features with each release. Since then, the Power Tools have been downloaded over 24,500 times.&lt;/p&gt;
&lt;p&gt;We received a great deal of positive feedback on the Power Tools and as a response, this release integrates the functionality previously delivered via Power Tools into the core SSDT product. The advantage of product inclusion is that a separate install will no longer be needed and that features are now fully supported and available to users in all languages. The following features are now included in SSDT's SQL Server Object Explorer:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Projects node &lt;/strong&gt;adds the equivalent of Schema View to SSDT. You can use this node to browse the logical schema of your project and to edit, refactor, and add new objects.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/8585.projnotde.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/8585.projnotde.png" alt="" width="200" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Script As &lt;/strong&gt;support in SSOX enables you to generate Create, Alter, Drop, and Drop and Create-To scripts for objects in your connected database.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/5706.scriptas.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/500x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/5706.scriptas.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;DAC actions &lt;/strong&gt;allow you to perform similar DAC-based tasks in SSDT to those available in SSMS.&amp;nbsp; You can extract a dacpac from a live database, publish a dacpac to a database, register a database as a DAC, or remove the registration metadata for a database registered as a DAC. These actions are supported for both on-premises SQL Server databases as well as Windows Azure SQL Databases.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/4848.clip_5F00_image003_5F00_3D1893F8.png"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/3365.clip_5F00_image003_5F00_thumb_5F00_4EF527C5.png" alt="clip_image003" width="244" height="117" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We recommend that you uninstall the SSDT Power Tools extension if you had it previously installed.&lt;/p&gt;
&lt;h3&gt;Updated Data-Tier Application Framework&lt;/h3&gt;
&lt;p&gt;This release includes the November 2012 release of SQL Server Data-Tier Application Framework (DACFx), which contains several feature enhancements and bug fixes.&amp;nbsp; You can learn more about the latest release of DACFx &lt;a href="http://blogs.msdn.com/b/ssdt/archive/2012/11/16/sql-server-data-tier-application-framework-november-2012-available.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Bug fixes&lt;/h3&gt;
&lt;p&gt;SSDT - December 2012 contains over 50 bug fixes, including fixes for customer-reported issues from SSDT - November 2012 and SSDT Power Tools releases.&lt;/p&gt;
&lt;h3&gt;Contact Us&lt;/h3&gt;
&lt;p&gt;If you have any questions or feedback about SSDT, please visit our &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;forum&lt;/a&gt; or &lt;a href="https://connect.microsoft.com/SQLServer/Feedback"&gt;Microsoft Connect page&lt;/a&gt;.&amp;nbsp; We look forward to hearing from you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10376989" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/bjdQxYrJ7oc" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/ssdt/archive/tags/ssdt/">ssdt</category><category domain="http://blogs.msdn.com/b/ssdt/archive/tags/Release/">Release</category><category domain="http://blogs.msdn.com/b/ssdt/archive/tags/SQL+Server+Data+Tools/">SQL Server Data Tools</category><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2012/12/13/available-today-ssdt-december-2012.aspx</feedburner:origLink></item><item><title>Windows Azure Import/Export Service and External References</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/kj8edaqpL2Q/windows-azure-import-export-service-and-external-references.aspx</link><pubDate>Thu, 13 Dec 2012 16:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10377237</guid><dc:creator>Adam Mahood [MSFT]</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10377237</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10377237</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2012/12/13/windows-azure-import-export-service-and-external-references.aspx#comments</comments><description>&lt;p&gt;The Windows Azure Import/Export Service powered by the SQL Server 2012 Data-Tier Application Framework (DACFx V3) provides a cloud service for logical backup/restore and migration of Windows Azure SQL Databases. This functionality is available &lt;a href="http://code.msdn.microsoft.com/windowsazure/Windows-Azure-SQL-Database-5eb17fe2"&gt;via an HTTP endpoint&lt;/a&gt;, as well as through the Windows Azure Management Portal.&lt;/p&gt;
&lt;p&gt;We have recently released an update to the service that brings an enhancement to the level of validation carried out against a database during the Export operation. This improved level of validation ensures Exported BACPACs can be Imported (restored) to a new database in Azure. However, due to this improved validation, folks may see an increase in Export operation failures, particularly around invalid self-referencing external (three-part) names in object definitions. More details on the issue are below.&lt;/p&gt;
&lt;h4&gt;Scenario:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;You attempt to Export a Windows Azure SQL Database using the Import/Export Service via the HTTP Endpoint, or through the Windows Azure Management Portal.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Symptom:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Export operation fails with error message similar to the following:&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;ldquo;Exception Microsoft.SqlServer.Management.Dac.Services.ServiceException: Error encountered during the service operation. Inner exception Microsoft.SqlServer.Dac.DacServicesException: Validation of the schema model for data package failed. Error SQL71562: Procedure: [dbo].[SampleProcedure] has an unresolved reference to object [MyDB].[dbo].[TestTable]. External references are not supported when creating a package from this platform.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;&lt;strong&gt;Issues:&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;1. Improved validation blocks Exports of databases containing fully qualified three-part names in object definitions.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Why:&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;DACFx must block Export when object definitions (views, procedures, etc.) contain external references, as Azure SQL Database does not allow cross-database external references. This includes blocking Export for databases with three-part references to themselves - if these references were successfully Exported, Importing the resulting BACPAC to a database with a different name will always fail, as the three-part name references would no longer be self-referencing.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. Modify your database schema, removing all of the self-referencing three-part name references, reducing them to a 2 part name.&lt;/p&gt;
&lt;p&gt;There are many tools/mechanisms by which you can accomplish fixing your schema to remove these external references. &lt;a href="http://blogs.msdn.com/b/ssdt/archive/2012/04/19/migrating-a-database-to-sql-azure-using-ssdt.aspx"&gt;One option is to use SQL Server Data Tools (SSDT).&lt;/a&gt; In SSDT, you can create a database project from your Azure database, setting the target platform of the resulting project to &amp;ldquo;SQL Azure&amp;rdquo;. This will enable Azure-specific validation of your schema which will flag all three-part name/external references as errors. Once all of the external reference errors identified in the Error List have been remedied, you can publish your project back to your Azure database and resume usage of the Import/Export Service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10377237" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/kj8edaqpL2Q" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2012/12/13/windows-azure-import-export-service-and-external-references.aspx</feedburner:origLink></item><item><title>Getting Started with SQL Server Database Unit Testing in SSDT</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/xz39oBHuw5A/getting-started-with-sql-server-database-unit-testing-in-ssdt.aspx</link><pubDate>Fri, 07 Dec 2012 08:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10375495</guid><dc:creator>Bill Gibson MSFT</dc:creator><slash:comments>7</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10375495</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10375495</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2012/12/07/getting-started-with-sql-server-database-unit-testing-in-ssdt.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;SSDT&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/ssdt/archive/2012/12/13/available-today-ssdt-december-2012.aspx"&gt;now&lt;/a&gt;&amp;nbsp;enables you to develop, debug and execute database unit tests interactively in&amp;nbsp;Visual Studio, which can&amp;nbsp;then be&amp;nbsp;run from the command line or from a build machine, for example, a Team Foundation Build server&amp;nbsp;configured for&amp;nbsp;continuous integration.&amp;nbsp;&amp;nbsp;SSDT helps put database testing on an equal footing with other aspects of application testing, helping you raise and then maintain the quality of your SQL Server database applications.&amp;nbsp;&amp;nbsp;This post provides a quick introduction to SQL Server database unit testing with SSDT.&amp;nbsp; For a&amp;nbsp;more detailed information and a more comprehensive walkthrough available see &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/jj851200(VS.103).aspx"&gt;Verifying Database Code by Using SQL Server Unit Tests&lt;/a&gt; in MSDN.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Unit testing SQL Server databases with SSDT is very straightforward, although there are a couple of things to look out for.&amp;nbsp;&amp;nbsp;First you must&amp;nbsp;have Visual Studio 2010 or 2012 Professional edition or higher installed.&amp;nbsp; If you have Visual Studio&amp;nbsp;2010 Premium or Ultimate edition installed then the new&amp;nbsp;SQL Server database unit testing installs alongside the existing database unit testing from Visual Studio.&amp;nbsp; You can continue to use the old&amp;nbsp;tools but you cannot mix database unit tests&amp;nbsp;created&amp;nbsp;by both versions in&amp;nbsp;the same&amp;nbsp;test project - more on this below.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;strong&gt;Test Projects and converting existing Test Projects&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;SQL Server unit tests are created in a&amp;nbsp;normal VB or C# Test project.&amp;nbsp; The&amp;nbsp;MSTest infrastructure is used to&amp;nbsp;run the tests and view the results.&amp;nbsp;&amp;nbsp;If you&amp;nbsp;have&amp;nbsp;existing test projects containing database&amp;nbsp;unit tests created with Visual Studio&amp;nbsp;2010 then&amp;nbsp;you must convert these projects before working on them with SSDT.&amp;nbsp; To convert, simply right-click on the&amp;nbsp;test project in Solution Explorer and select Convert to SQL Server Unit Testing project...&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6747.ConvertUnitTests.png"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/370x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6747.ConvertUnitTests.png" alt="" width="370" height="64" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;SSDT introduces a new SQL Server Unit Test template and type.&amp;nbsp; There are&amp;nbsp;two ways to create SQL Server unit tests in a test project: either by generating tests from a database project opened in SQL Server Object Explorer (SSOX), which creates&amp;nbsp;unit tests with a skeleton T-SQL script for you to complete, or by manually adding unit tests into&amp;nbsp;a test project using the template.&amp;nbsp; If you create tests from SSOX&amp;nbsp;you will have the option to create a new test project or add the tests into an existing project.&amp;nbsp;&amp;nbsp;In many cases you will find the generated skeleton scripts a great starting point so be sure to try these out.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Generating SQL Server Unit Tests from objects in SQL Server Object Explorer&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;If&amp;nbsp;you have a&amp;nbsp;SQL Server database project in your solution you can generate unit tests from any stored procedure, function or DML trigger defined in that project.&amp;nbsp;&amp;nbsp;To do this, locate the project&amp;nbsp;beneath the new Projects node in SSOX, and then locate and right-click the object&amp;nbsp;you want to test and select Create&amp;nbsp;Unit Tests...&amp;nbsp;(see below). &amp;nbsp;You can generate tests for an individual object, or by selecting its parent node in SSOX, generate tests for all objects in that node.&amp;nbsp; If for any reason you don't have access to a database project for the database that you want to test, you can connect to the database in SSOX, right-click it, and then select Create New Project to create a project for this purpose.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/5037.Create-Unit-Tests.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/5037.Create-Unit-Tests.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;In the dialog that follows (see below) check all the object(s) for which you want tests generated and choose whether to create a new test project or have the test(s) added&amp;nbsp;to an existing test project.&amp;nbsp; This dialog shows you all the candidate objects in the project that you are working with.&amp;nbsp; If the project has same-database references to other projects or dacpacs, then&amp;nbsp;these references are resolved and the dialog will include candidate objects from the referenced projects and dacpac.&amp;nbsp; Once you have&amp;nbsp;selected all the source objects you want to use, click OK and the project and/or tests will be generated.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6082.Create-Unit-Tests-Dialog.PNG"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6082.Create-Unit-Tests-Dialog.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Manually Creating a SQL Server Unit Test &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;You can also add empty tests to a project manually and define them from scratch.&amp;nbsp;&amp;nbsp;To do this, create or open a test project, right click the project in Solution Explorer,&amp;nbsp;and then&amp;nbsp;use Add &amp;gt; New Item and locate the SQL Server Unit Test template under the SQL Server node.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;In Visual Studio 2010 there is a streamlined Add &amp;gt; New Test option, although note that &lt;/span&gt;i&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;f you are have either the Premium or Ultimate edition installed,&amp;nbsp;ensure that you&amp;nbsp;use the new&amp;nbsp;SQL Server Unit Test template provided by SSDT and&amp;nbsp;NOT the 'old' Database Unit Test template that was originally installed with Visual Studio 2010 (see below).&amp;nbsp; If you do add a Database Unit Test by mistake then you will need to convert the project as described above before it will build.&amp;nbsp; (To remove temptation you might want to delete or rename the old template&amp;nbsp;in Visual Studio once you have converted all your old-style DB Pro database unit test projects). &lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/3404.Add-New-Test2.png"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/500x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/3404.Add-New-Test2.png" alt="" width="500" height="427" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Configuring&amp;nbsp;the Test Project&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Whichever route you choose to create database unit tests,&amp;nbsp;when you first add a SQL Server unit test to a test project you will be prompted to configure the project for SQL Server unit testing.&amp;nbsp;&amp;nbsp;In the configuration dialog (see below) choose the database you want to&amp;nbsp;test, and, optionally, a SQL Server database project to deploy before&amp;nbsp;your tests are run.&amp;nbsp; The example below uses the&amp;nbsp;default LocalDB debug database created by SSDT for&amp;nbsp;a database project, but&amp;nbsp;you can&amp;nbsp;use any database, or create a new database from this dialog.&amp;nbsp;The ability to specify or create a database during test configuration allows you to test different instances of the same database without disturbing the source project&amp;rsquo;s debug database.&amp;nbsp; If you&amp;nbsp;use&amp;nbsp;a LocalDB&amp;nbsp;database you will have to create a new connection from the configuration dialog, and specify (LocalDB)\Projects as the server name.&amp;nbsp;&amp;nbsp;If you choose to deploy a database project when you run your tests, it will deploy&amp;nbsp;using the connection string you specify in this dialog, with the deployment&amp;nbsp;properties specified&amp;nbsp;in the Debug tab&amp;nbsp;of the database project's Properties page.&amp;nbsp; Note that you can change the test project's configuration at any time from the project's context menu or from the SQL menu with the test project selected.&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6153.TestProjectConfiguration.PNG"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/440x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6153.TestProjectConfiguration.PNG" alt="" width="440" height="479" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Define your T-SQL Test Script&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;With test project configuration done, the &lt;/span&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;database unit test designer will be open on the test you created allowing you to define the test script and set test conditions.&amp;nbsp; If you chose to generate a skeleton test script you will now see that in the upper editor pane (below).&amp;nbsp; You now need to either write you test script or tweak the generated skeleton.&amp;nbsp; Your script should exercise the objects in the database that you wish to test.&amp;nbsp; You can either&amp;nbsp;use THROW&amp;nbsp;or RAISERROR&amp;nbsp;during execution to indicate a test has failed, or evaluate the results using test conditions.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/0363.DBUTDesigner.PNG"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/700x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/0363.DBUTDesigner.PNG" alt="" width="700" height="419" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Defining Test Conditions&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;When your test is executed the test script is submitted to the database and the results are passed back to the test to&amp;nbsp;be evaluated using one or more test conditions.&amp;nbsp; &lt;/span&gt;Once your T-SQL script is ready, you should remove the default Inconclusive test condition from the lower pane (which will always fail), and then add one or more&amp;nbsp;appropriate&amp;nbsp;test conditions from the drop-down list and configure them&amp;nbsp;if required in the properties window (see above).&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;For more information about writing test scripts and&amp;nbsp;using test conditions, including use of setup and cleanup scripts see &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/jj851203(VS.103).aspx"&gt;Creating and Defining SQL Server Unit Tests&lt;/a&gt; in &lt;span style="font-family: arial,helvetica,sans-serif;"&gt;MSDN.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Running the Test&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;At this point you need to build the test project and&amp;nbsp;run your test and examine the results.&amp;nbsp; Before you build the project for&amp;nbsp;the first time you should delete the default VB or C# test class file created by&amp;nbsp;default in every new test project.&amp;nbsp; You can&amp;nbsp;run the test from the Test &amp;gt; Run menu.&amp;nbsp;&amp;nbsp;When you run your tests from this menu the project will build automatically if you have not built it before or have made changes to the tests.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;In Visual Studio 2010&amp;nbsp;you can view all the tests in your test project and run them selectively from the Test &amp;gt; Windows &amp;gt; Test View window, and view the results in the separate Test Results window (see below).&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/1803.TestView.PNG"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/320x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/1803.TestView.PNG" alt="" width="320" height="191" /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/2870.TestResults.PNG"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/610x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/2870.TestResults.PNG" alt="" width="610" height="124" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;In Visual Studio 2012, you&amp;nbsp;can view your tests, run them, and check the results all in one place using the new Test &amp;gt; Windows &amp;gt; Test Explorer window&amp;nbsp;(see below).&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6013.TestExplorer.PNG"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/350x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67/6013.TestExplorer.PNG" alt="" width="350" height="324" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Note that you must build the test project after adding a test for the test to&amp;nbsp;be visible in Test View or Test Explorer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;For more information about using database unit testing see, &lt;span id="nsrTitle"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/jj851200(VS.103).aspx"&gt;Verifying Database Code by Using SQL Server Unit Tests&lt;/a&gt; in MSDN. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Welcome to SQL Server database unit testing in SSDT !&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10375495" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/xz39oBHuw5A" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/ssdt/archive/tags/ssdt/">ssdt</category><category domain="http://blogs.msdn.com/b/ssdt/archive/tags/Database+Unit+Testing/">Database Unit Testing</category><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2012/12/07/getting-started-with-sql-server-database-unit-testing-in-ssdt.aspx</feedburner:origLink></item><item><title>SQL Server Data-Tier Application Framework (November 2012) Available</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/VIc0yojm7CM/sql-server-data-tier-application-framework-november-2012-available.aspx</link><pubDate>Fri, 16 Nov 2012 23:26:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10369415</guid><dc:creator>Adam Mahood [MSFT]</dc:creator><slash:comments>5</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10369415</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10369415</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2012/11/16/sql-server-data-tier-application-framework-november-2012-available.aspx#comments</comments><description>&lt;h3&gt;What’s new?&lt;/h3&gt;  &lt;p&gt;This release of the Data-Tier Application Framework (DACFx) brings fixes for several customer-reported and high-priority issues including:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;SSDT crashes when opening a table that contains specific computed column definitions from SQL Server Object Explorer&lt;/li&gt;    &lt;li&gt;Incorrect parsing errors when using system functions (@@) in specific scripts inside SSDT&lt;/li&gt;    &lt;li&gt;Importing a BACPAC to Windows Azure SQL Database may experience data loss when connection to database is being throttled&lt;/li&gt;    &lt;li&gt;Exporting a Windows Azure SQL Database to a BACPAC file may experience data loss when connection to database is being throttled&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The team thanks you for your feedback in reporting these issues!&lt;/p&gt;  &lt;p&gt;With this release, we’ve also made significant improvements in overall operation performance and stability when targeting Windows Azure SQL Database with DACFx.&lt;/p&gt;  &lt;h3&gt;&lt;strong&gt;How can I get it?&lt;/strong&gt;&lt;/h3&gt;  &lt;p&gt;You can obtain this new version of DACFx and its dependencies from our Microsoft Download Center page &lt;a href="http://go.microsoft.com/fwlink/?LinkID=266427"&gt;here&lt;/a&gt;. This version of DACFx supersedes all previously available versions. This new version of DACFx supports in-place upgrade from previous versions, so it is not required to remove previous DACFx installations before upgrading to this new release.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;(Update 11/19) &lt;/strong&gt;If you are on an x64 machine, you will need to install both the x64 and x86 versions of the MSIs from the DACFx November download page linked above.&amp;#160; &lt;/p&gt;  &lt;h3&gt;Compatibility&lt;/h3&gt;  &lt;p&gt;This release of DACFx&lt;strong&gt; &lt;/strong&gt;is fully compatible with the November 2012 release of&amp;#160; SQL Server Data Tools released on 11/7, available &lt;a href="http://msdn.microsoft.com/en-us/data/hh297027"&gt;here&lt;/a&gt;. This release is also compatible with SSMS of SQL Server 2012 and SQL Server 2012 SP1.&lt;/p&gt;  &lt;p&gt;If you experience any issues or have any feedback, please let us know via the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;forum&lt;/a&gt; or &lt;a href="https://connect.microsoft.com/SQLServer/Feedback"&gt;Connect&lt;/a&gt;. We look forward to hearing from you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10369415" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/VIc0yojm7CM" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2012/11/16/sql-server-data-tier-application-framework-november-2012-available.aspx</feedburner:origLink></item><item><title>SQL Server Data Tools - November 2012 is now available!</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/UsFUQo0BF50/sql-server-data-tools-november-2012-is-now-available.aspx</link><pubDate>Wed, 07 Nov 2012 18:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10366304</guid><dc:creator>Janet Yeilding</dc:creator><slash:comments>18</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10366304</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10366304</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2012/11/07/sql-server-data-tools-november-2012-is-now-available.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are pleased to announce that SSDT - November 2012 update is now available for download.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Get it here&lt;/h2&gt;
&lt;p&gt;SSDT for Visual Studio 2012: &lt;a href="http://msdn.microsoft.com/en-us/jj650015"&gt;http://msdn.microsoft.com/en-us/jj650015&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SSDT for Visual Studio 2010: &lt;a href="http://msdn.microsoft.com/en-us/jj650014"&gt;http://msdn.microsoft.com/en-us/jj650014&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;What's new?&lt;/h2&gt;
&lt;h4&gt;&lt;strong&gt;Selective XML Index support&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;We've added support for &lt;a href="http://msdn.microsoft.com/en-us/library/jj670108.aspx"&gt;selective XML indexes&lt;/a&gt;, enabling users to import, edit, add, refactor, build, and publish selective XML indexes in SSDT.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/3201.clip_5F00_image001_5F00_5E263AA5.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/6837.clip_5F00_image001_5F00_thumb_5F00_21FA6EFD.jpg" alt="clip_image001" width="420" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Add new selective XML index in Table Designer&lt;/em&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Check for SSDT Updates&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This release adds support for automatic and manual checks for SSDT updates.&amp;nbsp; You can view information about your current SSDT installation and verify that it's up to date by selecting "Check for Updates&amp;hellip;" under the top-level SQL menu in Visual Studio.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/5850.clip_5F00_image002_5F00_5DBA07B0.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/8507.clip_5F00_image002_5F00_thumb_5F00_569ACB38.jpg" alt="clip_image002" width="450" height="240" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt;Check for Updates dialog&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This feature also notifies users when a newer version of SSDT is available for download.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/5857.clip_5F00_image003_5F00_68775F05.png"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-67-metablogapi/8585.clip_5F00_image003_5F00_thumb_5F00_0F457546.png" alt="clip_image003" width="300" height="94" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;SSDT update notification&lt;/em&gt;&lt;/p&gt;
&lt;h4&gt;Updated Data-Tier Application Framework (DACFx)&lt;/h4&gt;
&lt;p&gt;SSDT &amp;ndash; November 2012 includes the October DACFx redist (11.1.2816.0). The October DACFx release contains several feature enhancements and bug fixes outlined in this post: &lt;a href="http://blogs.msdn.com/b/ssdt/archive/2012/10/10/sql-server-data-tier-application-framework-october-2012-available.aspx"&gt;http://blogs.msdn.com/b/ssdt/archive/2012/10/10/sql-server-data-tier-application-framework-october-2012-available.aspx&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Updated SQL Server 2012 components&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;SSDT &amp;ndash; November 2012 is coordinated with the release of &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=35575"&gt;SQL Server 2012 Service Pack 1&lt;/a&gt;&amp;nbsp;and it chains in the latest SQL Server components.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Bug fixes&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This release contains over 30 bug fixes, including fixes for customer-reported issues from SSDT - September 2012.&lt;/p&gt;
&lt;h2&gt;Power Tools Compatibility&lt;/h2&gt;
&lt;p&gt;The November 2012 update of SSDT is only compatible with the latest SSDT Power Tools (v 1.4).&amp;nbsp; Please note that if you have an existing version of SSDT Power Tools, it will need to be upgraded in order to work with SSDT &amp;ndash; November 2012. &amp;nbsp;&lt;em&gt;&lt;strong&gt;Edit:&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;span&gt;SSDT Power Tools are no longer available via the links below, but have been integrated into the core SSDT product in the December 2012 release (&lt;/span&gt;&lt;a title="http://blogs.msdn.com/b/ssdt/archive/2012/12/13/available-today-ssdt-december-2012.aspx" href="http://blogs.msdn.com/b/ssdt/archive/2012/12/13/available-today-ssdt-december-2012.aspx"&gt;http://blogs.msdn.com/b/ssdt/archive/2012/12/13/available-today-ssdt-december-2012.aspx&lt;/a&gt;&lt;span&gt;)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/96a2f8cc-0c8b-47dd-93cd-1e8e9f34a917"&gt;SSDT Power Tools for Visual Studio 2012&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/9b0228c6-15d1-44de-9279-66dde12bf861?SRC=Featured"&gt;SSDT Power Tools for Visual Studio 2010&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Contact Us&lt;/h2&gt;
&lt;p&gt;If you have any questions or feedback, please visit our &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;forum&lt;/a&gt; or &lt;a href="https://connect.microsoft.com/SQLServer/Feedback"&gt;Microsoft Connect page&lt;/a&gt;.&amp;nbsp; We look forward to hearing from you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10366304" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/UsFUQo0BF50" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2012/11/07/sql-server-data-tools-november-2012-is-now-available.aspx</feedburner:origLink></item><item><title>SSDT Team at PASS Summit</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/ncxNSl_K5dA/ssdt-team-at-pass.aspx</link><pubDate>Thu, 01 Nov 2012 19:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10364989</guid><dc:creator>Janet Yeilding</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10364989</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10364989</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2012/11/01/ssdt-team-at-pass.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://www.sqlpass.org/summit/2012/"&gt;&lt;span size="2" style="font-size: x-small;"&gt;PASS Summit 2012&lt;/span&gt;&lt;/a&gt;&lt;span size="2" style="font-size: x-small;"&gt; is just around the corner!&amp;nbsp; If you&amp;rsquo;ll be at PASS next week, make sure to sync up with the SSDT team through one of the following avenues.&amp;nbsp; We look forward to seeing you there.&lt;/span&gt;&lt;/p&gt;
&lt;h4&gt;Booth&lt;/h4&gt;
&lt;p&gt;SSDT members will be staffing the &lt;b&gt;Optimization &amp;amp; Programmability &lt;/b&gt;booth in the Exhibit Hall, where we&amp;rsquo;ll be able to discuss SSDT and answer any questions you may have.&lt;/p&gt;
&lt;h4&gt;Breakout Session&lt;/h4&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt; &lt;a href="http://www.sqlpass.org/summit/2012/Sessions/SessionDetails.aspx?sid=3938"&gt;&lt;b&gt;Database Development with SSDT and Visual Studio 2012 &lt;/b&gt;&lt;/a&gt; (AD-321-M)&lt;/p&gt;
&lt;p&gt;Friday, November 9 at 2:45 &amp;ndash; 4:00 PM&lt;/p&gt;
&lt;p&gt;Speakers: Barclay Hill, Adam Mahood, Gert Drapers&lt;/p&gt;
&lt;p&gt;Tired of hand-coding change scripts to develop, deploy, upgrade, and migrate your databases? Come see the next generation of database development tools in Visual Studio 2012. SQL Server Data Tools (SSDT) transforms traditional database development by introducing a declarative, model-based experience that supports both online and offline (project-based) database development. Many of the development features enjoyed by application developers for years are now available to database developers to manage their databases. This session will introduce SSDT and dive into a series of demonstrations on how you can develop, debug, refactor, and maintain SQL Server and SQL Azure databases from within the Visual Studio 2012 integrated environment.&lt;/p&gt;
&lt;h4&gt;Chalk Talks&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;SQL Server 2012 LocalDB: Your New Friend&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Wednesday, November 7&lt;sup&gt;th&lt;/sup&gt; at 1:30 &amp;ndash; 2:00pm in Room RC-4&lt;/p&gt;
&lt;p&gt;Speaker: Gert Drapers&lt;/p&gt;
&lt;p&gt;Need a local database for your application? Want it to have the same programming model as SQL Server? Need it to be under full control of your application? SQL Server 2012 LocalDB will give you all this. Gert will discuss how to embed SQL Server LocalDB underneath your application.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Declarative Database Deployment, Tell me what you want, Not how you want to get there!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Wednesday, November 7&lt;sup&gt;th&lt;/sup&gt; at 3:30 &amp;ndash; 4:00pm in Room 4C-4&lt;/p&gt;
&lt;p&gt;Speaker: Gert Drapers&lt;/p&gt;
&lt;p&gt;Wouldn&amp;rsquo;t be great if you can describe how you want your schema to look like, instead of writing down how to implement it? Declarative database deployment, the underpinning of SQL Server Database Tools &amp;ndash; Database Projects gives you exactly that. Gert will discuss the fundamental behinds DAC and the database deployment engine.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Building &amp;amp; Deploying SSDT projects without Visual Studio&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Thursday, November 8&lt;sup&gt;th&lt;/sup&gt; at 2:30 &amp;ndash; 3:00 in Room 4C-4&lt;/p&gt;
&lt;p&gt;Speakers: Patrick Sirr and Mike Kaufman&lt;/p&gt;
&lt;p&gt;Speakers will give a review of how to use SQL Server Developer Tools (SSDT) projects outside of Visual Studio.&amp;nbsp; Specifically, we&amp;rsquo;ll cover MSBuild integration, TFS integration &amp;amp; integrating deployment tasks into broader commandline and powershell scripts.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Hands on Lab&lt;/h4&gt;
&lt;p&gt;&lt;b&gt;Getting Started with SQL Server Data Tools in SQL Server 2012 (SQL 161)&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Daily in room 304 (3rd floor of TCC )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10364989" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/ncxNSl_K5dA" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2012/11/01/ssdt-team-at-pass.aspx</feedburner:origLink></item><item><title>SQL Server Data-Tier Application Framework (October 2012) Available!</title><link>http://feedproxy.google.com/~r/ssdtblog/~3/smOGymfPG2w/sql-server-data-tier-application-framework-october-2012-available.aspx</link><pubDate>Wed, 10 Oct 2012 18:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10358423</guid><dc:creator>Adam Mahood [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/ssdt/rsscomments.aspx?WeblogPostID=10358423</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/ssdt/commentapi.aspx?WeblogPostID=10358423</wfw:comment><comments>http://blogs.msdn.com/b/ssdt/archive/2012/10/10/sql-server-data-tier-application-framework-october-2012-available.aspx#comments</comments><description>&lt;h3&gt;What&amp;rsquo;s new?&lt;/h3&gt;
&lt;p&gt;This release of the Data-Tier Application Framework (DACFx) brings fixes for issues in earlier releases and several major updates. Many scenarios have been improved including those in other DACFx client tools such as SQL Server Data Tools (SSDT) and SQL Server Management Studio (SSMS). Updates include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Support for Native BCP data format&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Previously the data format used to store table data inside DACPAC and BACPAC packages was JSON &amp;ndash; with this October update, we have moved to Native BCP as the data persistence format.&lt;/li&gt;
&lt;li&gt;This change brings improved SQL Server data type fidelity to DACFx including support for SQL_Variant types as well as enhanced data deployment performance for large scale databases&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;
&lt;h4&gt;&lt;strong&gt;Support for Selective XML Index&lt;/strong&gt;&lt;/h4&gt;
&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;The upcoming release of SQL Server 2012 SP1 will include support for a new T-SQL construct and SQL Server engine feature, Selective XML Index (SXI) &amp;ndash; a new way of indexing XML column data with increased performance and efficiency.&lt;/li&gt;
&lt;li&gt;DACFx now supports SXI indexes across all DAC scenarios and client tools.&lt;/li&gt;
&lt;li&gt;You can try out this new SQL Server feature today by downloading the CTP of SQL Server 2012 SP1 available &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=34700"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;
&lt;h4&gt;&lt;strong&gt;Preservation of Check Constraint state across package creation/deployment&lt;/strong&gt;&lt;/h4&gt;
&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Previously, DACFx did not preserve the state (WITH CHECK/NOCHECK) of check constraints defined on tables in the database schema or store this information inside DACPACs &amp;ndash; this could lead to potential issues on package deployment when there is existing table data that violates check constraints.&lt;/li&gt;
&lt;li&gt;DACFx now stores the current state of check constraints within the DACPAC when extracted from a database and appropriately restores this state upon package deployment.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;
&lt;h4&gt;&lt;strong&gt;Package compatibility&lt;/strong&gt;&lt;/h4&gt;
&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;This release introduces several forward compatibility scenarios for DAC packages.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;All DAC packages created by this release that do not contain SXI elements or table data may be consumed by previous releases of DACFx (SQL Server 2012 RTM, SQL Server 2012 CU1, and DACFx September, 2012).&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Additionally, all DAC packages created by previous versions of DACFx can be consumed by this release.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;h3&gt;How can I get it?&lt;/h3&gt;
&lt;p&gt;You can obtain this new version of DACFx and its dependencies from our Microsoft Download Center page &lt;a href="http://go.microsoft.com/fwlink/?LinkID=266427"&gt;here&lt;/a&gt;. This version of DACFx supersedes all previously available versions. This new version of DACFx supports in-place upgrade from previous versions, so it is not required to remove previous DACFx installations before upgrading to this new release.&lt;/p&gt;
&lt;h3&gt;Compatibility&lt;/h3&gt;
&lt;p&gt;This release of DACFx &lt;strong&gt;is compatible&lt;/strong&gt; with the November 2012 release of&amp;nbsp; SQL Server Data Tools released on 11/7, available &lt;a href="http://msdn.microsoft.com/en-us/data/hh297027"&gt;here&lt;/a&gt;. This release is also compatible with SSMS of SQL Server 2012 and SQL Server 2012 SP1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you experience any issues or have any feedback, please let us know via the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;forum&lt;/a&gt; or &lt;a href="https://connect.microsoft.com/SQLServer/Feedback"&gt;Connect&lt;/a&gt;. We look forward to hearing from you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10358423" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ssdtblog/~4/smOGymfPG2w" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/ssdt/archive/2012/10/10/sql-server-data-tier-application-framework-october-2012-available.aspx</feedburner:origLink></item></channel></rss>
