Skip to content

Configure Functions Worker SDK as analyzer-only dependency - #79

Open
David Burg (daviburg) wants to merge 1 commit into
mainfrom
fix/functions-worker-sdk-analyzer
Open

David Burg (daviburg) wants to merge 1 commit into
mainfrom
fix/functions-worker-sdk-analyzer

Conversation

@daviburg

Copy link
Copy Markdown
Member

Summary

Configure Microsoft.Azure.Functions.Worker.Sdk as an analyzer-only build dependency by adding OutputItemType="Analyzer" and PrivateAssets="all".

This follows up on the Copilot review finding from #75 without changing that dependency-maintenance PR. It replaces #76 because GitHub created that PR as part of an immutable stack and would not allow its base branch to be changed to main through either GraphQL or REST.

Validation

  • dotnet test Connectors-NET-Samples.sln --configuration Release --no-restore succeeded on the original fix branch (79 tests passed, 0 build errors)
  • Cached-assets compilation succeeds on this clean branch
  • MSBuild evaluation confirms OutputItemType=Analyzer and PrivateAssets=all
  • git diff --check passes

A fresh local restore is currently blocked by a TLS handshake failure reaching https://api.nuget.org/v3/index.json; GitHub CI provides the authoritative clean restore and test validation.

Related review: #75 (comment)
Supersedes: #76

Co-authored-by: Dobby <dobby@microsoft.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues remain.

Pull request overview

Configures the Azure Functions Worker SDK as an analyzer-only build dependency.

Changes:

  • Adds OutputItemType="Analyzer" and PrivateAssets="all".
File summaries
File Description
DirectConnector/DirectConnector.csproj Updates Worker SDK dependency metadata.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants