Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code analysis with external libraries not working in VS SDK style project #532

Open
ErikEJ opened this issue Nov 26, 2024 · 0 comments
Open
Labels
area: build sdk Related to Microsoft.Build.Sql SDK bug Something isn't working

Comments

@ErikEJ
Copy link
Contributor

ErikEJ commented Nov 26, 2024

  • SqlPackage or DacFx Version: 162.4 (?)
  • .NET Framework (Windows-only) or .NET Core:
  • Environment (local platform and source/target platforms): VS with SDK style

Steps to Reproduce:

Using this (but maybe my expectations are too high?)

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build">
  <Sdk Name="Microsoft.Build.Sql" Version="0.2.5-preview" />
  <PropertyGroup>
    <Name>Database1</Name>
    <DSP>Microsoft.Data.Tools.Schema.Sql.Sql160DatabaseSchemaProvider</DSP>
    <ModelCollation>1033, CI</ModelCollation>
    <RootNamespace>Database1</RootNamespace>
    <AssemblyName>Database1</AssemblyName>
	<RunSqlCodeAnalysis>true</RunSqlCodeAnalysis>
  </PropertyGroup>

   <ItemGroup>
    <PackageReference Include="ErikEJ.DacFX.SqlServer.Rules" Version="1.1.1" />
    <PackageReference Include="ErikEJ.DacFX.TSQLSmellSCA" Version="1.1.1" />
  </ItemGroup>
</Project>
@ErikEJ ErikEJ added the bug Something isn't working label Nov 26, 2024
@dzsquared dzsquared added the area: build sdk Related to Microsoft.Build.Sql SDK label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build sdk Related to Microsoft.Build.Sql SDK bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants