mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 19:13:11 +08:00
added testproject for importing mqtt nugets and verify bin folder
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user