LogoLogo
ReleasesHomepageBlogSlack
3.0
3.0
  • Welcome
  • Concept
  • SQLWATCH Database
    • Requirements
      • Permissions
      • Performance Overhead
      • Storage Utilisation
    • Installation
      • Install with dbatools
      • Install with SqlPackage
      • Install with SSMS
      • Deploy from source code
      • Optional Components
      • Upgrade
      • Removal
      • Downgrade
    • Configuration
    • Known Issues
      • Collation conflict
      • Database drift
      • Login failed error when running disk logger
      • Deadlock when creating database
    • Notifications
      • Checks
      • Actions
      • Reports
      • How To
        • Add or modify check
        • Add or modify action
        • Add or modify report
      • Process Flow
    • Large Environments
  • Central Repository
    • Requirements
      • Performance overhead on the remote instance
      • Permissions
    • Installation
      • Removal
      • Upgrade
    • Configuration
    • Known Issues
  • Power BI Dashboard
    • Requirements
      • Permissions
    • Installation
    • Configuration
    • Known Issues
      • Power BI Load Errors
    • Performance
  • Grafana Dashboard
    • Requirements
    • Installation
    • Configuration
  • Azure Log Analytics Dashboard
    • Concept
    • Requirements
    • Installation
    • Configuration
  • Design Decision
    • Relations
    • Trend Tables
    • Data Types
      • Real Type
    • Primary Keys
    • Data Compression
    • Configuration Items
    • Using Apply instead of Join
  • Reference
    • Data-Tier Application Package
  • Integrations
    • Send notifications to Slack and Teams
    • dbachecks
  • FAQ
    • How do I check if SQLWATCH is running OK?
    • I am not seeing any data in Power BI
    • Can I modify default checks?
    • The app_log is growing fast
Powered by GitBook
On this page
  • Introduction
  • Prerequisites
  • Installation

Was this helpful?

  1. SQLWATCH Database
  2. Installation

Deploy from source code

PreviousInstall with SSMSNextOptional Components

Last updated 5 years ago

Was this helpful?

Introduction

SQLWATCH is developed in Visual Studio Community. You can obtain a free copy of the Community edition on . You can also use Visual Studio Standard or Professional.

Prerequisites

  1. Visual Studio with SQL Server Data Tools (SSDT) installed.

Installation

Download source code from GitHub. If you are planning on contributing to the project or making changes you will have to clone (or fork) the latest master or development branch. You can also download a source code attached to a release which will contain snapshot of the master branch at the time of build.

To deploy from Visual Studio follow the below steps:

Open solution in Visual Studio and go to Build in the main menu and select Publish SQLWATCH:

Next, set connection to your SQL Server where you would like to deploy it:

Make sure you tick “Register as a Data-tier Application” in the Publish Database Options. This will make an entry in the msdb.dbo.sysdac_instances which will allow you to see which version is installed.

select * from msdb.dbo.sysdac_instances where database_name = 'SQLWATCH'

You can track progress in the Output pane:

Microsoft website
LogoVisual Studio Express | Now Visual Studio CommunityVisual Studio
LogoDownload SQL Server Data Tools (SSDT) - SQL Server Data Tools (SSDT)docsmsft
Visual Studio build project
Visual Studio deployment parameters
Visual Studio deployment progress