deployment-tools
deployment-tools copied to clipboard
Internal Error of Could not find a part of the path when mage on linux
When trying to mage application, i got the following path separator related issue.
I believe the right path should be '/Temp/2.0.0.0/', instead of '/Temp/2.0.0.0\'.
root@4d4e7e505f74:/Temp# ls
2.0.0.0 root@4d4e7e505f74:/Temp# dotnet mage -new Application -t 2.0.0.0/MyStarter.manifest -fd 2.0.0.0 -v 2.0.0.0 -n MyStarterTest Internal error, please try again. Could not find a part of the path '/Temp/2.0.0.0\'.
Do we have a way to avoid this?
[Triage] We do not officially support building ClickOnce deployments on non-Windows machines. If the community would like to support this, we would gladly accept the contribution.
We are using Winform as frontend, and aspnetcore/corewcf as backend, they are talking through wcf/corewcf. And we run the backend in linux server/container, and we want to host click-once server in linux too, which is easy, since it only serve a bunch of static files. And we want the mage process of the winform apps to happen on the linux server too, there will be some client side configuration file changes in different environment, thus the manifest will change accordingly. We can't generate the manifest ahead, since there will be some unknown environments(our customer). We prepared a script, which will do the mage automatically when we do application upgrade. This worked in windows server/container. So it would be nice if this tool can work in linux, this way one linux server/container will do.
Here is the fix for the directory not found issue, however, this just pushes the issue down the line to Issue #125
Thanks @jwwise-best. It is true that dotnet-mage has limited usage on Linux due to lack of signing support.
However, we welcome all PRs that can improve this codebase.
I have a branch with the changeset to address this issue. Can you add me as a contributor so that I can submit a PR?
I have a branch with the changeset to address this issue. Can you add me as a contributor so that I can submit a PR?
Everyone with read access should be able to submit a PR. Contributor access is not required.