Files
OnDoc/packages/NetOffice.Word.Net45.1.7.4.11/tools/install.ps1
2024-07-29 15:00:22 +02:00

8 lines
181 B
PowerShell

param($installPath, $toolsPath, $package, $project)
$ref = $project.Object.References.Item("WordApi")
if ($ref -and $ref.EmbedInteropTypes)
{
$ref.EmbedInteropTypes = $false
}