You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-notes/.FSharp.Compiler.Service/11.0.100.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
### Fixed
2
2
3
+
* Restore packaging of an F# design-time type provider that is activated via a `ProjectReference` carrying `IsFSharpDesignTimeProvider="true"`. The provider assembly is again included under `fsharp41` when packing (including `pack --no-build`); `PackageFSharpDesignTimeTools` now resolves the provider via `GetTargetPath`, which works in `dotnet pack`'s `BuildProjectReferences=false` content build without forcing an early `ResolveReferences`. ([Issue #18924](https://github.com/dotnet/fsharp/issues/18924), [PR #19979](https://github.com/dotnet/fsharp/pull/19979))
3
4
* Tooltip "Full name" now shows demangled companion module names (e.g. `MyType.func` instead of `MyTypeModule.func`). ([Issue #17335](https://github.com/dotnet/fsharp/issues/17335), [PR #19867](https://github.com/dotnet/fsharp/pull/19867))
4
5
* Fix internal error (FS0193) when calling an indexed property setter with a named argument that matches an indexer parameter. ([Issue #16034](https://github.com/dotnet/fsharp/issues/16034), [PR #19851](https://github.com/dotnet/fsharp/pull/19851))
5
6
* Fix missing FS1182 ("unused binding") warning for unused `let` function bindings inside class types. ([Issue #13849](https://github.com/dotnet/fsharp/issues/13849), [PR #19805](https://github.com/dotnet/fsharp/pull/19805))
@@ -87,12 +83,29 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
87
83
<ErrorText="'$(FSharpToolsDirectory)' is an invalid value for 'FSharpToolsDirectory' valid values are 'typeproviders' and 'tools'."Condition="'$(FSharpToolsDirectory)' != 'typeproviders' and '$(FSharpToolsDirectory)' != 'tools'" />
88
84
<ErrorText="The 'FSharpDesignTimeProtocol' property can be only 'fsharp41'"Condition="'$(FSharpDesignTimeProtocol)' != 'fsharp41'" />
89
85
86
+
<!--
87
+
Resolve the output path of each design-time provider ProjectReference via GetTargetPath.
88
+
'dotnet pack' collects per-tfm package content in an inner build with BuildProjectReferences=false,
89
+
where @(_ResolvedProjectReferencePaths) is empty - which is why relying on it (or on AfterTargets=
90
+
ResolveReferences alone) failed to package the provider for the ProjectReference activation gesture.
91
+
GetTargetPath only reads the reference's already-built target path: it does not build the reference
92
+
(safe when packing with the no-build option, no NETSDK1085) and does not force an early
93
+
ResolveReferences (no app.config / binding-redirect disturbance). TargetFramework is removed so the
94
+
provider resolves against its own target framework rather than being cross-compiled to the consumer's.
0 commit comments