I am getting this following warning while building an app in xamarin: " Package 'SQLite.Net-PCL 3.1.1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project."
So, I installed .net framework 4.6 developer pack
Now, when I try to change the target framework in Properties->Applications,
I dont find 4.6 framework. What did I miss here?
In this tutorial, we’ll be using Visual Studio 2022 to change the target .NET Core framework. First, open your .NET Core project in Visual Studio. In the Solution Explorer, right-click on the project and select Edit Project File. Under the Target framework, you’ll see the framework version option ( net5.0) and the option to change it.
To change the target Framework In Visual Studio, in Solution Explorer, select your project. On the menu bar, select File, Open, File. In the project file, locate the entry for the target Framework version. Change the value to the Framework version you want, such as v3.5 or v4.6. Save the changes and close the editor.
In the Open File dialog box, navigate to your project folder, and then open the project (.vcxproj) file. In the project file, locate the entry for the target Framework version.
Change the target framework. In an existing Visual Basic, C#, or F# project, you change the target .NET version in the project properties dialog box. For information about how to change the target version for C++ projects, see How to modify the target framework and platform toolset instead. In Solution Explorer, open the right-click menu for ...
You don't need to worry about these warnings, they usually don't cause a problem for you, stick with the framework that you prefer. Especially when using quickly changing frameworks you get these warnings all the time: just ignore them
If they still cause you trouble just
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With