Symptoms
Dear Team,
We are getting the below error while creating a new project / process in K2 Studio.
Could not find a part of the path 'C:Program FilesReference AssembliesMicrosoftFrameworkv4. 6'.
Diagnoses
it was found that KB https://support.microsoft.com/en-us/kb/3102467 was updated automatically on the clients machine. uninstalling it resolved the issue.
Resolution
As you know we do not currently support .net framework 4.6.1.
Microsoft shipped framework 4.6.1 as a recommended update in the following KB: https://support.microsoft.com/en-us/kb/3102467 the net result being that any windows machine that has automatic updates enabled will be getting the new framework version installed.
As a result you are likely to see failures in the product specifically in PandD and VS when this framework version is installed.
A typical error message would read: Whenever attempting to open a solution it displays the following error: The 'WorkflowPackage' package did not load correctly. The problem may have been caused by a configuration change or by the installation of another extension.
You can uninstall .NET Framework 4.6.1 by going to Control Panel > Programs > Programs and Features > Installed Updates. Scroll down the list of Microsoft Windows updates to find Update for Microsoft Windows (KB3102467) and click Uninstall.
It might be worth looking at the .net clean-up tool to speed this up
https://blogs.msdn.microsoft.com/astebner/2008/08/28/net-framework-cleanup-tool-users-guide/
*Note .net framework 4.6 is the base framework version in windows 10 so no need to reinstall, not relevant to windows 7 or older version of windows server where especially if you are running VS2015 you might need to reinstall .net framework 4.6.
To stop the update being pushed out again you can hide it as per this URL: http://www.thewindowsclub.com/block-unwanted-windows-updates-in-windows-10