Runtime exception in .net Core 3.1 App when changing p:AssemblyVersion on build
Open
Bug
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
I have a .net Core 3.1 WPF app. And I compile it with the command:
`dotnet publish -o "output" -c Release "Foo.sln" -p:AssemblyVersion="1.2.3.4"`
If I leave out the AssemblyVersion parameter all works fine. But with this parameter I get a runtime exception on startup.
"Could not register named object. Cannot register duplicate name 'MaxDetailsContentHeightHelper' in this scope."
It seems to be a line in the XAML
``
I have no idea where to look for or what could be the reason.
Contributor guide
Assessment
This issue has not been assessed yet.