Coolthing Of Theday

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 22 May 2013

SQL Server Database Project SqlBuildTask failing after installing SSMS 2012 SP1? Here's how to fix it (Update your SSDT)

Posted on 17:00 by Unknown

Michael Mairegger's Blog - Error 04018: The “SqlBuildTask” task failed unexpectedly

I intend to use a SQL Server Database Project in my Visual Studio Solution to manage the database. This is a very nice feature and you should try it. Nevertheless, after upgrading the SQL Server Management Studio 2012 to SP1 I was not able to build the SQL Server Database Project anymore. I always got the following error message:

Error 2 04018: The “SqlBuildTask” task failed unexpectedly. System.MissingMethodException: Method not found: ‘Void Microsoft.Data.Tools.Schema.SchemaModel.DataSchemaModel.Serialize(System.IO.TextWriter, System.Collections.Generic.IEnumerable`1<System.Type>)’. ...

After a few attempts, I found the solution. I just downloaded and installed the new version of SQL Server Data Tools and the exception has disappeared.

..."

Microsoft SQL Server Data Tools

Download SQL Server Data Tools - December 2012

The SSDT - December 2012 update contains several improvements::

  • Database Unit Testing
  • Integration of SSDT Power Tools
  • Updated Data-Tier Application Framework
  • Bug fixes to customer-reported issues

This release is available for both Visual Studio 2012 and Visual Studio 2010:

Download SSDT for Visual Studio 2012

..."

SQL Server Data Tools - December 2012 update (Visual Studio 2012)

  • If you already have the Professional, Ultimate, or Premium Edition of Visual Studio 2012 and didn't opt out of installing SQL Server Data Tools during setup, then your machine has an existing installation of SSDT. Installing the SSDT - December 2012 update will replace these SSDT bits with a newer version.
  • If you do not have Visual Studio 2012 Professional Edition or above, SSDT will install the Visual Studio 2012 Integrated Shell and install SSDT - December 2012 on top of it. The Integrated Shell will only contain SSDT, and does not include VS programming languages and the features that support their respective project systems. The database functionality of Express SKUs of Visual Studio 2012 will also be updated when SSDT - December 2012 is installed.

Supported Operating Systems

  • Windows 7 SP1 (x86 and x64)
  • Windows 8 (x86 and x64)
  • Windows Server 2008 R2 SP1 (x64)
  • Windows Server 2012 (x64)

Download and Install SQL Server Data Tools

  • Download SQL Server Data Tools for Visual Studio 2012

..."

I just ran into this and Michael's post saved me hours of "what the heck" and hair pulling, so I wanted to highlight it and give him a huge shout-out. Also I wanted to cache it here because I know I'm going to need this again...

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in SQLServer, VisualStudio | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Mr. 7,000! This is my 7,000th post...
    Before this post; After; 20 visits between taking these snaps? Oh wait, that's probably me searching for past related posts....
  • "Windows Server Essentials Media Pack" (DNLA Stream, HTML5 and Dashboard Media stuff)
    Microsoft Downloads - Windows Server Essentials Media Pack This pack enables the media streaming functionality for Windows Server 2012...
  • Rad Gate Post... Get your Red Gate Post here...
    simple talk - Melanie Townsend - Get a copy of the Red Gate Post We recently put together a newspaper of some of the best articles fr...
  • Windows Management Framework 4.0 (PowerShell 4, PowerShell ISE, Management OData, WMI, etc.) now available
    Keith Hill's Blog - PowerShell 4.0 Now Available You can get PowerShell 4.0 for down level operating systems now via the WMF 4.0 d...
  • Viasfora - Your new favorite Visual Studio Text/*ML Editing Extension?
    Winterdom - Introducing Viasfora A couple of days ago, I unveiled Viasfora , my latest attempt at building a decently packaged extensi...
  • "Windows Server [2012 R2]: The Best Infrastructure to Run Linux Workloads"
    In the Cloud - What’s New in 2012 R2: Enabling Open Source Software Part 4 of a 9-part series . ... There are a lot of great s...
  • [Hardware Review] Life with Haswell... Haswell/Harris Beach Intel SDS Ultrabook Review - Part 2
    "So Greg, how's life with Haswell been?" "Pretty Sweet! (Mostly)" I've been given an opportunity to review t...
  • Fuzzy Lookup Add-In for Excel (Insert lame "Fuzzy, wuzzy was an Excel..." snip here)
    Microsoft Downloads - Fuzzy Lookup Add-In for Excel The Fuzzy Lookup Add-In for Excel performs fuzzy matching of textual data in Exce...
  • Caliburn.Micro v1.5.0 released (CM gets Tasks, Async/Await and Share/Setting for RT... and bug fixes of course)
    Caliburn.Micro - Caliburn.Micro v1.5.0 "Release Notes This release fixes many bugs. It also adds support for Task and async/a...
  • Just about everything you ever wanted to know about SQL Server Date and Time Data Types...
    CodeProject - Date and Time Data Types and Functions - SQL Server (2000, 2005, 2008, 2008 R2, 2012) Introduction It would be bette...

Categories

  • .Net
  • 3DPrinting
  • AFeedYouShouldRead
  • Agile
  • ALM
  • Amazon
  • Amiga
  • Analytics
  • Android
  • ASP.NET
  • Azure
  • BigData
  • bing
  • Blogging
  • Book
  • BookReview
  • BUILD
  • C
  • C#
  • C++
  • Career
  • Cat
  • cheatsheet
  • ClickOnce
  • Cloud
  • ComputerHardware
  • css
  • Data
  • DBA
  • DependencyInjection
  • Deployment
  • Design
  • Development
  • devops
  • DVCS
  • ebook
  • EDD
  • Education
  • EnterpriseLibrary
  • EntityFramework
  • Exchange
  • Expression
  • gadget
  • Game
  • GIT
  • Google
  • Government
  • Hadoop
  • hardware
  • HardwareReview
  • HaswellReview
  • HTML5
  • Humor
  • IE
  • IEExtension
  • IfAllElseFails
  • IIS
  • ILMerge
  • Image
  • Infographic
  • interview
  • InversionOfControl
  • Java
  • Javascript
  • Kinect
  • LightSwitch
  • LINQ
  • Linux
  • LosAngeles
  • Lucene
  • Lync
  • MEF
  • Metro
  • MicrosoftOffice
  • MicrosoftOutlook
  • Mono
  • MVC
  • MVVM
  • NetMon
  • NLP
  • NoSQL
  • NuGet
  • OData
  • OneNote
  • OpenXML
  • Paint.Net
  • Personal
  • Photosynth
  • Physics
  • portable
  • Poster
  • PowerShell
  • Preparedness
  • Presentation
  • Prism
  • PrivateCloud
  • RegEx
  • RemoteDesktop
  • Reporting
  • RIAServices
  • Science
  • ScienceFiction
  • Scratch
  • Scrum
  • ServiceBus
  • SharePoint
  • Silverlight
  • SimiValley
  • SPA
  • Space
  • SQLServer
  • Storyboard
  • Surface
  • SVG
  • SystemAdministration
  • T4
  • TeamBuild
  • TeamFoundationServer
  • TechEd
  • Training
  • TypeScript
  • UnitTesting
  • UnityApplicationBlock
  • Utility
  • Veteran
  • VirtualMachine
  • Visio
  • VisualBasic
  • VisualStudio
  • WCF
  • Web X.X
  • Webcast
  • WebFeed
  • WebMatrix
  • Windows
  • Windows7
  • Windows8
  • Windows8.1
  • WindowsHomeServer
  • WindowsLiveWriter
  • WindowsPhone
  • WindowsServer
  • WinRT
  • WiX
  • WMI
  • WOPI
  • WPF
  • XAML
  • XBox360
  • XboxOne
  • zombie

Blog Archive

  • ▼  2013 (500)
    • ►  December (12)
    • ►  November (61)
    • ►  October (65)
    • ►  September (38)
    • ►  August (47)
    • ►  July (75)
    • ►  June (39)
    • ▼  May (40)
      • Brian (and Infragistics) is having a theme give-aw...
      • MarraLAB for Visual Studio, your new DDE (Debuggin...
      • TechEd Reveal - Looks like BizTalk ain't dead yet....
      • From A to W... The US Gov goes Git (and API crazy ...
      • Windows 8.1 Pre-beta WinRT API Spelunking (Think, ...
      • Edward Farley and the Fantastic Library - A 12 par...
      • SQL Server Database Project SqlBuildTask failing a...
      • Your plate will never be full with all the great G...
      • Go long and thanks for the 1's, 2's and 3's... Lot...
      • Many events, lots of devices, one you and your new...
      • Extended WPF Toolkit gets all v2.0 and now include...
      • Cool Kid Training from Pluralsight, that's free to...
      • Visual Studio ALM Ranger Solutions Catalog - All A...
      • Just the SSMS Mama, just the SSMS... (Getting just...
      • "The database is slow!" Here's a SQL Server Perfor...
      • A little heritage of the BSOD
      • "Hello dotPeek plugin" Creating a dotPeek plugin i...
      • Okay, Okra! Windows Store Templates that make MVVM...
      • GBoD [Geo-distributed Bunch of Data centers] or "U...
      • More on Mission Control (Coding4Fun Style) "A Flex...
      • Because every IDE needs a fart-app, right? Farticu...
      • The NSA Untangles the Web - 651 Pages of NSA Web S...
      • Who needs an App Store when we now have a DevStore...
      • Mission Control to Major...C4F - Coding4Fun Missio...
      • And Data for All... President Obama signs Executi...
      • C#'ing Objective C with Xamarin's new Objective Sh...
      • More Metro... Syncfusion Metro Studio 2 released. ...
      • Visualizing TFS Source History now with more source
      • Go can be more than just a GO (in the T-SQL world ...
      • Prep'ing your Pets, National Animal Disaster Prepa...
      • Sometimes you just need a donut [chart]... Free Mo...
      • And it does Windows too... Using Process Monitor t...
      • Free'ish [reg-ware] Windows 8 QRC (Quick Reference...
      • TFS Web Licensing for Greg's (i.e. dumm... well yo...
      • PII Problems in the Public Enron Data Set (aka "In...
      • WebMatix Gets Azure, Version Control Support, Remo...
      • So long and thanks for all the ghosting... Ghost i...
      • 13 Modules, six weeks, 2 exam preps and a whole lo...
      • Git 101 - Beginners guide to groking [command line...
      • Surface Pro Driver Pack now available
    • ►  April (42)
    • ►  March (39)
    • ►  February (42)
Powered by Blogger.

About Me

Unknown
View my complete profile