Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sample project WPF_XAMLIslands_v1 cannot publish as self-contained & single file? #34

Open
LiLejia opened this issue Mar 4, 2021 · 0 comments

Comments

@LiLejia
Copy link

LiLejia commented Mar 4, 2021

Clone, build, all file.
image

However when I try to publish as config above, it failes.

5>Referenced assembly 'UWPApplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
5>Referenced assembly 'Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
5>WPF_XAMLIslands_v1 -> C:\Users\henry\source\repos\Xaml-Islands-Samples\Samples\WPF\WPF_XAMLIslands_v1\bin\x64\Debug\netcoreapp3.1\win-x64\WPF_XAMLIslands_v1.dll
5>The "GenerateBundle" task failed unexpectedly.
5>System.ArgumentException: Invalid input specification: Found multiple entries with the same BundleRelativePath
5> at Microsoft.NET.HostModel.Bundle.Bundler.GenerateBundle(IReadOnlyList`1 fileSpecs)
5> at Microsoft.NET.Build.Tasks.GenerateBundle.ExecuteCore()
5> at Microsoft.NET.Build.Tasks.TaskBase.Execute()
5> at Microsoft.NET.Build.Tasks.TaskWithAssemblyResolveHooks.Execute()
5> at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
5> at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
========== Build: 4 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant