-
Notifications
You must be signed in to change notification settings - Fork 234
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
Fix failing F# build and #1403 #1404
Conversation
Thanks a lot for this! I made some changes to have a different error from non-linear patterns, and now the example in #1403 fails like this:
I'll merge this after running regression tests. Thanks again. |
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
<HintPath>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll</HintPath> | ||
<Reference Include="FSharp.Core"> | ||
<HintPath>..\VS\packages\FSharp.Core.4.2.3/lib/net45/FSharp.Core.dll</HintPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With @aseemr, we're looking at this change. It breaks the F# build for us on VS 2015.
Can you explain the rationale behind this change?
Thanks!
-Nik
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tahina-pro had looked a long while ago into making F* build with VS2017 and VS2015 at the same time ... I seem to remember he got familiar with these assemblies details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I remember, changes I made on *.fsproj files in commit 4cc0e8b work in both VS2015 and VS2017.
Not sure what has changed since.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When trying to build with F# 4.1 using msbuild (also reproduced with rider 2017.3) I was getting errors resulting from FSharp.Core being resolved to 4.4.0.0, as in #1358.
I don't have VS, so I'm not able to test this in order to make it work with VS2015, VS2017, and F# 4.1. Perhaps these changes should be reverted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch, sorry to have merged this without checking the F# build... I'm trying to get my F# setup working again so I can test this. There's some more info in #1395.
@nikswamy We are all migrating to VS2017, so can the reverted .fsproj file changes be reconsidered now? |
yes |
Note, I believe there was a related change to app.config by @aseemr that should probably also be reverted. |
Okay, I'll try to reapply/re-revert these changes to my |
This reverts commit a7cf115.
No description provided.