If anyone can add UserControl in MainForm (.exe) project Or No way to make it without Seperate (ClassLibrary) tell me please ...
C++/CLI V.S error " ClassLibrary.dll isn't a valid win32 application" . Changing startup item .
Wami007
296
Reputation points
Hello Everyone...
I am trying to creat "UserControl" then add it to "MainForm" in C++/CLI. But i found only one solution to add "UserControl" to "MainForm" via creating project as a Class Library.dll ...
But in this case I can't Target Startup Item to Main form to Build .exe and V.S gives an error normally when trying to build "ClassLibrary" . Any Solution for it? ....
2 answers
Sort by: Newest
-
-
Petrus 【KIM】 456 Reputation points
2021-04-12T09:12:02.05+00:00 Class Library is not an Executable Program.
So, You need another Executable .Net Program to execute and test your library.The red box is user control from c++/cli.