msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

MSB4216 for .NET 8: PackageReference 'Reqnroll.Tools.MsBuild.Generation' generates MSB4216 when compiling with SDK 8.0.416 (8.0.415 is OK)

Open 304NotModified opened this issue 2 months ago • 3 comments

Issue Description

Please fix this bug for SDK 8, it has been fixed in SDK 9

https://github.com/dotnet/msbuild/issues/12751

Steps to Reproduce

See https://github.com/dotnet/msbuild/issues/12751

Expected Behavior

See https://github.com/dotnet/msbuild/issues/12751

Actual Behavior

See https://github.com/dotnet/msbuild/issues/12751

Analysis

See https://github.com/dotnet/msbuild/issues/12751#issuecomment-3522124076

Versions & Configurations

No response

304NotModified avatar Dec 10 '25 13:12 304NotModified

Could you please attach a minimal repro?

YuliiaKovalova avatar Dec 10 '25 14:12 YuliiaKovalova

Working on it, but don't have it reproduced yet. Maybe it was only a bug in SDK 9 then?

304NotModified avatar Dec 10 '25 15:12 304NotModified

Working on it, but don't have it reproduced yet. Maybe it was only a bug in SDK 9 then?

I have checked the package for NET 8 and if it fails for you, it must be a different kind of problem then described in https://github.com/dotnet/msbuild/issues/12751.

YuliiaKovalova avatar Dec 10 '25 15:12 YuliiaKovalova