Redth / ResizetizerNT

Add SVG's and PNG's to your shared Xamarin Project
MIT License
318 stars 31 forks source link

Platform condition is not working #33

Open Feroks opened 3 years ago

Feroks commented 3 years ago

I am trying to specify condition for platform by using _ResizetizerIsUWP variable. Somehow, it does not work. I have tried to do it in sample app of this repo and it does not work as well. Am i missing something?

Redth commented 3 years ago

Here's how that property is set: https://github.com/Redth/ResizetizerNT/blob/master/Resizetizer.NT/Resizetizer.NT.targets#L20

What are the values of your $(TargetPlatformIdentifier) and $(OutputType) ?

Feroks commented 3 years ago

UAP and AppContainerExe accordingly. Does it work for you in sample project? I was unable to make it work there as well.