Apr 13 2020 04:24 PM
Hello. I am currently trying to package up a WPF application I have and I have run into a wall and can't figure out what to do next besides give up. My app targets .Net Framework 4.8 and .Net Core 3.1 and 5.0 Preview. When building the package project after adding my application to it I get an error message that "Project targets 'net48;netcoreapp3.1;netcoreapp5.0' and it cannot be referenced by a project that targets .NetCore,Version=5.0.
How can I fix this? Is there a way to tell the package project to create a package for each framework? Does this only work if your app targets a single .Net?
Apr 15 2020 03:06 PM
@mylastsong18 You can fix that error by adding this to your .wapproj file:
May 07 2020 03:36 PM