You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@c1bbe48cf612:/source# dotnet deb installCould not execute because the specified command or file was not found.Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET program, but dotnet-deb does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.root@c1bbe48cf612:/source# dotnet tool install --global dotnet-rpmTools directory '/root/.dotnet/tools' is not currently on the PATH environment variable.If you are using bash, you can add it to your profile by running the following command:cat << \EOF >> ~/.bash_profile
# Add .NET Core SDK toolsexport PATH="$PATH:/root/.dotnet/tools"EOFYou can add it to the current session by running the following command:export PATH="$PATH:/root/.dotnet/tools"You can invoke the tool using the following command: dotnet-rpmTool 'dotnet-rpm' (version '0.1.220') was successfully installed.root@c1bbe48cf612:/source# dotnet tool install --global dotnet-debTools directory '/root/.dotnet/tools' is not currently on the PATH environment variable.If you are using bash, you can add it to your profile by running the following command:cat << \EOF >> ~/.bash_profile
# Add .NET Core SDK toolsexport PATH="$PATH:/root/.dotnet/tools"EOFYou can add it to the current session by running the following command:export PATH="$PATH:/root/.dotnet/tools"You can invoke the tool using the following command: dotnet-debTool 'dotnet-deb' (version '0.1.220') was successfully installed.root@c1bbe48cf612:/source# dotnet rpm installCould not execute because the specified command or file was not found.Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET program, but dotnet-rpm does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.root@c1bbe48cf612:/source# dotnet deb installCould not execute because the specified command or file was not found.Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET program, but dotnet-deb does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.root@c1bbe48cf612:/source# cat << \EOF >> ~/.bash_profile
> # Add .NET Core SDK tools
> export PATH="$PATH:/root/.dotnet/tools"
> EOFroot@c1bbe48cf612:/source# dotnet deb installCould not execute because the specified command or file was not found.Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET program, but dotnet-deb does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.root@c1bbe48cf612:/source# dotnet-debbash: dotnet-deb: command not foundroot@c1bbe48cf612:/source# dotnet^C root@c1bbe48cf612:/source# export PATH="$PATH:/root/.dotnet/tools"root@c1bbe48cf612:/source# dotnet deb installdotnet deb (0.1.220+3f7bd3c61a)Successfully installed dotnet deb. Now run 'dotnet deb' to package yourapplication as a Debian/Ubuntu installer packageroot@c1bbe48cf612:/source# dotnet rpm installdotnet rpm (0.1.220+3f7bd3c61a)Successfully installed dotnet rpm. Now run 'dotnet rpm' to package yourapplication as a RPM packageroot@c1bbe48cf612:/source# dotnet rpm dotnet rpm (0.1.220+3f7bd3c61a)Failed to find a .*proj file in '/source'. dotnet rpm only works ifyou have exactly one .*proj file in your directory. For advanced scenarios, please use 'dotnet msbuild /t:CreateRpm'root@c1bbe48cf612:/source# dotnet publish -c release -o /app --no-restore --runtime linux-x64 --self-contained /t:CreateRpm /t:CreateDebMicrosoft (R) Build Engine version 17.1.0+ae57d105c for .NETCopyright (C) Microsoft Corporation. All rights reserved. Pinta.Resources -> /source/Pinta.Resources/bin/Release/net6.0/linux-x64/Pinta.Resources.dll Pinta.Core -> /source/Pinta.Core/bin/Release/net6.0/linux-x64/Pinta.Core.dll Pinta.Tools -> /source/Pinta.Tools/bin/Release/net6.0/linux-x64/Pinta.Tools.dll Pinta.Tools -> /app/ Pinta.Gui.Widgets -> /source/Pinta.Gui.Widgets/bin/Release/net6.0/linux-x64/Pinta.Gui.Widgets.dll Pinta.Effects -> /source/Pinta.Effects/bin/Release/net6.0/linux-x64/Pinta.Effects.dll Pinta.Effects -> /app/ Pinta.Docking -> /source/Pinta.Docking/bin/Release/net6.0/linux-x64/Pinta.Docking.dll Pinta -> /source/bin/linux-x64/Pinta.dll Pinta -> /app/ Pinta.Docking -> /app/ Pinta.Resources -> /app/ Pinta.Core -> /app/ Pinta.Gui.Widgets -> /app//source/Pinta.Effects/Pinta.Effects.csproj : error MSB4057: The target "CreateRpm" does not exist in the project./source/Pinta.Tools/Pinta.Tools.csproj : error MSB4057: The target "CreateRpm" does not exist in the project.root@c1bbe48cf612:/source# dotnet publish -c release -o /app --no-restore --runtime linux-x64 --self-contained /t:CreateDebMicrosoft (R) Build Engine version 17.1.0+ae57d105c for .NETCopyright (C) Microsoft Corporation. All rights reserved. Pinta.Resources -> /source/Pinta.Resources/bin/Release/net6.0/linux-x64/Pinta.Resources.dll Pinta.Core -> /source/Pinta.Core/bin/Release/net6.0/linux-x64/Pinta.Core.dll Pinta.Tools -> /source/Pinta.Tools/bin/Release/net6.0/linux-x64/Pinta.Tools.dll Pinta.Gui.Widgets -> /source/Pinta.Gui.Widgets/bin/Release/net6.0/linux-x64/Pinta.Gui.Widgets.dll Pinta.Tools -> /app/ Pinta.Effects -> /source/Pinta.Effects/bin/Release/net6.0/linux-x64/Pinta.Effects.dll Pinta.Effects -> /app/ Pinta.Docking -> /source/Pinta.Docking/bin/Release/net6.0/linux-x64/Pinta.Docking.dll Pinta -> /source/bin/linux-x64/Pinta.dll Pinta -> /app/ Pinta.Resources -> /app/ Pinta.Core -> /app/ Pinta.Gui.Widgets -> /app/ Pinta.Docking -> /app//source/Pinta.Effects/Pinta.Effects.csproj : error MSB4057: The target "CreateDeb" does not exist in the project./source/Pinta.Tools/Pinta.Tools.csproj : error MSB4057: The target "CreateDeb" does not exist in the project.root@c1bbe48cf612:/source# dotnet publish -c release -o /app --no-restore --runtime linux-x64 --self-contained Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NETCopyright (C) Microsoft Corporation. All rights reserved.c Pinta.Resources -> /source/Pinta.Resources/bin/Release/net6.0/linux-x64/Pinta.Resources.dll Pinta.Core -> /source/Pinta.Core/bin/Release/net6.0/linux-x64/Pinta.Core.dll Pinta.Tools -> /source/Pinta.Tools/bin/Release/net6.0/linux-x64/Pinta.Tools.dll Pinta.Gui.Widgets -> /source/Pinta.Gui.Widgets/bin/Release/net6.0/linux-x64/Pinta.Gui.Widgets.dll Pinta.Tools -> /app/ Pinta.Effects -> /source/Pinta.Effects/bin/Release/net6.0/linux-x64/Pinta.Effects.dll Pinta.Effects -> /app/ Pinta.Docking -> /source/Pinta.Docking/bin/Release/net6.0/linux-x64/Pinta.Docking.dll Pinta -> /source/bin/linux-x64/Pinta.dll Pinta -> /app/ Pinta.Core -> /app/ Pinta.Resources -> /app/ Pinta.Gui.Widgets -> /app/ Pinta.Docking -> /app/root@c1bbe48cf612:/source#
What am I missing?
The text was updated successfully, but these errors were encountered:
I am using the https://hub.docker.com/_/microsoft-dotnet-sdk image and I am trying to orchestrate a build process for it.
Following the instructions in https://stackoverflow.com/a/47209000/2309247 didn't help: no "automagic" deb file was created
Using the instructions from the https://github.com/quamotion/dotnet-packaging#readme didn't help either
What am I missing?
The text was updated successfully, but these errors were encountered: