Using Windows Forms project with TargetPlatformVersion set to 10.0.10240.0
ToastContent does no longer have GetXml method.
Actual error:
ToastContent does not contain definition for GetXml and no extension method GetXml accepting the first argument of type ToastContent
ToastContent should have GetXml method.
Nuget Package(s):
Microsoft.Toolkit.Uwp.Notifications 3.0.0
QueryString.NET 1.0.0
Windows 10 Build Number:
- [ ] April Redstone Update (17134.48)
Device form factor:
- [ ] Desktop
Visual Studio
- [ ] 2017 (version: 15.7.3)
GetXml() only works in UWP apps. You can use GetContent() to get the raw xml content as string outside of UWP
/cc @anbare
@NaveNO Works the solution for you? Can we close it?
Oh yes, thanks a lot! :)
Most helpful comment
GetXml() only works in UWP apps. You can use GetContent() to get the raw xml content as string outside of UWP
/cc @anbare