Remove all leftover UWP references across projects
このコミットが含まれているのは:
1 親
8ed78fa00e
コミット
be9de30b76
11ファイル変更
+5
-31
検索条件に一致するファイルはありません
@@ -37,9 +37,9 @@ The sample app is available in the Microsoft Store, showcasing several pixel sha
|
||||
| **ComputeSharp.Dynamic** | An extension for **ComputeSharp**, enabling dynamic shader compilation at runtime and shader metaprogramming |
|
||||
| **ComputeSharp.D3D12MemoryAllocator** | An extension for **ComputeSharp**, adding D3D12MA as the memory allocator for graphics resources. |
|
||||
| **ComputeSharp.Pix** | An extension library for **ComputeSharp**, enabling PIX support to produce debugging information |
|
||||
| **ComputeSharp.Uwp** | A UWP library (targeting .NET Standard 2.0) with controls to render DX12 shaders powered by **ComputeSharp** |
|
||||
| **ComputeSharp.WinUI** | A WinUI 3 library (targeting .NET 6) with controls to render DX12 shaders powered by **ComputeSharp** |
|
||||
| **ComputeSharp.WinUI** | A WinUI 3 library with controls to render DX12 shaders powered by **ComputeSharp** |
|
||||
| **ComputeSharp.D2D1** | A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them |
|
||||
| **ComputeSharp.D2D1.WinUI** | A WinUI 3 library with custom effects for Win2D powered by **ComputeSharp.D2D1** |
|
||||
|
||||
Preview builds are available at https://pkgs.computesharp.dev/index.json (as well as GitHub Packages).
|
||||
|
||||
|
||||
@@ -8,10 +8,8 @@
|
||||
<InternalsVisibleTo Include="ComputeSharp.D3D12MemoryAllocator, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Dynamic, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Pix, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Uwp, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.WinUI, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.D2D1, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.D2D1.Uwp, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.D2D1.WinUI, PublicKey=$(AssemblySignPublicKey)" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<InternalsVisibleTo Include="ComputeSharp.D2D1.Uwp, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.D2D1.WinUI, PublicKey=$(AssemblySignPublicKey)" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -15,12 +15,6 @@ public readonly struct D2D1InputDescription
|
||||
/// <summary>
|
||||
/// The index of the resource the description belongs to.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This field and the ones below are explicity used because this type is in the type layout of <see cref="Effects.PixelShaderEffect"/>.
|
||||
/// Since that type is used in an unmanaged context, MCG will produce a shadow copy to inform the runtime marshaller. Such a shallow copy
|
||||
/// cannot process the type if it has unspeakable names in any of its members, which is the case for the generated fields. As such, this
|
||||
/// type has to use explicit fields here and not readonly autoproperties, or compiling a project using ComputeSharp.D2D1 would fail on UWP.
|
||||
/// </remarks>
|
||||
private readonly int index;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
<InternalsVisibleTo Include="ComputeSharp.D3D12MemoryAllocator, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Dynamic, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Pix, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Uwp, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.WinUI, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Tests.Internals, PublicKey=$(AssemblySignPublicKey)" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -13,9 +13,6 @@
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1'">
|
||||
<![CDATA[A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1.Uwp'">
|
||||
<![CDATA[A UWP library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1.WinUI'">
|
||||
<![CDATA[A WinUI 3 library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1.]]>
|
||||
@@ -28,9 +25,6 @@
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Pix'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable PIX support to produce debugging information.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Uwp'">
|
||||
<![CDATA[A UWP library with controls to render DX12 shaders powered by ComputeSharp.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.WinUI'">
|
||||
<![CDATA[A WinUI 3 library with controls to render DX12 shaders powered by ComputeSharp.]]>
|
||||
@@ -38,7 +32,6 @@
|
||||
|
||||
<!-- Package tags -->
|
||||
<PackageTags Condition="$(MSBuildProjectName.Contains('.D2D1'))">$(PackageTags) d2d d2d1 direct2d pixel</PackageTags>
|
||||
<PackageTags Condition="$(MSBuildProjectName.EndsWith('.Uwp'))">$(PackageTags) uwp winui</PackageTags>
|
||||
<PackageTags Condition="$(MSBuildProjectName.EndsWith('.WinUI'))">$(PackageTags) winui winui3 wasdk</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -69,10 +69,10 @@
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!-- Emit the [ComVisible(false)] attribute for UWP and WinUI targets -->
|
||||
<Target Name="EmitComVisibleAttributeForUwpProjects"
|
||||
<!-- Emit the [ComVisible(false)] attribute for WinUI targets -->
|
||||
<Target Name="EmitComVisibleAttributeForWinUIProjects"
|
||||
BeforeTargets="PrepareForBuild">
|
||||
<ItemGroup Condition="$(TargetFramework.StartsWith('uap10.0')) OR $(TargetFramework.StartsWith('net6.0-windows'))">
|
||||
<ItemGroup Condition="$(TargetFramework.StartsWith('net6.0-windows'))">
|
||||
<AssemblyAttribute Include="System.Runtime.InteropServices.ComVisibleAttribute">
|
||||
<_Parameter1>false</_Parameter1>
|
||||
</AssemblyAttribute>
|
||||
|
||||
@@ -6,8 +6,6 @@ using TerraFX.Interop.Windows;
|
||||
using WinRT;
|
||||
using WinRT.Interop;
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace ComputeSharp.D2D1.WinUI.Tests.Helpers;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -13,8 +13,6 @@ using Windows.Foundation;
|
||||
using Windows.Storage;
|
||||
using Windows.UI;
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace ComputeSharp.D2D1.WinUI.Tests;
|
||||
|
||||
[TestClass]
|
||||
|
||||
@@ -10,8 +10,6 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Windows.Storage;
|
||||
using Windows.UI;
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace ComputeSharp.D2D1.WinUI.Tests;
|
||||
|
||||
[TestClass]
|
||||
|
||||
@@ -18,9 +18,6 @@
|
||||
<!-- Ignore warnings for usings outside of a namespace (needed for some Vortice.Win32 type aliases) -->
|
||||
<NoWarn>$(NoWarn);IDE0065</NoWarn>
|
||||
|
||||
<!-- Unnecessary #nullable enable directives (for shared projects across UWP) -->
|
||||
<NoWarn>$(NoWarn);IDE0240</NoWarn>
|
||||
|
||||
<!-- Missing readonly modifier for readonly struct members (not needed in tests) -->
|
||||
<NoWarn>$(NoWarn);IDE0251</NoWarn>
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする