Skip to content

Unable to acess ComputeSharp.D2D1.WinUI namespaceΒ #922

@ReneeGA2020

Description

@ReneeGA2020

Description (optional)

I was trying to follow this doc to create a custom effect:
https://learn.microsoft.com/en-us/windows/apps/develop/win2d/custom-effects

Reproduction Steps

I added those references

  <ItemGroup>
    <PackageReference Include="ComputeSharp" Version="3.2.0" />
    <PackageReference Include="ComputeSharp.D2D1" Version="3.2.0" />
    <PackageReference Include="ComputeSharp.D2D1.WinUI" Version="3.2.0" />
    <PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.2" />
    <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.6584" />
    <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.250916003" />
  </ItemGroup>

And successfuly finished some of the steps including creating a NoiseShader.

The next step, the doc asks me to create a FrostedGlassEffect class, and I've not been able to do that.
It looks like I cannot access to ComputeSharp.D2D1.WinUI name space even if I have ComputeSharp.D2D1.WinUI package referenced. I the CanvasEffect class is unreachable for me, and I cannot finish the step to create the FrostedGlassEffect class

System info

This section should contain useful info such as:

  • ComputeSharp NuGet version 3.2.0
  • Visual Studio version: 2026
  • .NET Version: 10 rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug πŸ›Something isn't workinguntriaged 🧰A new issue that needs initial triage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions