Skip to content

NET 9, PublicKeyToken=null.staticwebassets.endpoints.json' was not found. #3584

@tamazbagdavadze

Description

@tamazbagdavadze

After upgrading to net9 swagger tofile --output ../../../../api.json MyService.dll combined
throws exception:
Unhandled exception. System.AggregateException: One or more errors occurred. (The static resources manifest file 'C:\src\services\MyService\bin\Release\net9.0\MyService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.staticwebassets.endpoints.json' was not found.) ---> System.InvalidOperationException: The static resources manifest file 'C:\src\services\MyService\bin\Release\net9.0\MyService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.staticwebassets.endpoints.json' was not found.

Is there any way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions