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

"Cannot locate resource" #56

Closed
martin-braun opened this issue Nov 1, 2021 · 5 comments
Closed

"Cannot locate resource" #56

martin-braun opened this issue Nov 1, 2021 · 5 comments

Comments

@martin-braun
Copy link

Screen Shot 2021-11-01 at 01 53 12

I've set the build action to Resource, but it's still not working.

@paulushub
Copy link
Collaborator

@martin-braun I do not think there is a design-time support. I have not tested it, it will hopefully work in runtime. If not, try the SvgIcon (see the samples for uses).

@martin-braun
Copy link
Author

@paulushub It didn't compile for the same reason I think. SharpVector on the other hand works (also at design time, just not reliably), so I think here is room for improvement.

Due to time-pressure I had to move on and use SharpVector now. If you cannot reproduce the issue, I have no problem when you close this issue, I just wanted to report this issue on my end whatsoever. Maybe someone else can confirm my observation, maybe it was just me.

@paulushub
Copy link
Collaborator

@martin-braun That is part of the original code and you cannot modify it without breaking existing codes using it. Also, the build is set for automatic nuget updates so versioning is not controlled.

I have added UriSource as an alternative so I saw the limitation (just remembered) - so try using that property.

@jogibear9988
Copy link
Member

The Control also worked at design time (some time ago). So some change broke it, but for me this was not critical, so I never investegated into it.
We completly switch to an html UI so I nearly don't use this library

@paulushub
Copy link
Collaborator

The Control also worked at design time (some time ago).

Probably referring to Visual Studio dependent SVGImage.Design project. You might need to update it to work with various versions of the Visual Studio and make a nuget package available.

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

3 participants