Started with a Gen 8.6 ASP.Net Web client program linked with an external C# program that has worked fine so far. After some changes in the C# program, a change was made in Visual Studio's project Target Environment from .net framework 4.0 to .net framework 4.6.1, in order to support some reporting modules that are needed.
After that, The Gen Build Tool returned an error:"The primary reference "CISW4" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". C:\Models\CIS.ief\c#\CISW.csproj]"
Component : Gen Build Tool
Edit the Build Tool script file build_lm_cs.scr (directory "%Gen86\Gen\bt\scripts") to set the ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch element to true, as is suggested in article Microsoft > “Reference could not be resolved” error when validating your architecture using Visual Studio architecture modeling tools.
Search the script file for the section containing multiple <PropertyGroup> entries. Insert the code below within the <Project> elements that contain the <PropertyGroup> entries.
<PropertyGroup>
<ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>true</ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>
</PropertyGroup>