usql
usql copied to clipboard
Provide NUGET packages for customization related assemblies
When implementing custom components (i.E extractors), we are required to implement specific interfaces. For example IExtractor. The implementation of interfaces is contained in assembly Microsoft.Analytics.Interfaces. Right now this assembly seems to be installed in following path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PublicAssemblies\
What is the recommended way to reference this and possibly other required assemblies? I'm surprised that this assembly is not contained in the NuGet package.
I've had the same issue when I was building my solution with MyGet that couldn't find the DLLs.
Great feedback. We will look into this for the assemblies required for building U-SQL extensions.
In the meanwhile, could anyone who would like NuGet support please vote for the feature here: https://feedback.azure.com/forums/327234-data-lake/suggestions/10549797-provide-nuget-packages-for-customization-related-a
Currently I'm using a private temporary NuGet package that leverage these DLLs. If it is allowed I can open it up for now?
Tom, feel free to open it up.
Thanks, hope this helps you @ddobric.
You can install the extensibility DLLs with the following command.
Install-Package TomKerkhove.Analytics.Extensibility
You can install the extensibility & testing DLLs with the following command.
Install-Package TomKerkhove.Analytics.Extensibility.Testing
Thanks Top. Will try. Btw. Is there any recommended testing tools or libraries? For example, to test extractor we need some kind of mocking host, which emulates kona. How do you do this guys?
Here's a write-up of my fix - http://www.codit.eu/blog/2015/11/20/automated-builds-with-azure-data-lake-extensibility/
The tooling come with Unit Test templates that you can use at the moment. That's how I do it at the moment.
@ddobric , I've added an item to the doc backlog for the unit testing guidance. We've build things in a way that everything should be mockable, and there is a local run capability (with debugging) that will be released very shortly