Skip to content

Reference .dll file of a class library project does not exist in main project's publish/build folder. Main project has a COM reference to class library. #10091

@hasankaplan-github

Description

@hasankaplan-github

URL(s)

https://github.com/dotnet/core/blob/main/release-notes/9.0/9.0.9/9.0.9.md

Description

I have two solutions (let's say SolutionA and SolutionB.) In SolutionA I have a "Core MVC" project and in SolutionB there is a ".Net Core ClassLibrary" project. The ClassLibrary project has a reference to MailKit library. MVC project has a reference to ClassLibrary.dll (because of they are in separate solutions it is not a "Project Reference", it is a "Com Reference".) When I run Publish command in MVC project, the MailKit.dll does not exist in publish folder. I have to manually add a reference to MailKit library also in MVC project. Is it a bug, is there a solution for this situation?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions