.NET Framework 4.6

Does Essentials support .NET Framework 4.6 or should I use 4.5?

It supports both. I would probably use anything from .NET Framework 4.0 cause MEF was introduced as a part of .NET 4.0 and Silverlight 4

I am trying to use .Net API for the first time. I get the error Warning The primary reference “UX.Shared” could not be resolved because it has an indirect dependency on the assembly “VcActivator.Shared, Version=, Culture=neutral, PublicKeyToken=31bc53bc7503b77a” which was built against the “.NETFramework,Version=v4.6.2” framework. This is a higher version than the currently targeted framework “.NETFramework,Version=v4.6.1”.

I am using visual studio 2017.

The tutorial are 2015. Do I need to install the earlier version?

If you are using 4.1 then use 4.6.1.

Download https://www.microsoft.com/en-us/download/details.aspx?id=49981

I don’t remember if it is was 4.0.4 when the .NET Framework was migrated to 4.6.1. The tutorials should still work; just use the Framework version that Visual Studio is telling you to use to complete them.

Ok so on further investigation the .net framework 4.6.2 does not get installed with visual studio 2017. You have to find the developer tool pack for .net framework 4.6.2 and install it. Then this works.