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

Images not in the same folder as svg #295

Open
4 of 10 tasks
Marc-Antoine-Soucy opened this issue Jun 11, 2024 · 0 comments
Open
4 of 10 tasks

Images not in the same folder as svg #295

Marc-Antoine-Soucy opened this issue Jun 11, 2024 · 0 comments
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@Marc-Antoine-Soucy
Copy link

Current behavior

I'm not sure if this is really a bug or if some documentation should be updated/ added (or if I missed it)

In an app with a shared project/folder I added some SVGs in the Assets/Images folder of the shared project. I added an SVG, and tried using Assets/Images/nameofmyimage.png as the source of an image like it said here:
https://platform.uno/docs/articles/external/uno.resizetizer/doc/using-uno-resizetizer.html?tabs=sharedproject%2CiOS#2-configure-the-project-to-use-generated-images

But, it didnt work, and the image was instead generated at name_of_my_image.png without the folders name in front.

Expected behavior

I would have expected the image to have the same path to it as the SVG. Or that the documentation would have mentioned this can happen when working with solutions that use a shared project.

How to reproduce it (as minimally and precisely as possible)

I saw this when I was working on this branch of the open source UnoApplicationTemplate nventive/UnoApplicationTemplate@main...dev/maso/unoresizetizertest

Environment

Nuget Package:
Uno.Resizetizer
Package Version(s):
1.5.0-dev.106
Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renders for Xamarin.Forms
  • Windows
  • Build tasks

Visual Studio:

  • 2017 (version: )
  • 2022 (version: 17.10.1)
  • for Mac (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

I don't think it's a major problem, I mostly wanted open this issue because it took me some time to understand what was happening.

@Marc-Antoine-Soucy Marc-Antoine-Soucy added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

1 participant