Skip to content

Commit

Permalink
chore: Adjust assemblies order
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 29, 2024
1 parent 8da3e71 commit 1e70065
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ private static MetadataReference[] BuildUnoReferences(bool isAndroid)
Path.Combine("Uno.UI.netcoremobile", Configuration, $"{TFMCurrent}-android"),
]
: [
Path.Combine("Uno.UI.Skia", Configuration, TFMPrevious),
Path.Combine("Uno.UI.Reference", Configuration, TFMPrevious),
// On CI the test assemblies set must be first, as it contains all
// dependent assemblies, which the other platforms don't (see DisablePrivateProjectReference).
Path.Combine("Uno.UI.Tests", Configuration, TFMPrevious),
Path.Combine("Uno.UI.Skia", Configuration, TFMCurrent),
Path.Combine("Uno.UI.Reference", Configuration, TFMCurrent),
Path.Combine("Uno.UI.Reference", Configuration, TFMPrevious),
Path.Combine("Uno.UI.Skia", Configuration, TFMPrevious),
Path.Combine("Uno.UI.Tests", Configuration, TFMCurrent),
Path.Combine("Uno.UI.Reference", Configuration, TFMCurrent),
Path.Combine("Uno.UI.Skia", Configuration, TFMCurrent),
];

var unoUIBase = Path.Combine(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,14 @@ private static PortableExecutableReference[] BuildUnoReferences()
#endif

var availableTargets = new[] {
// On CI the test assemblies set must be first, as it contains all
// dependent assemblies, which the other platforms don't (see DisablePrivateProjectReference).
Path.Combine("Uno.UI.Tests", configuration, "net8.0"),
Path.Combine("Uno.UI.Skia", configuration, "net8.0"),
Path.Combine("Uno.UI.Reference", configuration, "net8.0"),
Path.Combine("Uno.UI.Tests", configuration, "net8.0"),
Path.Combine("Uno.UI.Tests", configuration, "net9.0"),
Path.Combine("Uno.UI.Skia", configuration, "net9.0"),
Path.Combine("Uno.UI.Reference", configuration, "net9.0"),
Path.Combine("Uno.UI.Tests", configuration, "net9.0"),
};

var unoUIBase = Path.Combine(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ private static MetadataReference[] BuildUnoReferences()
#endif

var availableTargets = new[] {
// On CI the test assemblies set must be first, as it contains all
// dependent assemblies, which the other platforms don't (see DisablePrivateProjectReference).
Path.Combine("Uno.UI.Tests", configuration, "net8.0"),
Path.Combine("Uno.UI.Skia", configuration, "net8.0"),
Path.Combine("Uno.UI.Reference", configuration, "net8.0"),
Expand Down

0 comments on commit 1e70065

Please sign in to comment.