Skip to content

No code generated during "self contained" publishingΒ #67

@fubar-coder

Description

@fubar-coder

Describe the bug

It seems that no code gets generated during publishing a "self contained" (in contrast to a framework dependent) application.

This are the build errors I get:

1>CSC(0,0): Fehler TRF001: Framework is not recognized.
1>CSC(0,0): Fehler ADPG: System.InvalidOperationException: Platform is not supported.
1>CSC(0,0): Fehler DPG: System.InvalidOperationException: Platform is not supported.

Steps to reproduce the bug

  1. Create a publishing profile in VS 2022
  2. Change deployment mode to self contained (or standalone)

Expected behavior

The build should succeed

Screenshots

No response

NuGet package version

1.4.0

IDE

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions