Skip to content

Sync from Azure DevOps: release/dev17.13 #18740

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

Open
wants to merge 23 commits into
base: release/dev17.13
Choose a base branch
from

Conversation

T-Gro
Copy link
Member

@T-Gro T-Gro commented Jul 9, 2025

This PR syncs commits from the internal Azure DevOps mirror for branch 'release/dev17.13'. Please review and merge.

KevinRansom and others added 21 commits March 25, 2025 20:15
Update nuget handling in fsi

----
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request updates the handling of NuGet packages in FSI, adding new features and improving existing functionality.
- `vsintegration/src/FSharp.Editor/Common/Extensions.fs`: Added `TextViewEventsHandler` and methods to handle text view events and caret position.
- `vsintegration/src/FSharp.Editor/LanguageService/FSharpProjectOptionsManager.fs`: Enhanced project options management with event subscriptions for caret and focus changes.
- `src/Compiler/Driver/ScriptClosure.fs`: Improved package manager handling with editor cursor awareness.
- `src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.fs`: Added support for `usepackagetargets` option in NuGet package references.
- `tests/FSharp.Compiler.Private.Scripting.UnitTests/FSharpScriptTests.fs`: Added tests for `usepackagetargets` option in script evaluation.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
remove the need for loc strings

----
#### AI description  (iteration 1)
#### PR Classification
Code cleanup

#### PR Summary
This pull request cleans up localization files and refines error handling for boolean values.
- Removed `invalidBooleanValue` translations from multiple `.xlf` files.
- Updated error message for invalid boolean values in `FSharp.DependencyManager.fs`.
- Adjusted unit tests in `FSharpScriptTests.fs` to reflect the new error message format.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
…es. -release/dev17.13

#### AI description  (iteration 1)
#### PR Classification
Bug fix to prevent unnecessary package downloads.

#### PR Summary
This pull request addresses issue #18231 by fixing the logic that downloads unneeded packages in the NuGet dependency manager.
- `FSharpProjectOptionsManager.fs`: Refactored to correctly handle text view and caret position retrieval.
- `ScriptClosure.fs`: Simplified filtering of package manager lines.
- `FSharp.DependencyManager.fs`: Streamlined error message handling for `usepackagetargets`.
- `FSharpScriptTests.fs`: Adjusted test assertions to normalize error messages across different frameworks.
- `Extensions.fs`: Fixed the parameter for `GetActiveView` to ensure correct view retrieval.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
#### AI description  (iteration 1)
#### PR Classification
Compatibility update to ensure source build functionality with internal MSBuild version 17.13.

#### PR Summary
This pull request updates the build scripts and configuration files to maintain compatibility with internal MSBuild 17.13, ensuring smooth source build processes.
- `eng/build.sh`: Added no-operation implementations for runtime arguments to support internal builds.
- `eng/SourceBuildPrebuiltBaseline.xml`: Updated usage patterns to include new dependencies for MSBuild 17.13.
- `azure-pipelines.yml`: Enabled internal source build parameters to facilitate source build processes.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Copy link
Contributor

github-actions bot commented Jul 9, 2025

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@T-Gro T-Gro added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Jul 9, 2025
@T-Gro
Copy link
Member Author

T-Gro commented Jul 11, 2025

/run fantomas

Copy link
Contributor

🔧 CLI Command Report

  • Command: /run fantomas
  • Outcome: success

✅ Patch applied:
- Files changed: 1
- Lines changed: 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes
Projects
Status: New
Development

Successfully merging this pull request may close these issues.

5 participants