Search code examples
c#licensingcodeplex

open source codeplex library can be used for a commercial purpose?


In our solution, we use SharpCompress library which is licensed under MS-PL, for 7z compression.

I wonder when we release a solution (exe) or deliver our source code project containing that SharpCompress library for commercial purpose. Is it right to do so or not?


Solution

  • SharpCompress is licensed under the Ms-PL license. This license is actually not as restrictive as others (GPL for instance). It's simple and understandable.

    If you want to use a compiled version of the library in a commercial project, simply put the SharpCompress binaries (DLL files...etc.) in your project directory, and add a license.txt file that links to the Ms-PL license.

    See also https://stackoverflow.com/questions/1424307/how-does-ms-pl-license-work