Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build test app with net6.0 #10

Closed
kv-gits opened this issue Apr 12, 2022 · 5 comments
Closed

Can't build test app with net6.0 #10

kv-gits opened this issue Apr 12, 2022 · 5 comments
Labels
bug Something isn't working build Issues revolving building and packaging the library

Comments

@kv-gits
Copy link

kv-gits commented Apr 12, 2022

C:\Program Files\dotnet\sdk\6.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(1003,5): error NETSDK1149: DesktopNotifications.Windows.dll cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher.  An updated version of the component supporting .NET 5 is needed. For more information, see...

Also net6.0-windows gives the same error.

@pr8x pr8x added bug Something isn't working build Issues revolving building and packaging the library labels May 11, 2022
@pr8x
Copy link
Owner

pr8x commented May 11, 2022

I guess I need to explicitly target net6.0-windowsXXX

@ghost
Copy link

ghost commented Jul 28, 2022

any update on this?

@ghost
Copy link

ghost commented Jul 28, 2022

ok I got it to work by changing net5.0-windows10.0.17763.0 to net6.0-windows10.0.17763.0 on my side

@HossamElwahsh
Copy link

ok I got it to work by changing net5.0-windows10.0.17763.0 to net6.0-windows10.0.17763.0 on my side

Where?

@pr8x
Copy link
Owner

pr8x commented Jun 21, 2023

Should be resolved by #16. NET 5 support has ended so it's anyway a good idea to switch to .NET 6 since that has LTS.

@pr8x pr8x closed this as completed Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Issues revolving building and packaging the library
Projects
None yet
Development

No branches or pull requests

3 participants