Publish Failure of Class Library with WinAppSdk dependency

I have added a class library that references WinAppSDK. Now I am unable to publish my program.

I don't encounter any errors while building, only while publishing.

Cannot resolve Assembly or Windows Metadata file 'I:\projects\Name\Shared\Name.Core\bin\Debug\net8.0-windows10.0.22621\win-x64\Name.Windows.Core.dll'


Does the class library require any specific files, such as an app.manifest, to run since I have referenced WinAppSdk?
Was this page helpful?