Skip to content

Commit

Permalink
SCAN4NET-154 ITs: Update the Xamarin test project dependencies (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource authored Oct 29, 2024
1 parent 5ff8f6d commit 7da5567
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.8.1" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.8.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,11 @@ void checkExternalIssuesCS() throws Exception {

@Test
void testXamlCompilation() throws IOException {
// We can't build with MSBuild 15
// error MSB4018: System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
// at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
assumeFalse(TestUtils.getMsBuildPath(ORCHESTRATOR).toString().contains("2017"));

String localProjectKey = PROJECT_KEY + ".11";
ORCHESTRATOR.getServer().provisionProject(localProjectKey, "Xamarin");

Expand Down

0 comments on commit 7da5567

Please sign in to comment.