fixed netcoreapp3.1 build #903release/3.x.x
@@ -15,12 +15,19 @@ | |||||
<copyright>Copyright Christian Kratky 2016-2020</copyright> | <copyright>Copyright Christian Kratky 2016-2020</copyright> | ||||
<tags>MQTT Message Queue Telemetry Transport MQTTClient MQTTServer Server MQTTBroker Broker NETStandard IoT InternetOfThings Messaging Hardware Arduino Sensor Actuator M2M ESP Smart Home Cities Automation Xamarin</tags> | <tags>MQTT Message Queue Telemetry Transport MQTTClient MQTTServer Server MQTTBroker Broker NETStandard IoT InternetOfThings Messaging Hardware Arduino Sensor Actuator M2M ESP Smart Home Cities Automation Xamarin</tags> | ||||
<dependencies> | <dependencies> | ||||
<dependency id="MQTTnet" version="$nugetVersion" /> | |||||
<dependency id="Microsoft.AspNetCore.Connections.Abstractions" version="3.1.3" /> | |||||
<dependency id="Microsoft.AspNetCore.Http.Connections" version="1.1.0" /> | |||||
<dependency id="Microsoft.AspNetCore.WebSockets" version="2.2.1" /> | |||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="3.1.3" /> | |||||
<group targetFramework="netstandard2.0"> | |||||
<dependency id="MQTTnet" version="$nugetVersion" /> | |||||
<dependency id="Microsoft.AspNetCore.Connections.Abstractions" version="3.1.3" /> | |||||
<dependency id="Microsoft.AspNetCore.Http.Connections" version="1.1.0" /> | |||||
<dependency id="Microsoft.AspNetCore.WebSockets" version="2.2.1" /> | |||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="3.1.3" /> | |||||
</group> | |||||
<group targetFramework="netcoreapp3.1"> | |||||
<dependency id="MQTTnet" version="$nugetVersion" /> | |||||
<dependency id="System.IO.Pipelines" version="4.7.1" /> | |||||
</group> | |||||
</dependencies> | </dependencies> | ||||
</metadata> | </metadata> | ||||
@@ -33,5 +40,7 @@ | |||||
<!-- .NET Standard 2.0 --> | <!-- .NET Standard 2.0 --> | ||||
<file src="..\Source\MQTTnet.AspNetCore\bin\Release\netstandard2.0\MQTTnet.AspNetCore.*" target="lib\netstandard2.0\"/> | <file src="..\Source\MQTTnet.AspNetCore\bin\Release\netstandard2.0\MQTTnet.AspNetCore.*" target="lib\netstandard2.0\"/> | ||||
<!-- .NET Core App 3.1 --> | |||||
<file src="..\Source\MQTTnet.AspNetCore\bin\Release\netcoreapp3.1\MQTTnet.AspNetCore.*" target="lib\netcoreapp3.1\"/> | |||||
</files> | </files> | ||||
</package> | </package> |
@@ -33,6 +33,7 @@ vstest.console.exe ..\Tests\MQTTnet.AspNetCore.Tests\bin\Release\netcoreapp3.1\M | |||||
# Build the ASP.NET Core 2.0 extension | # Build the ASP.NET Core 2.0 extension | ||||
&$msbuild ..\Source\MQTTnet.AspNetCore\MQTTnet.AspNetCore.csproj /t:Build /p:Configuration="Release" /p:TargetFramework="netstandard2.0" /p:FileVersion=$assemblyVersion /p:AssemblyVersion=$assemblyVersion /verbosity:m /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=".\..\..\Build\codeSigningKey.pfx" | &$msbuild ..\Source\MQTTnet.AspNetCore\MQTTnet.AspNetCore.csproj /t:Build /p:Configuration="Release" /p:TargetFramework="netstandard2.0" /p:FileVersion=$assemblyVersion /p:AssemblyVersion=$assemblyVersion /verbosity:m /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=".\..\..\Build\codeSigningKey.pfx" | ||||
&$msbuild ..\Source\MQTTnet.AspNetCore\MQTTnet.AspNetCore.csproj /t:Build /p:Configuration="Release" /p:TargetFramework="netcoreapp3.1" /p:FileVersion=$assemblyVersion /p:AssemblyVersion=$assemblyVersion /verbosity:m /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=".\..\..\Build\codeSigningKey.pfx" | |||||
# Build the RPC extension | # Build the RPC extension | ||||
&$msbuild ..\Source\MQTTnet.Extensions.Rpc\MQTTnet.Extensions.Rpc.csproj /t:Build /p:Configuration="Release" /p:TargetFramework="net452" /p:FileVersion=$assemblyVersion /p:AssemblyVersion=$assemblyVersion /verbosity:m /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=".\..\..\Build\codeSigningKey.pfx" | &$msbuild ..\Source\MQTTnet.Extensions.Rpc\MQTTnet.Extensions.Rpc.csproj /t:Build /p:Configuration="Release" /p:TargetFramework="net452" /p:FileVersion=$assemblyVersion /p:AssemblyVersion=$assemblyVersion /verbosity:m /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=".\..\..\Build\codeSigningKey.pfx" | ||||
@@ -22,6 +22,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{67C28AC1 | |||||
Build\MQTTnet.Extensions.WebSocket4Net.nuspec = Build\MQTTnet.Extensions.WebSocket4Net.nuspec | Build\MQTTnet.Extensions.WebSocket4Net.nuspec = Build\MQTTnet.Extensions.WebSocket4Net.nuspec | ||||
Build\MQTTnet.NETStandard.nuspec = Build\MQTTnet.NETStandard.nuspec | Build\MQTTnet.NETStandard.nuspec = Build\MQTTnet.NETStandard.nuspec | ||||
Build\MQTTnet.nuspec = Build\MQTTnet.nuspec | Build\MQTTnet.nuspec = Build\MQTTnet.nuspec | ||||
nuget.config = nuget.config | |||||
Build\upload.ps1 = Build\upload.ps1 | Build\upload.ps1 = Build\upload.ps1 | ||||
EndProjectSection | EndProjectSection | ||||
EndProject | EndProject | ||||
@@ -12,10 +12,7 @@ | |||||
<ItemGroup> | <ItemGroup> | ||||
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" /> | <PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" /> | ||||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" /> | <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" /> | ||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<ProjectReference Include="..\..\Source\MQTTnet.AspnetCore\MQTTnet.AspNetCore.csproj" /> | |||||
<PackageReference Include="MQTTnet.AspNetCore" Version="0.0.1" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
@@ -0,0 +1,6 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<configuration> | |||||
<packageSources> | |||||
<add key="Test Source" value="Build\NuGet" /> | |||||
</packageSources> | |||||
</configuration> |