Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Added NuGet Package for .Net Framework target. #103

Closed
wants to merge 3 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions nuget/Azure.IoT.Gateway.SDK.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Azure.IoT.Gateway.SDK.Net</id>
<version>2017.01.13.2</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall this version match with the Release Tag Version?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2017.01.13.2 [](start = 13, length = 12)

Investigate if this is supported by Nuget. I am not sure, and don't recall seeing this in packages I worked with.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think it's needs to be 2017.01.13-2, checking...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<title>Azure IoT Gateway SDK for .Net Framework</title>
<description>This package contains the Microsoft Azure IoT Gateway SDK targeting the .NET Framework</description>
<authors>Microsoft Corporation</authors>
<language>en-US</language>
<projectUrl>https://github.com/azure/azure-iot-gateway-sdk</projectUrl>
<licenseUrl>https://github.com/Azure/azure-iot-gateway-sdk/blob/master/License.txt</licenseUrl>
<tags>Microsoft Azure IoT Gateway SDK dotnet net40</tags>
</metadata>
<files>
<file src="..\bindings\dotnet\dotnet-binding\Microsoft.Azure.IoT.Gateway\bin\x86\Release\Microsoft.Azure.IoT.Gateway.dll" target="lib\net40" />
<file src="..\bindings\dotnet\dotnet-binding\Microsoft.Azure.IoT.Gateway\bin\x86\Release\Microsoft.Azure.IoT.Gateway.pdb" target="lib\net40" />
<file src="..\build\core\Debug\gateway.dll" target="build\x86" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI @barnstee , all other binaries are release and this one is Debug. Shall we keep the same type (All Release or All Debug?).

<file src="..\build\bindings\dotnet\Release\dotnet.dll" target="build\x86" />
<file src="..\build\modules\iothub\Release\iothub.dll" target="build\x86" />
<file src="..\install-deps\bin\aziotsharedutil.dll" target="build\x86" />
<file src="..\install-deps\bin\iothub_client.dll" target="build\x86" />
<file src="..\install-deps\bin\iothub_service_client.dll" target="build\x86" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add this DLL on our package? I think we have already Nuget Packages for it. Shall we add this as a dependence?
Same for aziotsharedutil.dll, iothub_client.dll, serializer.dll....

<file src="..\install-deps\bin\nanomsg.dll" target="build\x86" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one may be an exception. If they don't have a nuget package we can add them.

<file src="..\install-deps\bin\serializer.dll" target="build\x86" />
</files>
</package>