'Visual Studio not find resource image path for WPF
I'm working with Visual Studio 2019 and .NET 4.6.
The my projects image source path with resources dll file.
Example:Source="/ViennaResources;Component/Images/onlyAudioIcon.png"
The visual studio 2010! (with .net 4) and 2022 no problem. The problem is VS 2019 and 2017. (the vs 2019 hint "not found C:\ViennaResources...")
Why not found the image resource VS 2019 and 2017?

Solution 1:[1]
Microsoft answer: As a workaround you can use absolute URI instead of a relative one, e.g.
absolute URI: Source="pack://application:,,,/MyLib;Component/Images/logo.png"
relative URI: Source="/MyLib;Component/Images/logo.png"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Gabee8 |
