Skip to content

Commit f4253a6

Browse files
committed
Add ComVisible(true) attribute for Ribbon, which helps with new F# projects
1 parent ae83d0c commit f4253a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FSharpRibbon/MyRibbon.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ let showMessage () =
1616

1717

1818
// This type defines the ribbon interface. It is a public class that derives from ExcelRibbon
19+
[<ComVisible(true)>] // This attribute is only needed if there is an assembly-level [<assembly:ComVisible(false)>] attribute.
1920
type public MyRibbon() =
2021
inherit ExcelRibbon()
2122

0 commit comments

Comments
 (0)