add LICENSE file, update nuspec file to meet official nuget package requirement

This commit is contained in:
Qingqing Sun 2017-10-25 14:23:03 +08:00
Родитель 21b2383a3b
Коммит f5b454addb
3 изменённых файлов: 27 добавлений и 24 удалений

Просмотреть файл

@ -4,12 +4,14 @@
<id>Azure.IoT.Edge.Function</id> <id>Azure.IoT.Edge.Function</id>
<version>0.0.1</version> <version>0.0.1</version>
<title>Azure IoT Edge Function</title> <title>Azure IoT Edge Function</title>
<authors>VS China IoT Tooling</authors> <authors>Microsoft</authors>
<owners>VS China IoT Tooling (vschinaiot@microsoft.com)</owners> <owners>microsoft, nugetazureiotedge</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Scaffolding tool to setup azure iot edge function development environment.</description> <description>Scaffolding tool to setup azure iot edge function development environment.</description>
<releaseNotes>First release</releaseNotes> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<copyright>Copyright 2016</copyright> <language>en-US</language>
<projectUrl>http://github.com/azure/dotnet-template-azure-iot-edge-function/</projectUrl>
<licenseUrl>https://github.com/Azure/dotnet-template-azure-iot-edge-function/blob/master/license</licenseUrl>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<tags>azure iot edge dotnet template</tags> <tags>azure iot edge dotnet template</tags>
</metadata> </metadata>
<files> <files>

36
LICENSE
Просмотреть файл

@ -1,21 +1,23 @@
MIT License The MIT License (MIT)
Copyright (c) Microsoft Corporation. All rights reserved. Copyright (c) .NET Foundation and Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy All rights reserved.
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all Permission is hereby granted, free of charge, to any person obtaining a copy
copies or substantial portions of the Software. of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR The above copyright notice and this permission notice shall be included in all
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, copies or substantial portions of the Software.
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
SOFTWARE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -13,7 +13,7 @@ This ReadMe consists of two parts:
Make sure you have [.NET Core SDK](https://www.microsoft.com/net/core#windowscmd) and [Nuget](https://www.nuget.org/) installed. Make sure you have [.NET Core SDK](https://www.microsoft.com/net/core#windowscmd) and [Nuget](https://www.nuget.org/) installed.
Run following command to add the nuget source: Config the nuget source:
- For NuGet V3 - For NuGet V3
``` ```
@ -21,7 +21,6 @@ nuget sources add -name AzureIoTEdgeFunction -source https://www.myget.org/F/dot
``` ```
- For NuGet V2 - For NuGet V2
``` ```
nuget sources add -name AzureIoTEdgeFunction -source https://www.myget.org/F/dotnet-template-azure-iot-edge-function/api/v2 nuget sources add -name AzureIoTEdgeFunction -source https://www.myget.org/F/dotnet-template-azure-iot-edge-function/api/v2
``` ```