{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3788","repository_url":"https://api.github.com/repos/xamarin/xamarin-macios","labels_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3788/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3788/comments","events_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3788/events","html_url":"https://github.com/xamarin/xamarin-macios/issues/3788","id":306970371,"number":3788,"title":"Retrieving a custom attribute value having type System.Type fails with a TypeLoadException","user":{"login":"cwrea","id":3652107,"avatar_url":"https://avatars3.githubusercontent.com/u/3652107?v=4","gravatar_id":"","url":"https://api.github.com/users/cwrea","html_url":"https://github.com/cwrea","followers_url":"https://api.github.com/users/cwrea/followers","following_url":"https://api.github.com/users/cwrea/following{/other_user}","gists_url":"https://api.github.com/users/cwrea/gists{/gist_id}","starred_url":"https://api.github.com/users/cwrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwrea/subscriptions","organizations_url":"https://api.github.com/users/cwrea/orgs","repos_url":"https://api.github.com/users/cwrea/repos","events_url":"https://api.github.com/users/cwrea/events{/privacy}","received_events_url":"https://api.github.com/users/cwrea/received_events","type":"User","site_admin":false},"labels":[{"id":770328998,"url":"https://api.github.com/repos/xamarin/xamarin-macios/labels/iOS","name":"iOS","color":"edd60e","default":false}],"state":"open","locked":false,"assignee":{"login":"spouliot","id":260465,"avatar_url":"https://avatars2.githubusercontent.com/u/260465?v=4","gravatar_id":"","url":"https://api.github.com/users/spouliot","html_url":"https://github.com/spouliot","followers_url":"https://api.github.com/users/spouliot/followers","following_url":"https://api.github.com/users/spouliot/following{/other_user}","gists_url":"https://api.github.com/users/spouliot/gists{/gist_id}","starred_url":"https://api.github.com/users/spouliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spouliot/subscriptions","organizations_url":"https://api.github.com/users/spouliot/orgs","repos_url":"https://api.github.com/users/spouliot/repos","events_url":"https://api.github.com/users/spouliot/events{/privacy}","received_events_url":"https://api.github.com/users/spouliot/received_events","type":"User","site_admin":false},"assignees":[{"login":"spouliot","id":260465,"avatar_url":"https://avatars2.githubusercontent.com/u/260465?v=4","gravatar_id":"","url":"https://api.github.com/users/spouliot","html_url":"https://github.com/spouliot","followers_url":"https://api.github.com/users/spouliot/followers","following_url":"https://api.github.com/users/spouliot/following{/other_user}","gists_url":"https://api.github.com/users/spouliot/gists{/gist_id}","starred_url":"https://api.github.com/users/spouliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spouliot/subscriptions","organizations_url":"https://api.github.com/users/spouliot/orgs","repos_url":"https://api.github.com/users/spouliot/repos","events_url":"https://api.github.com/users/spouliot/events{/privacy}","received_events_url":"https://api.github.com/users/spouliot/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/milestones/9","html_url":"https://github.com/xamarin/xamarin-macios/milestone/9","labels_url":"https://api.github.com/repos/xamarin/xamarin-macios/milestones/9/labels","id":2969797,"number":9,"title":"Future","description":"Reviewed but not assigned to a specific milestone","creator":{"login":"spouliot","id":260465,"avatar_url":"https://avatars2.githubusercontent.com/u/260465?v=4","gravatar_id":"","url":"https://api.github.com/users/spouliot","html_url":"https://github.com/spouliot","followers_url":"https://api.github.com/users/spouliot/followers","following_url":"https://api.github.com/users/spouliot/following{/other_user}","gists_url":"https://api.github.com/users/spouliot/gists{/gist_id}","starred_url":"https://api.github.com/users/spouliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spouliot/subscriptions","organizations_url":"https://api.github.com/users/spouliot/orgs","repos_url":"https://api.github.com/users/spouliot/repos","events_url":"https://api.github.com/users/spouliot/events{/privacy}","received_events_url":"https://api.github.com/users/spouliot/received_events","type":"User","site_admin":false},"open_issues":89,"closed_issues":81,"state":"open","created_at":"2017-12-10T22:47:28Z","updated_at":"2018-04-11T21:30:55Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-03-20T17:42:26Z","updated_at":"2018-04-12T05:15:26Z","closed_at":null,"author_association":"NONE","body":"### Steps to Reproduce\r\n\r\n1. Download, extract, and load the sample solution (see zip file at bottom).\r\n2. Build and run the iOS project, targeting either iPhone or iPhone Simulator.\r\n\r\n  The sample project includes a .NET Standard library with a single class containing some xUnit-style tests. There are iOS and Android platform projects that use xUnit's device runners to run the tests. Each test body simply asserts true &mdash; the tests differ only in signature and xUnit attributes used.\r\n\r\n### Expected Behavior\r\n\r\n- All 4 tests should report as succeeded. (Note that while there are 3 methods in the test class, one of the test methods is a `[Theory]` with two distinct parameter values passed via `[InlineData]` attributes on the test. Hence the total executed test count of 4.)\r\n\r\n### Actual Behavior\r\n\r\n- Only 3 of 4 tests report as succeeded. The test that fails, due to exception, uses the xUnit `[Theory]` attribute with `[InlineData]` and a value of type `System.Type`: `[InlineData(typeof(string))]`. The exception reported is:\r\n\r\n\r\n> EFCoreCPTest.XunitInlineDataTest.TheoryStyleTest_WithInlineDataAttribute_ShouldAlwaysSucceed :\r\n>   System.TypeLoadException : Could not load type System.String, netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 while decoding custom attribute: (null)\r\n>   at (wrapper managed-to-native) System.Reflection.CustomAttributeData.ResolveArgumentsInternal(\r\n>     System.Reflection.ConstructorInfo,System.Reflection.Assembly,intptr,uint,object[]&,object[]&)\r\n> \r\n\r\nXamarin.Android also shows the same test failing in the same way. FWIW, this test succeeds in .NET Core, .NET Framework, and UWP. This issue was discovered while [trying to adapt](https://github.com/aspnet/EntityFrameworkCore/issues/8792) some of the unit tests from Entity Framework Core to run in iOS and Android apps. This kind of test is used in EF Core's own test suite. See method `It_maps_strings_to_not_null_types()` at: https://github.com/aspnet/EntityFrameworkCore/blob/2.0.2/test/EFCore.Sqlite.Tests/Storage/SqliteTypeMappingTest.cs\r\n\r\nI thought perhaps as this is Reflection-related that it could be a known limitation in Xamarin, but [in the Xamarin.iOS Limitations page](https://docs.microsoft.com/en-us/xamarin/ios/internals/limitations), at bottom of the System.Reflection.Emit section, it mentions *\"But [except for Reflection.Emit] the entire Reflection API, including Type.GetType (\"someClass\"), listing methods, listing properties, fetching attributes and values works just fine.\"*\r\n\r\nWhile the attribute value in this case is not a simple type like `string` or `int`, having an attribute value of type `System.Type` is clearly of *some* use, and I think this ought to work.\r\n\r\n### Environment\r\n\r\n```\r\nMicrosoft Visual Studio Community 2017 \r\nVersion 15.5.7\r\nVisualStudio.15.Release/15.5.7+27130.2036\r\nMicrosoft .NET Framework\r\nVersion 4.7.02556\r\n\r\nInstalled Version: Community\r\n\r\nVisual Basic 2017   00369-60000-00001-AA398\r\nMicrosoft Visual Basic 2017\r\n\r\nVisual C# 2017   00369-60000-00001-AA398\r\nMicrosoft Visual C# 2017\r\n\r\nVisual C++ 2017   00369-60000-00001-AA398\r\nMicrosoft Visual C++ 2017\r\n\r\nVisual F# 4.1   00369-60000-00001-AA398\r\nMicrosoft Visual F# 4.1\r\n\r\nAdd New File   3.5\r\nThe fastest and easiest way to add new files to any project - including files that start with a dot\r\n\r\nApplication Insights Tools for Visual Studio Package   8.10.01106.1\r\nApplication Insights Tools for Visual Studio\r\n\r\nASP.NET and Web Tools 2017   15.0.31129.0\r\nASP.NET and Web Tools 2017\r\n\r\nASP.NET Core Razor Language Services   1.0\r\nProvides languages services for ASP.NET Core Razor.\r\n\r\nASP.NET Web Frameworks and Tools 2012   4.0.20601.0\r\nFor additional information, visit https://www.asp.net/\r\n\r\nASP.NET Web Frameworks and Tools 2017   5.2.51007.0\r\nFor additional information, visit https://www.asp.net/\r\n\r\nAzure App Service Tools v3.0.0   15.0.31106.0\r\nAzure App Service Tools v3.0.0\r\n\r\nCodeMaid   10.4.53\r\nCodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.\r\n\r\nCommon Azure Tools   1.10\r\nProvides common services for use by Azure Mobile Services and Microsoft Azure Tools.\r\n\r\nJavaScript Language Service   2.0\r\nJavaScript Language Service\r\n\r\nJavaScript Project System   2.0\r\nJavaScript Project System\r\n\r\nJavaScript UWP Project System   2.0\r\nJavaScript UWP Project System\r\n\r\nJetBrains ReSharper Ultimate 2017.2.2    Build 109.0.20171006.122324\r\nJetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2018 JetBrains, Inc.\r\n\r\nMerq   1.1.17-rc (cba4571)\r\nCommand Bus, Event Stream and Async Manager for Visual Studio extensions.\r\n\r\nMicrosoft Continuous Delivery Tools for Visual Studio   0.3\r\nSimplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.\r\n\r\nMicrosoft JVM Debugger   1.0\r\nProvides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines\r\n\r\nMicrosoft MI-Based Debugger   1.0\r\nProvides support for connecting Visual Studio to MI compatible debuggers\r\n\r\nMicrosoft Visual C++ Wizards   1.0\r\nMicrosoft Visual C++ Wizards\r\n\r\nMicrosoft Visual Studio Tools for Containers   1.1\r\nDevelop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.\r\n\r\nMicrosoft Visual Studio VC Package   1.0\r\nMicrosoft Visual Studio VC Package\r\n\r\nMono Debugging for Visual Studio   4.8.4-pre (3fe64e3)\r\nSupport for debugging Mono processes with Visual Studio.\r\n\r\nNode.js Tools   1.4.11025.7\r\nAdds support for developing and debugging Node.js apps in Visual Studio\r\n\r\nNuGet Package Manager   4.5.0\r\nNuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.\r\n\r\nOpen Command Line   2.1.179\r\nOpens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.\r\n\r\nSearch in Velocity by Silverlake Software LLC   0.7.1\r\nProvides a command to search in Velocity the offline documentation and docset viewer for Windows\r\n\r\nSQL Server Data Tools   15.1.61710.120\r\nMicrosoft SQL Server Data Tools\r\n\r\nSQLite & SQL Server Compact Toolbox   4.7\r\nSQLite & SQL Server Compact Toolbox adds scripting, import, export, rename, query execution and much more to SQL Server Compact & SQLite Data Connections.\r\n\r\nSyntax Visualizer   1.0\r\nAn extension for visualizing Roslyn SyntaxTrees.\r\n\r\nTypeScript Tools   15.5.11025.1\r\nTypeScript Tools for Microsoft Visual Studio\r\n\r\nVisual Studio Code Debug Adapter Host Package   1.0\r\nInterop layer for hosting Visual Studio Code debug adapters in Visual Studio\r\n\r\nVisual Studio Tools for Universal Windows Apps   15.0.27130.2036\r\nThe Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.\r\n\r\nVisualStudio.Mac   1.0\r\nMac Extension for Visual Studio\r\n\r\nVSColorOutput   2.5.1\r\nColor output for build and debug windows - http://mike-ward.net/vscoloroutput\r\n\r\nXamarin   4.8.0.760 (fc93f3f5b)\r\nVisual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.\r\n\r\nXamarin Designer   4.8.188 (c5813fa34)\r\nVisual Studio extension to enable Xamarin Designer tools in Visual Studio.\r\n\r\nXamarin.Android SDK   8.1.5.0 (HEAD/75f8c6838)\r\nXamarin.Android Reference Assemblies and MSBuild support.\r\n\r\nXamarin.iOS and Xamarin.Mac SDK   11.6.1.4 (db807ec)\r\nXamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.\r\n```\r\n\r\n### Build Logs\r\n\r\n```\r\n1>------ Rebuild All started: Project: XunitInlineDataIssue, Configuration: Debug Any CPU ------\r\n1>XunitInlineDataTest.cs(10,83,10,92): warning xUnit1026: Theory method 'TheoryStyleTest_WithInlineDataAsType_ShouldAlwaysSucceed' on test class 'XunitInlineDataTest' does not use parameter 'typeValue'.\r\n1>XunitInlineDataTest.cs(32,87,32,98): warning xUnit1026: Theory method 'TheoryStyleTest_WithInlineDataAsString_ShouldAlwaysSucceed' on test class 'XunitInlineDataTest' does not use parameter 'stringValue'.\r\n1>XunitInlineDataIssue -> D:\\Projects\\XunitInlineDataIssueSoln\\XunitInlineDataIssue\\XunitInlineDataIssue\\bin\\Debug\\netstandard2.0\\XunitInlineDataIssue.dll\r\n1>Done building project \"XunitInlineDataIssue.csproj\".\r\n2>------ Rebuild All started: Project: XunitInlineDataIssue.iOS, Configuration: Debug iPhone ------\r\n2>  Connecting to Mac server cwrea-mini...\r\n2>  No way to resolve conflict between \"System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Collections, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Collections, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Diagnostics.Debug, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Diagnostics.Debug, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Diagnostics.Debug, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Threading.Tasks, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Threading, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Threading, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Threading, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Globalization, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Globalization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Globalization, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Reflection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Reflection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Reflection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.IO, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.IO, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.IO, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Runtime.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Runtime.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Runtime.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Text.RegularExpressions, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Text.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Text.RegularExpressions, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Collections.Concurrent, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Collections.Concurrent, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Collections.Concurrent, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  No way to resolve conflict between \"System.Text.Encoding, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" and \"System.Text.Encoding, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\". Choosing \"System.Text.Encoding, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" arbitrarily.\r\n2>  Consider app.config remapping of assembly \"System.Runtime, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Runtime\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Runtime.dll] to Version \"4.1.0.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Runtime.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Text.RegularExpressions, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Text.RegularExpressions\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Text.RegularExpressions.dll] to Version \"4.0.10.0\" [] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.IO, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.IO\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.IO.dll] to Version \"4.1.0.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.IO.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Globalization, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Globalization\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Globalization.dll] to Version \"4.0.10.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Globalization.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Text.Encoding, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Text.Encoding\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Text.Encoding.dll] to Version \"4.0.10.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Text.Encoding.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Runtime.Extensions, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Runtime.Extensions\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Runtime.Extensions.dll] to Version \"4.1.0.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Runtime.Extensions.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Collections, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Collections\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Collections.dll] to Version \"4.0.10.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Collections.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Threading, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Threading\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Threading.dll] to Version \"4.0.10.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Threading.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Diagnostics.Debug, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Diagnostics.Debug\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Diagnostics.Debug.dll] to Version \"4.0.10.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Diagnostics.Debug.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Reflection, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Reflection\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Reflection.dll] to Version \"4.1.0.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Reflection.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Collections.Concurrent, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Collections.Concurrent\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Collections.Concurrent.dll] to Version \"4.0.10.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Collections.Concurrent.dll] to solve conflict and get rid of warning.\r\n2>  Consider app.config remapping of assembly \"System.Threading.Tasks, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" from Version \"4.0.0.0\" [C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Threading.Tasks\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Threading.Tasks.dll] to Version \"4.0.10.0\" [C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\Xamarin.iOS\\v1.0\\Facades\\System.Threading.Tasks.dll] to solve conflict and get rid of warning.\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(2041,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the \"AutoGenerateBindingRedirects\" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190.\r\n2>  XunitInlineDataIssue.iOS -> D:\\Projects\\XunitInlineDataIssueSoln\\XunitInlineDataIssue\\XunitInlineDataIssue.iOS\\bin\\iPhone\\Debug\\XunitInlineDataIssue.iOS.exe\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\Xamarin.Apple.Sdk.targets(57,5): warning : Portable PDB 'D:\\Projects\\XunitInlineDataIssueSoln\\XunitInlineDataIssue\\XunitInlineDataIssue\\bin\\Debug\\netstandard2.0\\XunitInlineDataIssue.pdb' can't be converted to mdb. Consider setting the project 'DebugType' property to 'Full'.\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\Xamarin.Apple.Sdk.targets(57,5): warning :    at Pdb2Mdb.Converter.Convert(String filename) in C:\\d\\lanes\\5409\\fc93f3f5\\source\\xamarinvs\\src\\MSBuild\\Xamarin.iOS.Tasks\\Pdb2mdb\\Driver.cs:line 44\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\Xamarin.Apple.Sdk.targets(57,5): warning :    at Xamarin.iOS.Tasks.ConvertDebuggingFiles.Execute() in C:\\d\\lanes\\5409\\fc93f3f5\\source\\xamarinvs\\src\\MSBuild\\Xamarin.iOS.Tasks\\Tasks\\ConvertDebuggingFiles.cs:line 27\r\n2>  Detected signing identity:\r\n2>    Code Signing Key: \"iPhone Developer: [...] (...)\" \r\n2>    Provisioning Profile: \"cwrea iOS Dev Prov. Profile\" (...)\r\n2>    Bundle Id: com.yourcompany.XunitInlineDataIssue\r\n2>    App Id: J7ADM89KY9.com.yourcompany.XunitInlineDataIssue\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\iOS\\Xamarin.iOS.Common.targets(777,3): warning : The assembly 'System.IO.Compression.dll' was loaded from a different path than the provided path (provided path: /Users/cwrea/Library/Caches/Xamarin/mtbs/builds/XunitInlineDataIssue.iOS/5bac9afcccb30970a3b46c9e91dd09d6/bin/iPhone/Debug/System.IO.Compression.dll, actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/lib/mono/Xamarin.iOS/System.IO.Compression.dll).\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\iOS\\Xamarin.iOS.Common.targets(777,3): warning : The assembly 'System.Net.Http.dll' was loaded from a different path than the provided path (provided path: /Users/cwrea/Library/Caches/Xamarin/mtbs/builds/XunitInlineDataIssue.iOS/5bac9afcccb30970a3b46c9e91dd09d6/bin/iPhone/Debug/System.Net.Http.dll, actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/lib/mono/Xamarin.iOS/System.Net.Http.dll).\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\iOS\\Xamarin.iOS.Common.targets(777,3): warning : The assembly 'System.Runtime.InteropServices.RuntimeInformation.dll' was loaded from a different path than the provided path (provided path: /Users/cwrea/Library/Caches/Xamarin/mtbs/builds/XunitInlineDataIssue.iOS/5bac9afcccb30970a3b46c9e91dd09d6/bin/iPhone/Debug/System.Runtime.InteropServices.RuntimeInformation.dll, actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/lib/mono/Xamarin.iOS/Facades/System.Runtime.InteropServices.RuntimeInformation.dll).\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\iOS\\Xamarin.iOS.Common.targets(777,3): warning : The assembly 'System.Security.Cryptography.Algorithms.dll' was loaded from a different path than the provided path (provided path: /Users/cwrea/Library/Caches/Xamarin/mtbs/builds/XunitInlineDataIssue.iOS/5bac9afcccb30970a3b46c9e91dd09d6/bin/iPhone/Debug/System.Security.Cryptography.Algorithms.dll, actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Algorithms.dll).\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\iOS\\Xamarin.iOS.Common.targets(777,3): warning : The assembly 'System.Security.Cryptography.Encoding.dll' was loaded from a different path than the provided path (provided path: /Users/cwrea/Library/Caches/Xamarin/mtbs/builds/XunitInlineDataIssue.iOS/5bac9afcccb30970a3b46c9e91dd09d6/bin/iPhone/Debug/System.Security.Cryptography.Encoding.dll, actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Encoding.dll).\r\n2>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\Xamarin\\iOS\\Xamarin.iOS.Common.targets(777,3): warning : The assembly 'System.Security.Cryptography.X509Certificates.dll' was loaded from a different path than the provided path (provided path: /Users/cwrea/Library/Caches/Xamarin/mtbs/builds/XunitInlineDataIssue.iOS/5bac9afcccb30970a3b46c9e91dd09d6/bin/iPhone/Debug/System.Security.Cryptography.X509Certificates.dll, actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.X509Certificates.dll).\r\n2>  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: removing global symbols from a final linked no longer supported.  Use -exported_symbols_list at link time when building: /Users/cwrea/Library/Caches/Xamarin/mtbs/builds/XunitInlineDataIssue.iOS/5bac9afcccb30970a3b46c9e91dd09d6/bin/iPhone/Debug/XunitInlineDataIssue.iOS.app/XunitInlineDataIssue.iOS\r\n2>  bin/iPhone/Debug/XunitInlineDataIssue.iOS.app: valid on disk\r\n2>  bin/iPhone/Debug/XunitInlineDataIssue.iOS.app: satisfies its Designated Requirement\r\n2>  bin/iPhone/Debug/XunitInlineDataIssue.iOS.app: explicit requirement satisfied\r\n========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========\r\n\r\nProjects build report:\r\n  Status    | Project [Config|platform]\r\n -----------|---------------------------------------------------------------------------------------------------\r\n  Succeeded | XunitInlineDataIssue\\XunitInlineDataIssue\\XunitInlineDataIssue.csproj [Debug|Any CPU]\r\n  Succeeded | XunitInlineDataIssue\\XunitInlineDataIssue.iOS\\XunitInlineDataIssue.iOS.csproj [Debug|iPhone]\r\n\r\nTime Elapsed 00:00:45.595\r\n```\r\n### Example Project (If Possible)\r\n\r\n[XunitInlineDataIssueSoln.zip](https://github.com/xamarin/xamarin-macios/files/1830465/XunitInlineDataIssueSoln.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/comments/380680667","html_url":"https://github.com/xamarin/xamarin-macios/issues/3788#issuecomment-380680667","issue_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3788","id":380680667,"user":{"login":"rolfbjarne","id":249268,"avatar_url":"https://avatars0.githubusercontent.com/u/249268?v=4","gravatar_id":"","url":"https://api.github.com/users/rolfbjarne","html_url":"https://github.com/rolfbjarne","followers_url":"https://api.github.com/users/rolfbjarne/followers","following_url":"https://api.github.com/users/rolfbjarne/following{/other_user}","gists_url":"https://api.github.com/users/rolfbjarne/gists{/gist_id}","starred_url":"https://api.github.com/users/rolfbjarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolfbjarne/subscriptions","organizations_url":"https://api.github.com/users/rolfbjarne/orgs","repos_url":"https://api.github.com/users/rolfbjarne/repos","events_url":"https://api.github.com/users/rolfbjarne/events{/privacy}","received_events_url":"https://api.github.com/users/rolfbjarne/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T05:15:26Z","updated_at":"2018-04-12T05:15:26Z","author_association":"MEMBER","body":"> The signature, taking an array of System.Object, not System.Type might be the cause why the linker did not resolve the type (from the data) and re-write it (to the final destination/asembly)\r\n\r\nSounds like a variation/duplicate of https://bugzilla.xamarin.com/show_bug.cgi?id=57825."}}
{"actor":{"display_login":"rolfbjarne"}}