thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
396 stars 225 forks source link

there are no components in metroframework that can be placed on the toolbox. #99

Open Asif-ak opened 6 years ago

Asif-ak commented 6 years ago

He there, i am trying to add metro framework to my new win form application but unfortunately, i am unable to add metroframework.dll to toolbox tab. It shows the following error 'there are no components in {directory}metroframework that can be placed on the toolbox Metro Framework'. I am using vs 2017 on windows 10.

Can you please guide me resolving this issue?

Regards

FrozenSoda commented 6 years ago

I found the fix, you need to compile the source code and manually add the DLL to the toolbox from "MetroFramework\MetroFramework\bin\Release" instead of "MetroFramework\MetroFramework.Design\bin\Release"

Asif-ak commented 6 years ago

Can you please guide me through the process?

On Tue, Sep 26, 2017 at 4:28 AM, steel9 notifications@github.com wrote:

I found the fix, you need to compile the source code and manually add the DLL to the toolbox from "MetroFramework\MetroFramework\bin\Release" instead of "MetroFramework\MetroFramework.Design\bin\Release"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thielj/MetroFramework/issues/99#issuecomment-332182305, or mute the thread https://github.com/notifications/unsubscribe-auth/AXyJxRMNotnJjujjr9XOiXRAG80taJzTks5smO3igaJpZM4PDZ_w .

Asif-ak commented 6 years ago

tried but still not working

Inzaniity commented 6 years ago

Right click into the toolbox -> Choose Items -> Browse -> Navigate to your solution/packages/MetroFramework.RunTime/lib/net40-Client/MetroFramework.dll

You should see new components appear in the Toolbox. (For me they were listed under "Printing") I made a new Tab and moved all Metro-Components with drag and drop