Skip to content
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: build fails when SDK 3.0.100 is installed (#3967) #3968

Merged
merged 2 commits into from
Oct 8, 2019
Merged

fix: build fails when SDK 3.0.100 is installed (#3967) #3968

merged 2 commits into from
Oct 8, 2019

Conversation

aloker
Copy link
Contributor

@aloker aloker commented Oct 8, 2019

Disables the --no-build flag when packing NuGet packages of F# projects as that causes build errors when .net core SDK 3.0.100 is installed.

refs #3967

@@ -451,7 +451,7 @@ Target "CreateMntrNuget" (fun _ ->
{ p with
Project = project
Configuration = configuration
AdditionalArgs = ["--include-symbols"]
AdditionalArgs = ["--include-symbols"] @ if System.IO.Path.GetExtension(project) = ".fsproj" then [] else ["--no-build"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm no F# master, so if there's a more elegant way, let me know.

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