Skip to content

Conversation

@wallymathieu
Copy link
Contributor

@wallymathieu wallymathieu commented Dec 21, 2025

Description

This fix is only to be able to build on Mac OS X. Intention is to see if the build scripts are green in Ubuntu and Windows.

NO_RELEASE_NOTES


<Target Name="NoneSubstituteTextFiles"
Inputs="@(NoneSubstituteText)"
Outputs="@(NoneSubstituteText->'$(IntermediateOutputPath)%(Filename)%(Extension)')"
Copy link
Member

Choose a reason for hiding this comment

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

What was the issue on MacOS please?
I am not sure this target is tested much, it can pass the CI while still doing the wrong thing...

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 got Could not copy the file

For instance:

dotnet build src/fsc/fscArm64Project 
Restore complete (0.6s)
  FSharp.Core netstandard2.0 succeeded (0.1s) → artifacts/bin/FSharp.Core/Debug/netstandard2.0/FSharp.Core.dll
  FSharp.DependencyManager.Nuget netstandard2.0 succeeded (0.1s) → artifacts/bin/FSharp.DependencyManager.Nuget/Debug/netstandard2.0/FSharp.DependencyManager.Nuget.dll
  FSharp.Compiler.Service netstandard2.0 succeeded (0.1s) → artifacts/bin/FSharp.Compiler.Service/Debug/netstandard2.0/FSharp.Compiler.Service.dll
  FSharp.Build netstandard2.0 failed with 1 error(s) (2.1s)
    /usr/local/share/dotnet/sdk/10.0.100/Microsoft.Common.CurrentVersion.targets(5381,5): error MSB3030: Could not copy the file "/Users/mathieu/src/fs/fsharp/artifacts/obj/FSharp.Build/Debug/netstandard2.0/PreRelease/Microsoft.FSharp.Core.NetSdk.props" because it was not found.

I'm trying with dotnet 10.0.101. Seems like I do not get the above error when using that version 😕, so there is that. I'm closing this PR since it seems that it is not needed anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants