You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When PublishSingleFile is on, the build process will try to find the lib dll in the wrong location
Steps to reproduce the bug
Create a new winUI3 app
Add a c# winUI3 Class Lib
Add dependency
Build with win-x64 + PublishSingleFile + WindowsAppSDKSelfContained + WindowsPackageType = None + SelfContained
->
Error CS0006: Metadata file 'C:\Users\xxxxx\source\repos\App8\ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\win-x64\ClassLibrary1.dll' could not be found
ClassLibrary1.dll can actually be found in ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\ClassLibrary1.dll instead of 'ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\ win-x64\ClassLibrary1.dll'
The text was updated successfully, but these errors were encountered:
Describe the bug
When PublishSingleFile is on, the build process will try to find the lib dll in the wrong location
Steps to reproduce the bug
->
Error CS0006: Metadata file 'C:\Users\xxxxx\source\repos\App8\ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\win-x64\ClassLibrary1.dll' could not be found
Test project:
App8.zip
Expected behavior
Build successfully
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000
Windows version
No response
Additional context
ClassLibrary1.dll can actually be found in ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\ClassLibrary1.dll instead of 'ClassLibrary1\bin\Release\net8.0-windows10.0.19041.0\ win-x64\ClassLibrary1.dll'
The text was updated successfully, but these errors were encountered: