dotnet / linker

389 stars 127 forks source link

8.0 SDK doesn't generate correct .deps.json for linker->cecil dependency #3190

Open vitek-karas opened 1 year ago

vitek-karas commented 1 year ago

For some reason upgrading to 8.0 SDK removes the necessary .deps.json record about Mono.Cecil from illink.deps.json. Workaround which seems to work is to set IncludeProjectsNotInAssetsFileInDepsFile=true in the Mono.Linker and the tasks test projects. But I don't yet understand why.

This is likely related to https://github.com/dotnet/sdk/pull/28963 and other PRs around there.

I'm trying to figure out what's going on. This issue is to track that debt if the workaround gets checked in as part of https://github.com/dotnet/linker/pull/3177.