Skip to content

How do I publish into a subfolder of PublishDir? #73

@ferenc-a

Description

@ferenc-a

I have 3 executables I publish as a set, and I want them to use a single dotnet runtime.
I tried using NetBeauty2, and worked based on SharedRuntimeTest.

This is the directory structure in the example:

publish
├── runtimes
├── app1
│   ├── app1.dll
│   └── ...
├── app1.exe

But it's achieved by setting <PublishDir>../publish/WsClient</PublishDir>. I want the PublishDir to be still set to publish, not the subfolder, and tell NetBeauty2 to use this folder structure, but I can't find a way. I tried setting BeautyDir, but it does nothing, and the other variables don't affect the exe, or ruin the relative paths when loading the dlls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions