zzarchive-FSharp.Interop.ComProvider
zzarchive-FSharp.Interop.ComProvider copied to clipboard
"More than one nested type"
Description
Getting error FS3033 when trying to load "Microsoft Shell Controls And Automation"
Repro steps
- Step A In a .fsx-file, run the following (after fetching latest version from NuGet):
#r @"C:\temp\180819\FSharp.ComProvider.dll"
type shell = TypeLib.``Microsoft Shell Controls And Automation``.``1.0``
Expected behavior
Not error...
Actual behavior
error FS3033: The type provider 'FSharp.ComProvider.ComProvider' reported an error: There is more than one nested type called '1.0' in type 'TypeLib.Microsoft Shell Controls And Automation'
Related information
- Operating system
Windows 10
- Branch
- .NET Runtime, CoreCLR or Mono Version
Runtime from latest version of Visual Studio 15.8. Tried in both Visual Studio and Emacs.
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/CommonExtensions/Microsoft/FSharp/fsi.exe" "C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/CommonExtensions/Microsoft/FSharp/fsc.exe"