Skip to content

error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1 #11156

@MarcoRossignoli

Description

@MarcoRossignoli

Issue Description

I'm using the preview version:

MSBuild version = "17.13.0-preview-24611-01+fc1f22bcf"

and when I use msbuild from cli I got this error.

If I build in VS all is good.

Steps to Reproduce

Contact me for the binlog or @YuliiaKovalova

Expected Behavior

It should build.

Actual Behavior

It fails the build with "error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1"

Analysis

No response

Versions & Configurations

MSBuild version = "17.13.0-preview-24611-01+fc1f22bcf"

Metadata

Metadata

Labels

Priority:1Work that is critical for the release, but we could probably ship without

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions