added testproject for importing mqtt nugets and verify bin folder

This commit is contained in:
JanEggers
2017-11-12 12:33:56 +01:00
parent bc97575760
commit 5cbbfedcce
4 changed files with 59 additions and 1 deletions
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp2.0;net452;net461</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MQTTnet" Version="2.5.2" />
</ItemGroup>
</Project>
@@ -0,0 +1,12 @@
using System;
namespace MQTTnet.Test.NugetConsumption
{
class Program
{
static void Main(string[] args)
{
var server = new MqttFactory().CreateMqttServer();
}
}
}
@@ -0,0 +1,15 @@
<configuration>
<!--
Used to specify the default Sources for list, install and update.
See: nuget.exe help list
See: nuget.exe help install
See: nuget.exe help update
-->
<packageSources>
<add key="NuGet official package source" value="https://nuget.org/api/v2/" />
<add key="local" value="/../../Build/NuGet" />
</packageSources>
<!-- Used to disable package sources -->
<disabledPackageSources />
</configuration>