Xamarin Workbooks crashing on "File...Open"

I'm trying to get started with Xamarin Workbooks 1.5. I run it and select "Console" and ".NET Framework" and then hit "Create Workbook". A new workbook is created. Then I select "File...Open". I get a busy cursor for a few seconds and then an error dialog: "Xamarin Workbooks has stopped working". I've uninstalled and reinstalled and get the same behavior. What could be going wrong here? Thank you in advance.

-L

Answers

  • YorkGoYorkGo CNMember, Xamarin Team Xamurai
  • LKeeneLKeene Member ✭✭

    Version information:

    Xamarin Workbooks

    Detail Value
    Version 1.5.0
    Git Branch 1.5-release
    Git Hash 11f83dc
    VSTS Definition Workbooks & Inspector (Win)

    System Info

    Component Value
    Windows Microsoft Windows NT 10.0.16299.0 (64-bit)
    CPU Cores 12
    Physical Memory 16 GB

    System-Installed Software

    Component Version
    Xamarin iOS 10.2.1
    Xamarin Android 7.0.2-37

    VisualStudio.15.Release Components

    Component Version
    Visual Studio Community 2017 15.9.5+28307.280

    Log file:

    Xamarin Workbooks
    Copyright 2016-2018 Microsoft. All rights reserved.
    Copyright 2014-2016 Xamarin Inc. All rights reserved.
    ├─ Version: 1.5.0
    ├─ Date: 11/27/2018 3:22:37 PM
    ├─ Hash: 11f83dc803a52b2a40596da6c8d0dd34e8991636
    ├─ Branch: 1.5-release
    └─ Lane: Workbooks & Inspector (Win)

    [Info][00:00:00.0115257] ClientApp (Initialize): AppSessionId: 6b956d24-8a99-4e4f-bcfe-8365442e1482 @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\ClientApp.cs:112
    [Info][00:00:00.6164947] Telemetry (.ctor): Machine ID: 70cb3358a5c49a1e69050883c9d5e946def5babdc33191261440b9a04a94010e @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Telemetry\Client.cs:86
    [Info][00:00:01.3064819] WorkbookAppInstallation (LocateWorkbookApps): Loading workbook apps from manifest: C:\Program Files (x86)\Xamarin\Workbooks\WorkbookApps\workbookapps.json @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\WorkbookAppInstallation.cs:215
    [Info][00:00:02.0706503] UpdaterService (CheckForUpdatesInBackground): checking for updates @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Client\Updater\UpdaterService.cs:257
    [Info][00:00:02.8502243] UpdaterService (CheckForUpdatesInBackground): no updates are available @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Client\Updater\UpdaterService.cs:267
    [Info][00:00:07.4743098] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:07.5129374] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:07.7949278] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:08.2390150] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:08.9606280] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:09.3757146] MessageViewController (LogMessage): PushMessage => Status: Connecting to agent… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    Xamarin.Interactive.Console (localhost:64244) => [Info][00:00:00.0644776] ConsoleAgent (Start): Console 'Xamarin.Interactive.Console' is available for interaction: xamarin-interactive://localhost:64244/v1?agentType=Console&sessionKind=Workbook @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Core\Agent.cs:285
    [Info][00:00:09.6652357] MessageViewController (LogMessage): PushMessage => Status: Preparing workspace… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    Xamarin.Interactive.Console (localhost:64244) => [Info][00:00:00.1384726] ConsoleAgent (ChangeDirectory): C:\WINDOWS\system32 → C:\Users\keene6\AppData\Local\Temp\ @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Core\Agent.cs:333
    [Info][00:00:09.7172875] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\Program Files (x86)\Xamarin\Workbooks\WorkbookApps\Console @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:09.7177884] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:09.7177884] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\WINDOWS\Microsoft.NET\assembly\GAC_32 @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:09.7182884] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\WINDOWS\Microsoft.NET\assembly\GAC_64 @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:11.0201152] MessageViewController (LogMessage): PushMessage => Status: Restoring packages… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:11.1232036] InteractivePackageManager (.ctor): Enumerating NuGet source repositories @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:98
    [Info][00:00:11.1586768] InteractivePackageManager (.ctor): [Microsoft Visual Studio Offline Packages] C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:91
    [Info][00:00:11.1586768] InteractivePackageManager (.ctor): [ARSensor Packages] C:\Users\keene6\Desktop\CurrentActiveProjects\Applied Software branch\Sensor Project\ARSensor SDK\ARSensor SDK @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:91
    [Info][00:00:11.1586768] InteractivePackageManager (.ctor): [nuget.org] https://api.nuget.org/v3/index.json (primary) @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:91
    [Critical][00:01:06.3144650] ClientApp:AppDomain.UnhandledException (ConfigureLogging): exception: System.TypeInitializationException: The type initializer for 'Microsoft.WindowsAPICodePack.Shell.ShellObject' threw an exception. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
    at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
    at Microsoft.WindowsAPICodePack.Shell.ShellObject..cctor()
    --- End of inner exception stack trace ---
    at Microsoft.WindowsAPICodePack.Shell.ShellObject.op_Inequality(ShellObject leftShellObject, ShellObject rightShellObject)
    at Microsoft.WindowsAPICodePack.Dialogs.CommonFileDialog.ApplyNativeSettings(IFileDialog dialog)
    at Microsoft.WindowsAPICodePack.Dialogs.CommonFileDialog.ShowDialog()
    at Xamarin.Interactive.Client.Windows.App.OpenWorkbook()
    at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
    at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
    at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
    at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
    at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
    at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
    at System.Windows.Input.CommandManager.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
    at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
    at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
    at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
    at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Windows.Threading.DispatcherOperation.Invoke()
    at System.Windows.Threading.Dispatcher.ProcessQueue()
    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    at System.Windows.Application.RunDispatcher(Object ignore)
    at System.Windows.Application.RunInternal(Window window)
    at Xamarin.Interactive.Client.Windows.App.Main(String[] args) @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\ClientApp.cs:204

    Xamarin Workbooks
    Copyright 2016-2018 Microsoft. All rights reserved.
    Copyright 2014-2016 Xamarin Inc. All rights reserved.
    ├─ Version: 1.5.0
    ├─ Date: 11/27/2018 3:22:37 PM
    ├─ Hash: 11f83dc803a52b2a40596da6c8d0dd34e8991636
    ├─ Branch: 1.5-release
    └─ Lane: Workbooks & Inspector (Win)

    [Info][00:00:00.0200015] ClientApp (Initialize): AppSessionId: 3e4e9738-9654-4c8a-8ace-e955d145dfcb @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\ClientApp.cs:112
    [Info][00:00:00.5298039] Telemetry (.ctor): Machine ID: 70cb3358a5c49a1e69050883c9d5e946def5babdc33191261440b9a04a94010e @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Telemetry\Client.cs:86
    [Info][00:00:01.0600531] WorkbookAppInstallation (LocateWorkbookApps): Loading workbook apps from manifest: C:\Program Files (x86)\Xamarin\Workbooks\WorkbookApps\workbookapps.json @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\WorkbookAppInstallation.cs:215
    [Info][00:00:01.6836437] UpdaterService (CheckForUpdatesInBackground): checking for updates @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Client\Updater\UpdaterService.cs:257
    [Info][00:00:02.1733580] UpdaterService (CheckForUpdatesInBackground): no updates are available @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Client\Updater\UpdaterService.cs:267
    [Info][00:00:03.8032239] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:03.8387331] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:04.1337617] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:04.5257259] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:05.1767236] MessageViewController (LogMessage): PushMessage => Status: Loading workbook… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:05.5388821] MessageViewController (LogMessage): PushMessage => Status: Connecting to agent… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    Xamarin.Interactive.Console (localhost:52434) => [Info][00:00:00.0640317] ConsoleAgent (Start): Console 'Xamarin.Interactive.Console' is available for interaction: xamarin-interactive://localhost:52434/v1?agentType=Console&sessionKind=Workbook @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Core\Agent.cs:285
    [Info][00:00:05.8069741] MessageViewController (LogMessage): PushMessage => Status: Preparing workspace… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    Xamarin.Interactive.Console (localhost:52434) => [Info][00:00:00.1415409] ConsoleAgent (ChangeDirectory): C:\WINDOWS\system32 → C:\Users\keene6\AppData\Local\Temp\ @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Core\Agent.cs:333
    [Info][00:00:05.8610196] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\Program Files (x86)\Xamarin\Workbooks\WorkbookApps\Console @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:05.8620198] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:05.8620198] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\WINDOWS\Microsoft.NET\assembly\GAC_32 @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:05.8620198] CompilationWorkspaceFactory (CreateDependencyResolver): Searching assembly path C:\WINDOWS\Microsoft.NET\assembly\GAC_64 @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\Compilation\CompilationWorkspaceFactory.cs:130
    [Info][00:00:06.9314398] MessageViewController (LogMessage): PushMessage => Status: Restoring packages… @ C:\vsts_work\13\s\Agents\Xamarin.Interactive\Messages\MessageViewController.cs:129
    [Info][00:00:07.0324381] InteractivePackageManager (.ctor): Enumerating NuGet source repositories @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:98
    [Info][00:00:07.0669412] InteractivePackageManager (.ctor): [Microsoft Visual Studio Offline Packages] C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:91
    [Info][00:00:07.0674395] InteractivePackageManager (.ctor): [ARSensor Packages] C:\Users\keene6\Desktop\CurrentActiveProjects\Applied Software branch\Sensor Project\ARSensor SDK\ARSensor SDK @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:91
    [Info][00:00:07.0674395] InteractivePackageManager (.ctor): [nuget.org] https://api.nuget.org/v3/index.json (primary) @ C:\vsts_work\13\s\Clients\Xamarin.Interactive.Client\NuGet\InteractivePackageManager.cs:91

Sign In or Register to comment.