Skip to content

Link assemblies causes app crashes if you have an EditText in VS2019 Preview 2 #3263

@FANMixco

Description

@FANMixco

Steps to Reproduce

  1. Add an EditText
  2. Choose TextChanged. (Example: txtSearch.TextChanged += TxtSearch_TextChanged;)
  3. Choose Linking with either "Sdk Assemblies Only" or "Sdk and User Assemblies".
  4. Execute the program.

Expected Behavior

Be able to execute the TextChanged on Linking with either "Sdk Assemblies Only" or "Sdk and User Assemblies".

Actual Behavior

App crashes because it cannot load ITextWatcherInvoker.

Version Information

Windows 10, May Update.
Visual Studio 2019 Preview 2.

Log File

System.TypeLoadException: 'Could not load type 'Android.Text.ITextWatcherInvoker' from assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.'

Annotation 2019-06-20 003519

P.S.

It's working in Visual Studio for Mac.

VS bug #947890

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: App RuntimeIssues in `libmonodroid.so`.bugComponent does not function as intended.vs-syncFor internal use only; creates a VSTS "mirror" issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions