Remove all leftover UWP references across projects
このコミットが含まれているのは:
1 親
8ed78fa00e
コミット
be9de30b76
11ファイル変更
+5
-31
検索条件に一致するファイルはありません
@@ -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>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする