Is OpenXML SDK required to be installed in every computer that will run my program?

StackOverflow https://stackoverflow.com/questions/22762054

  •  24-06-2023
  •  | 
  •  

Domanda

Is there a way to deploy my application (which uses ClosedXML) and not be required to install OpenXMLSDKv2.msi on each computer?

If I uninstall the sdk I get this error at runtime:

I already referenced DocumentFormat.OpenXml (copy local = true) and WindowsBase (also copy local true, despite being not necessary.

DocumentFormat.OpenXml.dll and ClosedXML.dll are both on the bin folder.

È stato utile?

Soluzione

DocumentFormat.OpenXml.dll and ClosedXML.dll are both on the bin folder.

This should be enough, no installation required.

See this question for other takes on this error (for all dlls, not just ClosedXML / OpenXml).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top