Skip to content

Xamarin Android app build fails on Windows 10 with GetAdditionalResourcesFromAssemblies throwing an exception (GenerateBuildSessionId in case of iOS) #1580

Closed
@srikcgaa2

Description

@srikcgaa2

Steps to Reproduce

  1. On a Windows 10 machine, ensure the group policy "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" is set to "Enabled"
  2. Create a new Xamarin Android application in Visual Studio 2015 Professional Update 3. Sample project attached with this issue.
  3. Build the project

Expected Behavior

Build should be successful

Actual Behavior

Build fails due to a crash with GetAdditionalResourcesFromAssemblies step throwing an InvalidOperationException. If we create a new Xamarin iOS Application instead of Android, the failure occurs from GenerateBuildSessionId step

Version Information

Please see the attached file for Visual Studio version information as well as Windows 10 system information along with the Security Group Policy screenshot. Pasted below as well for quick reference

Microsoft Visual Studio Professional 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.7.02558

Installed Version: Professional

Visual Basic 2015 00322-50052-91952-AA572
Microsoft Visual Basic 2015

Visual C# 2015 00322-50052-91952-AA572
Microsoft Visual C# 2015

Visual C++ 2015 00322-50052-91952-AA572
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package 7.0.20622.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/

Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

ILSpy.AddIn 1.0
Integration of the ILSpy Decompiler into Visual Studio.

JavaScript Language Service 2.0
JavaScript Language Service

JavaScript Project System 2.0
JavaScript Project System

JetBrains ReSharper Ultimate 2016.1.2 Build 105.0.20160522.80219
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2018 JetBrains, Inc.

Merq 1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools

Microsoft Team Foundation Server 2015 Power Tools 14.0
Power Tools that extend the Team Foundation Server integration with Visual Studio.

Microsoft Visual Studio Process Editor 1.0
Process Editor for Microsoft Visual Studio Team Foundation Server

Mono Debugging for Visual Studio 4.7.4-pre (c2d89eb)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager 3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

ShelvesetComparer 1.0
The extension allows you to compare files in two shelvesets.

SQL Server Data Tools 14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript 1.8.36.0
TypeScript tools for Visual Studio

Visual Studio Spell Check Everywhere VSSpellCheckEverywhere
An extension that enables spell checking within any Visual Studio file editor or tool window that uses WPF text boxes.
https://GitHub.com/EWSoftware/VSSpellChecker

Visual Studio Spell Checker VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type or interactively with tool windows.
https://GitHub.com/EWSoftware/VSSpellChecker

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

Xamarin 4.7.10.38 (34c1b6c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android 8.0.2.1 (c2a33d8)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS 11.3.0.47 (51128b8)
Visual Studio extension to enable development for Xamarin.iOS.

Log File

Xamarin Log file attached. Please check the logs dated 19/April/2018

App2.zip
security policy
System Info.txt
VS Studio info.txt
XamarinLogs.zip

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions