-
Notifications
You must be signed in to change notification settings - Fork 844
Fix nuget and ref assemblies #8252
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
Conversation
cartermp
left a comment
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.
I can't say I understand the MSBuild target that's written in there, but I understand the test and it is a good one.
| <IsPackable>false</IsPackable> | ||
| <!-- Temporary fix some sdks, shipped internally with broken parameterization --> | ||
| <FSharpCoreImplicitPackageVersion Condition=""'$(FSharpCoreImplicitPackageVersion)' == '{{FSharpCoreShippedPackageVersion}}'"">4.7.0</FSharpCoreImplicitPackageVersion> |
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.
This isn't going to do what you think. At this point you're inside a string in a .fs file; you need to have already computed the variable expansion {{FSharpCoreShippedPackageVersion}}.
* Fix nuget and ref assemblies * Packaging fixes * tweaks * use substring rather than remove * Removed unused md * -1 means not found
This PR contains some black belt Msbuild Fu that fixes both. As well as a test case.