-
Notifications
You must be signed in to change notification settings - Fork 840
Description
When using tab-complete in an instance of dotnet fsi, it will kick out an FS1108 error related to the "Windows" assembly if you are tabbing two properties deep. This does not prevent the actual usage of the second property as you can type it out and access it that way just fine.
Screenshots for:
Repro steps
Provide the steps required to reproduce the problem:
- Start FSI using
dotnet fsi - Find an object with two properties you need to tab into (ie, DateTime.Now.Ticks or CultureInfo.CurrentCulture.Name)
- Press tab to tab complete after the first property
Expected behavior
FSI would complete or tab through available options. Such as Ticks or Name.
Actual behavior
In all cases, it will fail with error FS1108, the exact nature of the error seems to vary between my work laptop and my home computer / Alpine Linux box.
Work Laptop Error: stdin(0,1): error FS1108: The type 'IRandomAccessStream' is required here and is unavailable. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null
Home PC Error: stdin(0,1): error FS1108: The type 'IAsyncOperationWithProgress`2' is required here and is unavailable. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'.
Alpine Linux Error: /root/stdin(0,1): error FS1108: The type 'IAsyncOperationWithProgress`2' is required here and is unavailable. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'.
Known workarounds
- Not tab-completing and just typing out the name of the property works fine.
- For Windows: Using the non-core FSI version (fsi.exe).
Related information
Provide any related information (optional):
Home PC:
- Windows 10 Pro, Version 10.19041 Build 19041
- Installed Runtimes:
Microsoft.AspNetCore.All 2.1.23
Microsoft.AspNetCore.App 2.1.23
Microsoft.AspNetCore.App 3.1.1
Microsoft.AspNetCore.App 3.1.9
Microsoft.NETCore.App 2.1.23
Microsoft.NETCore.App 3.1.1
Microsoft.NETCore.App 3.1.9
Microsoft.WindowsDesktop.App 3.1.1
Microsoft.WindowsDesktop.App 3.1.9
Work PC:
- Windows 10 Pro, Version 10.0.17763 Build 17763
- Installed Runtimes:
Microsoft.AspNetCore.All 2.1.11
Microsoft.AspNetCore.All 2.1.19
Microsoft.AspNetCore.All 2.1.22
Microsoft.AspNetCore.All 2.2.5
Microsoft.AspNetCore.All 2.2.8
Microsoft.AspNetCore.App 2.1.11
Microsoft.AspNetCore.App 2.1.19
Microsoft.AspNetCore.App 2.1.22
Microsoft.AspNetCore.App 2.2.5
Microsoft.AspNetCore.App 2.2.8
Microsoft.AspNetCore.App 3.1.1
Microsoft.AspNetCore.App 3.1.5
Microsoft.AspNetCore.App 3.1.8
Microsoft.NETCore.App 2.1.11
Microsoft.NETCore.App 2.1.19
Microsoft.NETCore.App 2.1.22
Microsoft.NETCore.App 2.2.5
Microsoft.NETCore.App 2.2.8
Microsoft.NETCore.App 3.1.5
Microsoft.NETCore.App 3.1.8
Microsoft.WindowsDesktop.App 3.1.5
Microsoft.WindowsDesktop.App 3.1.8
Alpine Linux Box:
- Alpine Linux v3.12
- Installed Runtimes:
Microsoft.AspNetCore.App 3.1.9
Microsoft.NETCore.App 3.1.9

