Following controls were added but are not enabled

こ雲淡風輕ζ 提交于 2021-01-27 05:38:11

问题


I'm trying to add the Windows Media Player component to my solution, but this message is displayed instead.

The following controls were added but are not enable in the active designer. Make sure the controls to add are compatible with the current designer and .NET Framework

I'm using Windows 8.1, Visual Studio 2013 and .NET framework target is 4.5

I copied my DLL to the bin folder too.


回答1:


I could suggest you to check if the version of the ddl that you have imported is for 4.5 version of framework. Maybe it's for an older version of framework.

If it doesn't help you try following this guide.

As workaround I can suggest you to copy that dll in your bin folder and then add references to the project from your bin.




回答2:


Created the solution two times in a row, worked without doing anything.




回答3:


When You create Windows Forms App there are two ways: (.NET Framework) and (.NET) You should chose Windows Forms App (.NET Framework).



来源:https://stackoverflow.com/questions/27878153/following-controls-were-added-but-are-not-enabled

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!