User254389092 posted
Hi,
I am trying to migrate a project to Framework 4.7.2, When I update my packages using nuget package manager, I get the build errors:
Interop type WindowKinds cannot be embedded. use the applicable interface instead.
Interop type constants cannot be embedded. Use the applicable interface instead.
The lines of code which returns the error is:
application.Windows.Item(EnvDTE80.WindowKinds.vsWindowKindErrorList).Activate();
application.Windows.Item(EnvDTE.Constants.vsWindowKindOutput).Activate();
My idea is to build the solution without any errors and the solution will be updated to Framework 4.7.2. I would appreciate an optimal solution to migrate a solution as well if there is any. Please let me know.
Luc