Skip to content

project loading failing on only one machine (.net build works and Visual Studio loads solution fine) #2086

@fwaris

Description

@fwaris

Not sure what's going on. I get the following error in Output/F# log on only one windows machine. On the same machine, dotnet build works and the solution can be loaded by Visual Studio Professional. Other machines, including mac are fine.

Any pointers to troubleshoot will be very appreciated!

The repo is https://github.com/fwaris/FsOperator [rtapi branch]

[14:42:37.460 ERR] [Ionide.ProjInfo.WorkspaceLoaderViaProjectGraph] error while building projects via graph build
Microsoft.Build.Framework.InternalErrorException: MSB0001: Internal MSBuild Error: Only transitive references may reference inner builds that got generated by outer builds
at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Exception innerException, Object[] args)
at Microsoft.Build.Graph.ProjectInterpretation.AddInnerBuildEdges(Dictionary2 allNodes, GraphBuilder graphBuilder) at Microsoft.Build.Graph.GraphBuilder.AddEdges(Dictionary2 allParsedProjects)
at Microsoft.Build.Graph.GraphBuilder.BuildGraph()
at Microsoft.Build.Graph.ProjectGraph..ctor(IEnumerable1 entryPoints, ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, Int32 degreeOfParallelism, CancellationToken cancellationToken) at Microsoft.Build.Graph.ProjectGraph..ctor(IEnumerable1 entryPoints, ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory)
at <StartupCode$Ionide-ProjInfo>.$[email protected](Unit unitVar0) in ///src/Ionide.ProjInfo/Library.fs:line 1126
at Ionide.ProjInfo.WorkspaceLoaderViaProjectGraph.handleProjectGraphFailures[a](FSharpFunc`2 f) in /
//src/Ionide.ProjInfo/Library.fs:line 1077

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions