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

Warning from analyzer "loader" #503

Open
ErikEJ opened this issue Oct 3, 2024 · 0 comments
Open

Warning from analyzer "loader" #503

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

Comments

@ErikEJ
Copy link
Contributor

ErikEJ commented Oct 3, 2024

  • SqlPackage or DacFx Version: 162.4.92
  • .NET Framework (Windows-only) or .NET Core:
  • Environment (local platform and source/target platforms):

Steps to Reproduce:

  1. Build this project:
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build">
  <Sdk Name="Microsoft.Build.Sql" Version="0.2.3-preview" />
  <PropertyGroup>
    <Name>TestCA</Name>
    <ProjectGuid>{F6384BD0-0462-45C9-90FF-80BF08AB39CA}</ProjectGuid>
    <DSP>Microsoft.Data.Tools.Schema.Sql.Sql160DatabaseSchemaProvider</DSP>
    <ModelCollation>1033, CI</ModelCollation>
    <RunSqlCodeAnalysis>true</RunSqlCodeAnalysis>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="ErikEJ.DacFX.SqlServer.Rules" Version="1.1.0" />
  </ItemGroup>
</Project>

stdout: C:\Users\user\.nuget\packages\microsoft.build.sql\0.2.3-preview\tools\netstandard2.1\Microsoft.Data.Tools.Schema.SqlTasks.targets(1338,7): StaticCodeAnalysis warning : Path [C:\Users\user\.nuget\packages\erikej.dacfx.sqlserver.rules\1.1.0\analyzers\dotnet\cs\SqlServer.Dac.dll] is not a valid directory or assembly.

SqlServer.Dac.dll is a "helper" .dll neeeded by SqlServer.Rules.dll

Did this occur in prior versions? If not - which version(s) did it work in? N/A (new feature)

@ErikEJ ErikEJ added the bug Something isn't working label Oct 3, 2024
@zijchen zijchen added the area: build sdk Related to Microsoft.Build.Sql SDK label Oct 7, 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