How do I make an assembly?
-
Hi. I have created an application starting with a "Managed C++ empty project". Now I would want the users to be able to run this project from a local server and therefore need their .NET frameworks to trust the application. How do I make my project an assembly? I tried just adding an AssemblyInfo.cpp file to my project and generating a keyfile, but that did of course not do the trick. Using the Microsoft .NET framework wizard, it does not recognize the *.exe as an Assembly. What more do I need to do? Regards /EnkelIk
-
Hi. I have created an application starting with a "Managed C++ empty project". Now I would want the users to be able to run this project from a local server and therefore need their .NET frameworks to trust the application. How do I make my project an assembly? I tried just adding an AssemblyInfo.cpp file to my project and generating a keyfile, but that did of course not do the trick. Using the Microsoft .NET framework wizard, it does not recognize the *.exe as an Assembly. What more do I need to do? Regards /EnkelIk
I just realized that even if I create a Managed C++ Application project and get the AssemblyInfo file automatically generated I still get the error "Unable to load assembly ....." when I try to set "Trust an assembly" in the .net wizards. If I try with a dll though everything works fine. What am I doing wrong? The only thing I did after having created the Managed C++ application as well as the Managed C++ class library was to compile them. I've tried adding a strong name key but that did not help. All help will, as always, be greatly appreciated. /EnkelIk