unmanaged .net comiled statically?

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Is it possible to compile an unmanaged C++ app statically? So the user
doesnt require the correct framework version installed?
If so how?

Jason
 
If you do not compile with the /clr flag then you have no dependency on any
version of the CLR being installed. That is regardless of whether you link
statically or dynamically to any unmanaged library. Of course if you link
dynamcally you need to redistribute the correct unmanaged components.

Ronald Laeremans
Visual C++ team
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top