visual-studiostatic-code-analysissqlproj

Visual Studio Db project with custom static code analyzer


I've troubles with adding some sample code analyzer into a db project.
I followed this guide: https://msdn.microsoft.com/en-us/library/dn632175(v=vs.103).aspx , but custom analyzer hadn't added.

What I was missing?

P.S. I'm using VS 2015 Enterprise with SSDT 2016


Solution

  • If you are certain all is good from your side, it's probably due to the dll being in the wrong folder. When I hit this issue I find it easiest to run with logging and place the dll where ssdt is looking to rather than trial and error placing in random folders ☺

    Kevin Cunnane has described the procedure in the comments on this page

    https://blogs.msdn.microsoft.com/ssdt/2016/06/30/sql-server-data-tools-july-update-2/