Skip to content

Images not in the same folder as svg #295

Open
@Marc-Antoine-Soucy

Description

@Marc-Antoine-Soucy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions