Introduction
I was working on Workflow Foundation 4.5 using Activity Designer Library template in Visual Studio 2017.
Problem Background
When I try to add a class library as input Type through Type Browser in Activity designer it shows an error as “The selected type could not be created” as shown in the image below.
I compared another machine with the latest update of Visual Studio which was working fine. The problem seems to be I didn’t have .Net framework 4.6.2 SDK and .Net framework 4.7 SDK installed.
Solution
I modified the Visual Studio as below using Visual Studio Installer.
Conclusion
You will can refer .Net Standard 2.0 projects and dlls in workflow foundation project templates and use without any issue.
No comments:
Post a Comment