Skip to content

Commit

Permalink
Make PresentationBuildTasks always AnyCPU
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyKuhne committed Oct 31, 2024
1 parent 05a5141 commit accf26f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 24 deletions.
24 changes: 12 additions & 12 deletions Microsoft.Dotnet.Wpf.sln
Original file line number Diff line number Diff line change
Expand Up @@ -439,18 +439,18 @@ Global
{BFF6C118-3369-43B5-ACA6-D65ED00EEBE0}.Release|x64.Build.0 = Release|x64
{BFF6C118-3369-43B5-ACA6-D65ED00EEBE0}.Release|x86.ActiveCfg = Release|x86
{BFF6C118-3369-43B5-ACA6-D65ED00EEBE0}.Release|x86.Build.0 = Release|x86
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|ARM64.ActiveCfg = Debug|ARM64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|ARM64.Build.0 = Debug|ARM64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x64.ActiveCfg = Debug|x64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x64.Build.0 = Debug|x64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x86.ActiveCfg = Debug|x86
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x86.Build.0 = Debug|x86
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|ARM64.ActiveCfg = Release|ARM64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|ARM64.Build.0 = Release|ARM64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x64.ActiveCfg = Release|x64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x64.Build.0 = Release|x64
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x86.ActiveCfg = Release|x86
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x86.Build.0 = Release|x86
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|ARM64.ActiveCfg = Debug|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|ARM64.Build.0 = Debug|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x64.ActiveCfg = Debug|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x64.Build.0 = Debug|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x86.ActiveCfg = Debug|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Debug|x86.Build.0 = Debug|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|ARM64.ActiveCfg = Release|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|ARM64.Build.0 = Release|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x64.ActiveCfg = Release|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x64.Build.0 = Release|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x86.ActiveCfg = Release|AnyCPU
{4216C2EA-E2B9-4FB2-9803-F73FDC64CAC4}.Release|x86.Build.0 = Release|AnyCPU
{440D06B8-E3DE-4C0D-AD25-CD4F43D836E1}.Debug|ARM64.ActiveCfg = Debug|ARM64
{440D06B8-E3DE-4C0D-AD25-CD4F43D836E1}.Debug|ARM64.Build.0 = Debug|ARM64
{440D06B8-E3DE-4C0D-AD25-CD4F43D836E1}.Debug|x64.ActiveCfg = Debug|x64
Expand Down
1 change: 0 additions & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,5 @@
</PropertyGroup>
<PropertyGroup>
<MicrosoftDotNetWpfDncEngVersion>10.0.0-alpha.1.24474.3</MicrosoftDotNetWpfDncEngVersion>
<MicrosoftWindowsCsWin32PackageVersion>0.3.106</MicrosoftWindowsCsWin32PackageVersion>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<BinPlaceRuntime>false</BinPlaceRuntime>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
<Platforms>x86;x64;arm64</Platforms>
<Platforms>AnyCPU</Platforms>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand All @@ -39,7 +39,6 @@
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>


<!--
Incorporate Microsoft.WinFX.targets in nuget packages under
content\targets\
Expand All @@ -60,14 +59,13 @@
<PackagingAssemblyContent Include="System.Reflection.MetadataLoadContext.dll" />
<PackagingAssemblyContent Include="System.Runtime.CompilerServices.Unsafe.dll" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net9.0'">
<ItemGroup Condition="'$(TargetFramework)'=='net10.0'">
<PackagingAssemblyContent Include="PresentationBuildTasks.dll" />
<PackagingAssemblyContent Include="System.Reflection.MetadataLoadContext.dll" />
</ItemGroup>


<ItemGroup>
<EmbeddedResource Include="Resources\Strings.resx" />
<EmbeddedResource Include="Resources\Strings.resx" />
</ItemGroup>

<ItemGroup>
Expand All @@ -77,7 +75,6 @@
<Compile Include="MS\Internal\BuildTasksAppContextSwitches.cs" />
</ItemGroup>


<ItemGroup>
<Compile Include="SR.cs" />
<Compile Include="$(WpfCommonDir)src\System\SR.cs" >
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
using System;
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo($"WindowsBase.Tests, PublicKey={PublicKeys.Ecma}")]
[assembly: InternalsVisibleTo("WindowsBase.Tests, PublicKey=00000000000000000400000000000000")]
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@

<ItemGroup>
<MicrosoftPrivateWinFormsReference Include="Accessibility" />
<MicrosoftPrivateWinFormsReference Include="System.Private.Windows.Core" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<Nullable>enable</Nullable>
<!--
AnyCPU isn't really valid for this project as tests implicitly load the DirectWriteForwarder.
-->
<Platforms>x64;x86;ARM64</Platforms>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
<!-- SYSLIB5005: System.Formats.Nrbf is experimental -->
Expand Down

0 comments on commit accf26f

Please sign in to comment.