theznerd / PoSHPF

"PowerShell Presentation Framework" for executing WPF
MIT License
10 stars 5 forks source link

Media Elements with same base name create errors in parsing XAML #4

Closed theznerd closed 5 years ago

theznerd commented 5 years ago

Currently the Media Elements use the base name of the file as the key for the StaticResource which means that two different file types with the same name will clobber each other and create a sea of red in the console. I see a couple of different options:

I'm leaning toward the latter because errors are never fun. However, it does make the syntax of the StaticResource a bit odd.

theznerd commented 5 years ago

Resolved in Version 1.2