Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions eng/WpfArcadeSdk/tools/Wpf.Cpp.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

<!-- 17134 is Windows 10 v1903 (19H1) SDK -->
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>

<!-- This should be removed when .NET 6 Preview 4 becomes available. P4 contains the SDK fix. -->
<!-- https://github.com/dotnet/core/issues/6066 -->
<!-- https://github.com/dotnet/sdk/issues/16725 -->
<ILLinkTasksAssembly>DummyPropertyValueForILLinkTasksAssembly</ILLinkTasksAssembly>

<ConfigurationType Condition="'$(ConfigurationType)'==''">DynamicLibrary</ConfigurationType>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,11 @@ internal static SerializerDescriptor CreateFromRegistry(RegistryKey plugIns, str

if (sd != null)
{
// This will be noted in the release notes as an unsupported API until 4479 is fixed.
// https://github.com/dotnet/wpf/issues/4479
#pragma warning disable SYSLIB0018 // 'Assembly.ReflectionOnlyLoadFrom(string)' is obsolete: 'ReflectionOnly loading is not su pported and throws PlatformNotSupportedException.'
Assembly plugIn = Assembly.ReflectionOnlyLoadFrom(sd._assemblyPath);
#pragma warning restore SYSLIB0018 // 'Assembly.ReflectionOnlyLoadFrom(string)' is obsolete: 'ReflectionOnly loading is not supported and throws PlatformNotSupportedException.'
if (typeof(System.Windows.Controls.Button).Assembly.GetName().Version == sd._winFXVersion &&
plugIn != null &&
plugIn.GetName().Version == sd._assemblyVersion)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
<NetCoreReference Include="System.Threading" />
<NetCoreReference Include="System.Threading.Thread" />
<NetCoreReference Include="System.Threading.ThreadPool" />
<NetCoreReference Include="System.Runtime.Loader" />

<MicrosoftPrivateWinFormsReference Include="System.Windows.Forms" />
<MicrosoftPrivateWinFormsReference Include="System.Windows.Forms.Primitives" />
Expand Down