Xamarin Studio gives error on new project - frameworks

Just installed Xamarin Studio 5.8.2 (build 7). Already have .NET Framework 4.5.1 installed (due to VS2010 and VS2013 installed). Also installed gtk sharp 2.12.25. Upon any newly created project, I get
Error while trying to load the project. Project does not support framework .NETFramework,Version=v4.5.
It is the latest version. I downloaded today, and got an update a few hours later for gtk sharp and XStudio.

You can try editing the .vbproj or .csproj files to change the TargetFramework from 4.5 to 4.0
https://forums.xamarin.com/discussion/28329/error-while-trying-to-load-empty-vb-net-project

Related

How do you setup Visual Studio for Mac and NUnit

I am using Visual Studio for Mac version 8.5.4 (build 12) and I used NuGet to install Nunit package. I can create a Project NUnit but when I attempt to reference my project I want to test I can't choose my project because it says the .Net target framework is incompatible.
When I added the NUnit project it asked me to pick the target framework and only gave me the option of 2.0, 3.0 and 3.1. Even when I change my project down to 3.1 it still says it's incompatible.
How do you setup Visual Studio for Mac and NUnit
Edit: .Net Standard
Edit 2: I was WRONG. I was using .Net Core and .Net standard together and that was the problem. Thank you everyone.
I was using .Net Core and .Net Standard when I wanted to use .Net Standard for everything.

How to upgrade .Net framework 4.6.2 to 4.7

My solution is developed in .net framework 4.6.2 then how to upgrade in .net framework 4.7, please suggest me some references.
Thank You
I was facing the same issue because I was trying to install a nuget package which requires the 4.6.1 version at least (Mine was 4.5.2), so I right clicked to the project and selected the properties option and change the Target Framework as shown in the image and that was enough! Keep in mind that you have to install previously the Net. Framework you are trying to upgrade.
As per this document from Microsoft:
https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/
If you created your app using an earlier version of the .NET Framework, you can generally upgrade it to the .NET Framework 4.5 and its point releases (4.5.1 and 4.5.2), the .NET Framework 4.6 and its point releases (4.6.1 and 4.6.2), or the .NET Framework 4.7 and its point releases (4.7.1 and 4.7.2) easily. Open your project in Visual Studio. If your project was created in an earlier version of Visual Studio, the Project Compatibility dialog box automatically opens.
You should review the above document to better understand how to migrate your .NET version as required.
For me, the migration guide was not helpful. I needed to:
Open my solution
Right click on my project and choose "Properties"
Change the "Target Framework" to the desired choice of ".NET
Framework 4.7.2"
1.Open Solution
2.Right click on my project
3.Choose "Properties" and Change the "Target Framework" to the desired choice of ". NET Framework 4.7. 2"
It will work

Unity 2018 and .Net Framework greater then 4.6

So Unity 2018 should support .Net Framework libraries above 4.6 (visit https://blogs.unity3d.com/2018/03/28/updated-scripting-runtime-in-unity-2018-1-what-does-the-future-hold/).
I really need the .Net Framework 4.7.1 support for my project, but it doesn't works. The Scripting Runtime Version and Api Compatibility Level in the Unity Player Settings are setted to .NET 4.x. If i open the C-Sharp Project with Visual Studio 2017, i can install packages with NuGet, that needs the .Net Framework 4.7.1. After the installation the namespaces are available in C#, but if i go back to the Unity Editor, there are already errors in the console, that the namespace of the just installed package could not be found.
I have also tried to overwrite the in the .csproj, but after i open the Project in Unity, it just overwrites it again back to 4.6. The whole compatibility stuff has already worked for me in the 2018.1b, but then i installed the stable version 2018.1.0f2 and now it works neither with the stable nor the beta-version. I also can't find a good guide that explains it, how to use / setup the .Net Framework 4.7.1 support in Unity.

visual studio 2012 ultimate incompatible

I just installed Visual Studio 2012 Ultimate and then i Install Entity Framework using package manager console now when i open my project class library loaded successfully but my mvc web project not load
It gives me the error
incompatible.
Is your WebProject MVC 1 or 2? If yes, then according to this article you should run an upgrade to MVC3.
If it is not, then this article mentions another way to open this project.

Installing 51Degrees onto all installed versions of Visual Studio

I've just installed 51Degrees for a VS2010 project I'm working on, but the retarded thing just doesn't want to work on VS2010, it's installing onto VS2012.
I need this to be working on VS2010 because I can't upgrade this project to VS2012 because I don't have it installed at the office and my laptop there won't run VS2012 anyway.
So how can I get this stupid thing to work on all versions of Visual Studio that I'm running?
Install 51Degrees from NuGet.
Search 51Degrees.mobi in the Online packages.