-
Notifications
You must be signed in to change notification settings - Fork 123
F# interactive logo template is not populated with versions #941
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
Comments
May I get to know if this is going to be addressed? If it is not, it's fine. Then I will work around this issue somehow. But I need to know. P.S. I do not want to present this kind of logo to my app users. Because the app "does not look quite right" from its very start. The app is |
Is it possible for you to send a pull request for this issue? |
To start with, I am not sure which repository to use for the PR, this or upstream. |
Yes, it should go to dotnet/fsharp |
But it does not have this problem. Its both My understanding is it's FCS build issue, not F# code issue. Namely I see that NB And if this is the case, I am not very optimistic about me tweaking the build. |
I am guessing the FSI.EXE built using |
Yes, I believe that will be the issue |
In the upstream and this repo, I cannot find where these variables are set. |
Those values are MSBuild properties set in module internal FSharp.BuildProperties
let fsProductVersion = "<value of msbuild property FSPRODUCTVERSION>"
let fsLanguageVersion = "<value of msbuild property FSLANGUAGEVERSION> With that module in place, the values for the banner version can be set in |
Hi @baronfel
It is not about the fsi sample (which just uses FCS, just like my app). My app uses FCS NuGet package which was already built with these missing variables. It's too late to set anything on building on my side. |
Hey, thanks for the clarification. I got sidetracked on the initial reproduction steps being the fsi sample. Along those lines, I think it might be as simple as explicitly including the |
Yes, adding the line FSharp.Compiler.Service.fsproj
Is this change OK? |
You should submit that change upstream to dotnet/fsharp, and it'll get merged there. Once it does I'll port the change here and release a new point release of the FCS nuget, which you can update to. It will be a good chance to test out the new publish/deploy workflows I just implemented :) |
@baronfel |
) As suggested by @baronfel in this issue discussion: fsharp/fsharp-compiler-docs#941
…419) As suggested by @baronfel in this issue discussion: fsharp#941
I can see it fixed in the just released 36.0.2. |
Thank you for testing so quickly! |
…tnet#9419) As suggested by @baronfel in this issue discussion: fsharp/fsharp-compiler-docs#941
F# interactive logo template is not populated with versions
Repro steps
(1) Build an
fsi.exe
like tool using one of(2) Invoke it to start an interactive session
As a result, it prints its logo with missed versions:
Expected behavior
The logo should contain versions of interactive and F#, just like
dotnet fsi
and Visual Studiofsi.exe
do:Actual behavior
The F# interactive built using FSharp.Compiler.Service logo misses expected versions.
Known workarounds
None
Related information
Presumably, here is the use of template in the source:
https://github.com/fsharp/FSharp.Compiler.Service/blob/e0fbb597584111431b841389b3ca8f700921c227/src/utils/CompilerLocationUtils.fs#L17-L26
The text was updated successfully, but these errors were encountered: