I have some WPF projects in my solution and ReferenceTrimmer also analyzes (and generates errors for) _wpftmp.csproj files:
CSC : error RT0003: PackageReference CommonServiceLocator can be removed [$PATH_TO_PROJECT\$PROJECTNAME_tygtrtsv_wpftmp.csproj]
These temporary files are generated by WPF xaml files (GenerateTemporaryTargetAssembly task)
Perhaps there is an easy way to exclude them?