Skip to content

Remove Dead System.Security reference from StorageSync.csproj#29503

Merged
YanaXu merged 1 commit into
mainfrom
isra-fel-patch-5
May 6, 2026
Merged

Remove Dead System.Security reference from StorageSync.csproj#29503
YanaXu merged 1 commit into
mainfrom
isra-fel-patch-5

Conversation

@isra-fel
Copy link
Copy Markdown
Member

@isra-fel isra-fel commented May 5, 2026

Description

Removed reference to System.Security from project file that's causing this warning duiring build

  StorageSync netstandard2.0 succeeded with 1 warning(s) (5.5s) → artifacts/Debug/Az.StorageSync/Microsoft.Azure.PowerShell.Cmdlets.StorageSync.dll
    /usr/local/share/dotnet/sdk/10.0.100/Microsoft.Common.CurrentVersion.targets(2437,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Security". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings May 5, 2026 05:30
@azure-client-tools-bot-prd
Copy link
Copy Markdown

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes an explicit System.Security assembly reference from the StorageSync project file to eliminate MSBuild reference-resolution warnings during builds (notably on newer .NET SDKs where that assembly isn’t resolvable as a standalone reference for netstandard2.0 projects).

Changes:

  • Removed <Reference Include="System.Security" /> from src/StorageSync/StorageSync/StorageSync.csproj to prevent MSB3245 “Could not resolve this reference” warnings.

@YanaXu YanaXu merged commit 41dba5b into main May 6, 2026
16 checks passed
@YanaXu YanaXu deleted the isra-fel-patch-5 branch May 6, 2026 06:43
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.

3 participants