Skip to content

PublishSingleFile does not working with ClassLibrary #4596

Open
@ghost1372

Description

@ghost1372

Describe the bug

PublishSingleFile does not working with ClassLibrary

Steps to reproduce the bug

1.Create a Blank Project
2.Create a Blank Class Library
3.Add Class Library Refrence to Main Project
4.Publish UnPackaged/PublishSingleFile

Expected behavior

Cannot resolve Assembly or Windows Metadata file 'E:\source\App1\ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\win-x64\ClassLibrary1.dll' App1 E:\source\App1\App1\App1.csproj

Metadata file 'E:\source\App1\ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\win-x64\ClassLibrary1.dll' could not be found App1

Screenshots

No response

NuGet package version

Windows App SDK 1.5.5: 1.5.240627000

Packaging type

Unpackaged

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022-preview, Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

Labels

area-DeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions