Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Error of Could not find a part of the path when mage on linux #237

Open
hatzhang opened this issue Nov 24, 2022 · 6 comments
Open
Labels
area-ClickOnce up-for-grabs Good issue for external contributors

Comments

@hatzhang
Copy link

hatzhang commented Nov 24, 2022

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?

@NikolaMilosavljevic
Copy link
Member

[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.

@NikolaMilosavljevic NikolaMilosavljevic added the up-for-grabs Good issue for external contributors label Feb 6, 2024
@hatzhang
Copy link
Author

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.

@jwwise-best
Copy link
Contributor

Here is the fix for the directory not found issue, however, this just pushes the issue down the line to Issue #125

image

@NikolaMilosavljevic
Copy link
Member

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.

@jwwise-best
Copy link
Contributor

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?

@MichaelSimons
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ClickOnce up-for-grabs Good issue for external contributors
Projects
None yet
Development

No branches or pull requests

4 participants