Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

how to setup Visual Studio 2022 .Net 7.0 to create a Notification Listener

how to setup Visual Studio 2022 .Net 7.0 to create a Notification Listener
i am using this documentation
https://learn.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/notification-listener

I tried the documetation but cant find "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.1\Facades\System.Runtime.dll" file (same file with .xml extension exists))

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

I had this exact error and I fixed it by installing the windows SDK using this link https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/ and then using it by editing the .csproj of your project and changing TargetFramework to this

net7.0-windows$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion(‘Windows’, ‘10.0’))

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading