dotnet / dotnet/linker

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

Open
#3,190 0 comments 0 reactions 0 assignees View on GitHub
area-Build
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.