Asbjørn Riis-Knudsen

Results 29 comments of Asbjørn Riis-Knudsen

@weltkante Thank you for the context, wasn't having much luck searching. The Office team really needs to wake up and realize that HTML/JS is fine for simple addins, but complex...

@RussKie I don't believe this has anything to do with VSTO, so that label should be removed. In fact the original post explicitly states that I am *not* using VSTO...

@1R053 Thank you for creating the PR. It certainly fixes the NullReference exception for me. However, there appears to be other issues resulting in the ActiveX control not being created...

@1R053 For me it actually gets as far as calling the constructor of the UserControl now. Definitely progress. But after executing the constructor successfully, it fails. I have a feeling...

@RussKie As for my use case, I'm currently attempting a proof of concept to determine whether whether we can do an Outlook addin without VSTO, since there apparently no desire...

@RussKie What I have is a proof of concept, so I have no issues sharing it publicly. I'll upload it to GitHub later this week and post a link here...

@RussKie As promised, I have now uploaded my proof-of-concept to a GitHub repository: https://github.com/arknu/OutlookAddinNet5. It is pretty much as simple as can be - adding a few buttons to the...

@weltkante Thank you for taking a look at my code. Adding the interface and the `ComDefaultInterface` attribute fixed the problem. I can now show a custom task pane with a...

@weltkante @RussKie A quick question: I have now made a .NET 6 version of the proof-of-concept and I noticed something strange: I cannot load both the .NET 5 and 6...

@1R053 Yes, Outlook has two distinct addins: ![image](https://user-images.githubusercontent.com/4654741/111276194-5efe9d00-8637-11eb-9989-47107b837604.png) But the .NET 6 one has a COM runtime error when loading: ![image](https://user-images.githubusercontent.com/4654741/111276290-79387b00-8637-11eb-828c-d3df4ebf0ccc.png) However, if I disable the .NET 5 addin (by...