Excel Interop с LINQPad 6 - PullRequest
       40

Excel Interop с LINQPad 6

0 голосов
/ 13 октября 2019

При использовании Excel Interop в LINQPad 6 я получаю следующую ошибку:

FileNotFoundException: Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. The system cannot find the file specified.

В поисках этой ошибки я нашел следующее в social.msdn.microsoft.com ([https://social.msdn.microsoft.com/Forums/vstudio/en-US/3a5cfda5-506b-46f8-94d3-f3af73a4ec49/problem-referencing-office-interop-from-net-core-3-preview-6][1]):

Описание проблемы, аналогичной моей, но с VS и в .Net Core 3: Problem referencing Office Interop from .Net Core 3 (preview 6)

С решением: ... set "Embed Interop Types" to the value "yes" ... Voila and working!

Вопрос: Есть ли для меня подобное решение для кода в LINQPAD 6?

...