diff --git a/build/Uno.UI.proj b/build/Uno.UI.proj
index 3c2791dafb17..9eb528beef94 100644
--- a/build/Uno.UI.proj
+++ b/build/Uno.UI.proj
@@ -1,135 +1,150 @@
-
+
-
- $(GITVERSION_FullSemVer)
-
- .\nuget\NuGet.exe
- $(BUILD_ARTIFACTSTAGINGDIRECTORY)
- $(CombinedConfiguration.Split('|')[0])
- $(CombinedConfiguration.Split('|')[1])
- $(CombinedConfiguration.Split('|')[2])
-
- false
-
+
+ $(GITVERSION_FullSemVer)
+
+ .\nuget\NuGet.exe
+ $(BUILD_ARTIFACTSTAGINGDIRECTORY)
+ $(CombinedConfiguration.Split('|')[0])
+ $(CombinedConfiguration.Split('|')[1])
+ $(CombinedConfiguration.Split('|')[2])
+
+ false
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.UniversalApiContract\2.0.0.0\Windows.Foundation.UniversalApiContract.winmd
- ..\src\Uno.UI\bin\release\xamarinios10\Uno.UI.dll
- ..\src\Uno.UI\bin\release\Monoandroid80\Uno.UI.dll
- ..\src\Uno.UI\bin\release\netstandard2.0\Uno.UI.dll
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_Sha1Replace Include="..\src\SourceGenerators\Uno.UI.Tasks\Uno.UI.Tasks.csproj" />
+ <_Sha1Replace Include="..\src\SourceGenerators\Uno.UI.Tasks\Assets\RetargetAssets.cs" />
+ <_Sha1Replace Include="..\src\SourceGenerators\Uno.UI.Tasks\Content\Uno.UI.Tasks.targets" />
+ <_Sha1Replace Include="..\src\SourceGenerators\Uno.UI.Tasks\ResourcesGenerator\ResourcesGenerationTask.cs" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.UniversalApiContract\2.0.0.0\Windows.Foundation.UniversalApiContract.winmd
+ ..\src\Uno.UI\bin\release\xamarinios10\Uno.UI.dll
+ ..\src\Uno.UI\bin\release\Monoandroid80\Uno.UI.dll
+ ..\src\Uno.UI\bin\release\netstandard2.0\Uno.UI.dll
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/SourceGenerators/Uno.UI.Tasks/Assets/RetargetAssets.cs b/src/SourceGenerators/Uno.UI.Tasks/Assets/RetargetAssets.cs
index e6ec66b486b4..34847113b88b 100644
--- a/src/SourceGenerators/Uno.UI.Tasks/Assets/RetargetAssets.cs
+++ b/src/SourceGenerators/Uno.UI.Tasks/Assets/RetargetAssets.cs
@@ -18,7 +18,7 @@ namespace Uno.UI.Tasks.Assets
///
/// Currently supports .png, .jpg, .jpeg and .gif.
///
- public class RetargetAssets : Task
+ public class RetargetAssets_v0 : Task
{
private const int HighDPIThresholdScale = 150;
@@ -56,7 +56,8 @@ public override bool Execute()
resourceToTargetPath = resource => AndroidResourceConverter.Convert(resource, DefaultLanguage);
break;
default:
- throw new NotSupportedException($"{nameof(TargetPlatform)} must be either 'ios' or 'android'.");
+ this.Log().Info($"Skipping unknown platform {TargetPlatform}");
+ return true;
}
Assets = ContentItems.Where(content => IsAsset(content.ItemSpec)).ToArray();
@@ -106,4 +107,4 @@ private static bool IsAsset(string path)
|| extension == ".gif";
}
}
-}
\ No newline at end of file
+}
diff --git a/src/SourceGenerators/Uno.UI.Tasks/Content/Uno.UI.Tasks.targets b/src/SourceGenerators/Uno.UI.Tasks/Content/Uno.UI.Tasks.targets
index 88d2edd3044c..ef498783df14 100644
--- a/src/SourceGenerators/Uno.UI.Tasks/Content/Uno.UI.Tasks.targets
+++ b/src/SourceGenerators/Uno.UI.Tasks/Content/Uno.UI.Tasks.targets
@@ -1,57 +1,57 @@
+
+ ..\Uno.UI.Tasks\Uno.UI.Tasks.v0.dll
+ true
+
+
+
+
+
+
+
+
+
+
+
- ..\Uno.UI.Tasks\Uno.UI.Tasks.dll
- true
+
+ $(DefaultApplicationLanguage)
+
+ en
-
+
+
+
-
+
+
-
-
-
-
-
-
-
-
- $(DefaultApplicationLanguage)
-
- en
-
-
-
-
-
-
-
-
-
-
- True
-
-
-
-
-
-
-
-
-
-
-
+
+
+ True
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/SourceGenerators/Uno.UI.Tasks/ResourcesGenerator/ResourcesGenerationTask.cs b/src/SourceGenerators/Uno.UI.Tasks/ResourcesGenerator/ResourcesGenerationTask.cs
index c8036cf5c59b..911505dec2a1 100644
--- a/src/SourceGenerators/Uno.UI.Tasks/ResourcesGenerator/ResourcesGenerationTask.cs
+++ b/src/SourceGenerators/Uno.UI.Tasks/ResourcesGenerator/ResourcesGenerationTask.cs
@@ -14,7 +14,7 @@ namespace Uno.UI.Tasks.ResourcesGenerator
///
/// Parse Resources.resw files and generate the corresponding Localizable.strings (iOS) and Strings.xml (Android) files.
///
- public class ResourcesGenerationTask : Task
+ public class ResourcesGenerationTask_v0 : Task
{
private const string CommentPattern = @"
WARNING : THIS FILE HAS BEEN GENERATED BY A TOOL DO NOT UPDATE MANUALLY
diff --git a/src/SourceGenerators/Uno.UI.Tasks/Uno.UI.Tasks.csproj b/src/SourceGenerators/Uno.UI.Tasks/Uno.UI.Tasks.csproj
index 5d277237f87d..22baba9a7745 100644
--- a/src/SourceGenerators/Uno.UI.Tasks/Uno.UI.Tasks.csproj
+++ b/src/SourceGenerators/Uno.UI.Tasks/Uno.UI.Tasks.csproj
@@ -9,7 +9,7 @@
Library
Properties
Uno.UI.Tasks
- Uno.UI.Tasks
+ Uno.UI.Tasks.v0
v4.6
512
SAK