How to upgrade a UWP app to use .NET Framework 4.8.1 from v4.7.2
Hello, we have a React Native Windows UWP application that currently uses .NET Framework 4.7.2 and we are needing to upgrade to 4.8.1 but are getting errors when building Desktop Extension.
We are using Visual Studio 2022 version 17.6 and have not had any issues using .NET Framework 4.7.2 but are continually getting this error when trying to build Desktop Extension and have had no issues when building the other projects in the solution that have been updated. I have commented out all References that may need updated but still no luck. We are planning to migrate to a Win App SDK application in the near future and should have no problems, but until then we would like to do this upgrade if possible. Please help with any suggestions. Are there any other things we may need to update?
Your project does not reference ".NETFramework,Version=v4.8.1" framework. Add a reference to ".NETFramework,Version=v4.8.1" in the "TargetFrameworks" property of your project file and then re-run NuGet restore. DesktopExtension
Thanks in advance!