blogifierdotnet / Blogifier

Blogifier is an open-source publishing platform Written in ASP.NET and Blazor WebAssembly. With Blogifier make a personal blog or a website.
https://blogifier.net
MIT License
1.29k stars 521 forks source link

Add RuntimeIdentifiers and UseAppHost for add possibility publish as self-containted #137

Closed Slach closed 5 years ago

Slach commented 5 years ago

dotnet publish --self-contained was usefull for me, when i try use perf to sampling profiling under linux

rxtur commented 5 years ago

This breaks continues integration with Azure Pipelines, returning "bash exited with code 1".

image

Slach commented 5 years ago

how i can view detail result https://rtur.visualstudio.com/310b11ec-0d4e-49af-a73a-ae2274572637/_build/results?buildId=387 to fix it?

rxtur commented 5 years ago

how i can view detail result https://rtur.visualstudio.com/310b11ec-0d4e-49af-a73a-ae2274572637/_build/results?buildId=387 to fix it?

Here is relevant part:

2019-03-02T02:07:45.3826744Z Installing System.IO.MemoryMappedFiles 4.0.0. 2019-03-02T02:07:45.3827022Z Installing System.Net.Requests 4.0.11. 2019-03-02T02:07:45.3827179Z Installing System.IO.FileSystem.Watcher 4.0.0. 2019-03-02T02:07:49.6219289Z Generating MSBuild file /home/vsts/work/1/s/tests/Core.Tests/obj/Core.Tests.csproj.nuget.g.props. 2019-03-02T02:07:49.6221934Z Generating MSBuild file /home/vsts/work/1/s/tests/Core.Tests/obj/Core.Tests.csproj.nuget.g.targets. 2019-03-02T02:07:49.6939558Z Restore completed in 8.43 sec for /home/vsts/work/1/s/tests/Core.Tests/Core.Tests.csproj. 2019-03-02T02:07:57.1609500Z Restore completed in 14.63 sec for /home/vsts/work/1/s/tests/Core.Tests/Core.Tests.csproj. 2019-03-02T02:07:57.4572942Z /usr/share/dotnet/sdk/2.2.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(119,5): error NETSDK1066: A RuntimeIdentifier must be specified to publish a framework-dependent application with an application host. [/home/vsts/work/1/s/tests/Core.Tests/Core.Tests.csproj] 2019-03-02T02:07:57.6717101Z /usr/share/dotnet/sdk/2.2.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(119,5): error NETSDK1066: A RuntimeIdentifier must be specified to publish a framework-dependent application with an application host. [/home/vsts/work/1/s/src/App/App.csproj] 2019-03-02T02:07:57.9045552Z /usr/share/dotnet/sdk/2.2.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(119,5): error NETSDK1066: A RuntimeIdentifier must be specified to publish a framework-dependent application with an application host. [/home/vsts/work/1/s/src/Upgrade/Upgrade.csproj] 2019-03-02T02:08:22.9738704Z Core -> /home/vsts/work/1/s/src/Core/bin/Release/netcoreapp2.2/Core.dll 2019-03-02T02:08:24.0494716Z Common -> /home/vsts/work/1/s/plugins/Common/bin/Release/netcoreapp2.2/Common.dll 2019-03-02T02:08:24.0720589Z 2019-03-02T02:08:24.0721490Z Build FAILED. 2019-03-02T02:08:24.0721851Z