Skip to content

System.InvalidOperationException: Unknown property key for value #148

@fgonc124

Description

@fgonc124

Hi

After I upgraded VStudio from 16.11.3. to 16.11.6 I get the following error when I open/create a xamarin project

**_Xamarin.VisualStudio.UnhandledExceptionsManager Error: 0 : An unhandled error occurred. Details: Unknown property key for value list directories in which to look for classes!

System.InvalidOperationException: Unknown property key for value list directories in which to look for classes!
at Xamarin.Android.Tools.JdkInfo.<>c__DisplayClass46_0.b__0(Object o, DataReceivedEventArgs e) in D:\a_work\1\s\External\androidtools\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk\JdkInfo.cs:line 263_**

I get the same error with recent versions 16.11.7 and 16.11.8 . Even with VStudio 2022 I eget the same error.
If I install 16.11.3 everything works fine.

Do you have any idea of waht's causing this error. I've beeing struglling with this error for 2 months. Microsoft didn't help.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions