Skip to content

Conversation

@marcin-krystianc
Copy link
Contributor

This is a step toward resolving the #13223.

It adds new parameters to the FSC task to match Roslyn's CSC task (See OutputRefAssembly and RefOnly).

I've tested manually that after this change, it is possible to use <ProduceReferenceAssembly>true</ProduceReferenceAssembly> in a project to generate reference assembly. Note that until #13216 is resolved, build optimization based on ref assemblies will not yet work.

@KevinRansom
Copy link
Contributor

You can mark it as ready if you like.

@KevinRansom KevinRansom marked this pull request as ready for review June 9, 2022 00:05
@marcin-krystianc
Copy link
Contributor Author

@KevinRansom Thanks for the review, feel free to merge.

@KevinRansom KevinRansom merged commit b9530ae into dotnet:main Jun 9, 2022
@marcin-krystianc marcin-krystianc deleted the dev-marcink-20220608-refassemblies branch June 10, 2022 07:28
marcin-krystianc added a commit to marcin-krystianc/sdk that referenced this pull request Jul 1, 2022
Generation of reference assemblies for F# was disabled previously (dotnet#13085) because the F# compiler didn't support them.
Now both, the F# compiler (dotnet/fsharp#12334) and the FCS task (dotnet/fsharp#13263) support reference assemblies. Also, the bug around the copying of F# ref assemblies was fixed (dotnet/fsharp#13266) so it is time to enable the generation of ref assemblies for F#.
marcin-krystianc pushed a commit to marcin-krystianc/sdk that referenced this pull request Jul 1, 2022
Generation of reference assemblies for F# was disabled previously (dotnet#13085) because the F# compiler didn't support them.
Now both, the F# compiler (dotnet/fsharp#12334) and the FCS task (dotnet/fsharp#13263) support reference assemblies. Also, the bug around the copying of F# ref assemblies was fixed (dotnet/fsharp#13266) so it is time to enable the generation of ref assemblies for F#.
marcin-krystianc added a commit to marcin-krystianc/sdk that referenced this pull request Jul 1, 2022
Generation of reference assemblies for F# was disabled previously (dotnet#13085) because the F# compiler didn't support them.
Now both, the F# compiler (dotnet/fsharp#12334) and the FCS task (dotnet/fsharp#13263) support reference assemblies. Also, the bug around the copying of F# ref assemblies was fixed (dotnet/fsharp#13266) so it is time to enable the generation of ref assemblies for F#.s
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