Skip to content

Error MSB6006: "fscAnyCpu.exe" exited with code -1073741571 #16867

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:I’m unable to use this version] [regression] [worked-in:17.8.7]
[error]C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools\Microsoft.FSharp.Targets(331,9): Error MSB6006: “fscAnyCpu.exe” exited with code -1073741571.
Visual Studio 2022 build 17.9.2
Does not happen with build 17.8.7

We have a solution consisting of over 240 projects - most are written in C#, but some (approximately 20) are written in F#.
The automated CI/CD build ran successfully on 20th Feb against Windows image 20240211.1.0, but since then has failed.
It always fails with the above error in 2 of the F# projects (the rest of them are fine, except where they depend on the 2 failed projects).
It fails when I re-run the last successful build.
There have been no changes to the source code, build pipelines or scripts.

I also tried with a hosted agent where the local computer is running VS 2022 Pro build 17.9.2 - same error.

I am able to build the solution on my local computer running VS 2022 Pro build 17.8.7, but not with the automated CI/CD pipelines.

We are now unable to create product releases for our Cloud-based solution and deploy any fixes or changes.


Original Comments

Feedback Bot on 3/8/2024, 04:16 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions