-
I'm having my first go at a small project using the Windows App SDK. I'm following these instructions for creating a WinUI 3 app with Desktop C#. My project needs to execute some PowerShell cmdlets, but I don't want the user to need to install the latest version of PowerShell for that, so I'm just going to make use of Windows PowerShell 5.1 in my project. To that end, I've installed the NuGet package
My code is extremely minimal so far, just a few lines in using System.Collections.ObjectModel;
using System.Management.Automation; I'm not going to assume that this is a bug, but that I'm doing something wrong. However, looking up this error online hasn't really yielded anything helpful, and I'm at a loss as to what I could try next. I'd be very glad about ideas! :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
.NET folks tell me you likely just need to add a reference to this package (v5.0): Thanks, Ben |
Beta Was this translation helpful? Give feedback.
.NET folks tell me you likely just need to add a reference to this package (v5.0):
https://www.nuget.org/packages/System.Security.AccessControl/
Thanks,
Ben