IgnaceMaes / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
2.84k stars 829 forks source link

support for C++/Cli #160

Closed Prakash19921206 closed 7 years ago

Prakash19921206 commented 7 years ago

hi

when i add reference to MaterialSkin.dll i get following error message

One or More error occured

Could not add reference to "....Project/MaterialSkin.dll" as it is not a type or version current project can use

however i can add in toolbox, i see all components. but if i drag & drop components i see value doesn't fall within expected range error message This happens if i add to existing c++/cli winform (it has metroUI) target .net framework - 4.6 platform toolkit - v140 Common Language Runtime Support - Common Language Runtime Support (/clr) project type - x86 (i also build Material Skin for x86 debug) let me know if you want to know any other details

But if i add this to new project it works flawlessly , so there is some clash with using other libraries along with Material Skin?

Prakash19921206 commented 7 years ago

i changed Material Skin Project's target .net framework to 4.6 from 4.6.1, built and added reference. now its working