Skip to content

Conversation

@jbaehr
Copy link
Contributor

@jbaehr jbaehr commented Sep 12, 2018

This fixes #1465. Please find more details in the referenced issue.

jbaehr and others added 2 commits September 12, 2018 11:30
The XAML Markup Compiler (from PresentationBuildTasks via target
"MarkupCompilePass1") generates C# code which loads the XAML at run
time from a managed resource. This resource is identified by an URI,
containing the assembly where the resource is embedded and the path
towards it.
Without the "AssemblyVersion" property being set, this URI contains
only the simple assembly name, without version information. This
works as long as the assembly is only loaded once. However, in e.g.
advanced plugin scenarios it may happen that the same (strong named)
assembly is loaded several times in different versions. In those
cases the XAML resource can only be located when the version
information is available in the URI.

This fixes GitTools#1465.
@dazinator
Copy link
Contributor

@jbaehr - thanks for this, I've forward integrated and as long as the builds succeed and tests pass, I'll get this this one merged,

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

Successfully merging this pull request may close these issues.

GitVersionTask executes GetVersion too late for the XAML compiler

2 participants