Skip to content

Has dependencies? #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
m-sterspace opened this issue Mar 29, 2018 · 1 comment
Closed

Has dependencies? #267

m-sterspace opened this issue Mar 29, 2018 · 1 comment

Comments

@m-sterspace
Copy link

m-sterspace commented Mar 29, 2018

I'm a little confused. It says that this package has no dependencies and that you can include the CSharp files in your project, however, I'm unable to get this working. It seems to be using / referencing CSharpx and RailwaySharp which both appear to be unrelated projects. I'm producing a simple portable utility so would ideally like to avoid having to install a separate dll for this, but could anyone provide some guidance on how you're supposed to embed the .cs files directly in a .net framework project?

@nemec
Copy link
Contributor

nemec commented Mar 29, 2018

See #251 - the 'no dependencies' promise only applies to the final NuGet package, not the intermediate build steps. CSharpx and RailwaySharp are both written by the original author of commandlineparser and I don't know why he decided to make them separate repositories. You should be able to copy over those files too into your project

I would also highly recommend utilizing ILMerge - it will take multiple DLLs and combine them into a single DLL/EXE - that way you can use any Nuget package and still retain a single EXE when deployed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants