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
 
Back
Top