CSharpFunctionalExtensions icon indicating copy to clipboard operation
CSharpFunctionalExtensions copied to clipboard

Nuget Package Code Installation

Open donamk opened this issue 7 years ago • 4 comments

There is some project I cannot use dll file. (Such as Dynamics CRM Plugin)

In this case, source installation is really helpful (like as DryIoC and DryIoC.dll nuget pacakge)

Could you provide source installation Nuget Package?

donamk avatar Mar 02 '18 00:03 donamk

Could you elaborate, what do you mean by source installation?

vkhorikov avatar Mar 02 '18 14:03 vkhorikov

It is bit hard to explain with my English level. What source installation mean is when install CSharpFunctionalExtensions, Nuget package create a file(or files) and all CSharpFunctionalExctension source code in that file(s). Currently, in CRM project, I have to copy all CSharpFunctionalExtensions source code manually because D365 CRM is not support non-isolation mode.

If my explanation does not make sense, could you install DryIoc? Literally, DryIoc and DryIoc.dll nuget package are same thing. Just different installation. The first one is souce installation and the second one is dll installation. When you install DryIoc nuget package, it will create 4 files and all DryIoc source code in that files. However, when you install DryIoc.dll nuget package, nuget package will not create a file. It will install dll file in the package folder.

I hope my explanation make sense.

donamk avatar Mar 05 '18 03:03 donamk

It does make sense. I'll try to release a version with source installation. If you could point me to the documentation of how to do this, that would speed up the process.

vkhorikov avatar Mar 11 '18 14:03 vkhorikov

Unfortunately, I have no experience about nuget package creation. However, I think you can get the idea from DryIoc. If you look at the following link, https://bitbucket.org/dadhi/dryioc/src/dc094c545899c7551230824d46b2fd1d1c4a5a62/NuGetSpecs/?at=default, you can find two files, DryIoc.dll.nuspec and DryIoc.nuspec.

I hope it can give you some idea.

donamk avatar Mar 15 '18 04:03 donamk