Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. How do I make an assembly?

How do I make an assembly?

Scheduled Pinned Locked Moved Managed C++/CLI
c++questioncsharpdotnetsysadmin
2 Posts 1 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EnkelIk
    wrote on last edited by
    #1

    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

    E 1 Reply Last reply
    0
    • E 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

      E Offline
      E Offline
      EnkelIk
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups