TypeLoadException error on first ReFramework project creation

studio
ce
18_1

#1

Nothing major, but:

Scenario:

Following error pops up on creating ReFramework project in 18.1 CE just after updating:

-------------------------
Workflow Designer
-------------------------
TypeLoadException:
Cannot resolve dependency to Windows Runtime type 'Windows.Storage.Streams.IBuffer'. When using the ReflectionOnly APIs, dependent Windows Runtime assemblies must be resolved on demand through the ReflectionOnlyNamespaceResolve event.
-------------------------
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at System.Activities.Presentation.View.ImportDesigner.GetUniqueNamespacesInAssembly(Assembly assembly, AssemblyContextControlItem assemblyContextItem)
   at System.Activities.Presentation.View.ImportDesigner.UpdateAvailableNamespaces(Assembly assembly, AssemblyContextControlItem assemblyContextItem)
   at System.Activities.Presentation.View.ImportDesigner.OnReferenceUpdated(Assembly assembly, Boolean isAdded)
   at System.Activities.Presentation.View.ImportDesigner.<>c__DisplayClass56_0.<OnAssemblyLoad>b__0()
   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)

Steps to reproduce:

  1. Update to 2018.1.0 CE (auto update) by restarting until splash screen shows 2018.1.0
  2. Create new ReFramework project

Note:
Could not reproduce further, only first project got that. Following ones or reopening did not produce error.

Current Behavior:

Error displayed.

Expected Behavior:

No error.

Studio/Robot/Orchestrator Version:

Encountered in: 2018.1.0 CE
Last stable behavior: N/A
Last stable version: N/A
OS Version: WIn10 Home
Others if Relevant: (workflow, logs, .net version, service pack, etc):


#2

you got like a pop up message, right? the workflow though looks ok?


#3

Yes, it was just a popup, things looked ok and couldn’t replicate further.

It also looked like app was updating in stages (first new options came up in Help, second start TBP got replaced with ReFramework, third start splash showed 2018.1) so it might also be related to that.