-
Notifications
You must be signed in to change notification settings - Fork 17
Description
ReferenceTrimmer reports that Aero2 reference can be removed:
CSC : warning RT0001: Reference PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL can be removed [F:\dbs\el\l23t\Source\Frameworks\DevTools\VS2022\UrlProtocolHandler\UrlProtocolHandler.csproj::TargetFramework=net48]
But if you actually remove it, then XAML compilation in _CompileTemporaryAssembly which uses csc.exe CoreCompile task starts failing:
F:\dbs\el\l23t\Source\Frameworks\DevTools\Shared\ProjectSystem\UIStyles\ToolsStandardStyles.xaml(95,26): error MC3074: The tag 'DataGridHeaderBorder' does not exist in XML namespace 'clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2'. Line 95 Position 26. [F:\dbs\el\l23t\Source\Frameworks\DevTools\VS2022\UrlProtocolHandler\UrlProtocolHandler.csproj::TargetFramework=net48]
