Upsdate 20240729
This commit is contained in:
19
packages/NetOffice.Core.Net45.1.7.4.11/tools/install.ps1
vendored
Normal file
19
packages/NetOffice.Core.Net45.1.7.4.11/tools/install.ps1
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$ref = $project.Object.References.Item("NetOffice")
|
||||
if ($ref -and $ref.EmbedInteropTypes)
|
||||
{
|
||||
$ref.EmbedInteropTypes = $false
|
||||
}
|
||||
|
||||
$ref = $project.Object.References.Item("OfficeApi")
|
||||
if ($ref -and $ref.EmbedInteropTypes)
|
||||
{
|
||||
$ref.EmbedInteropTypes = $false
|
||||
}
|
||||
|
||||
$ref = $project.Object.References.Item("VBIDEApi")
|
||||
if ($ref -and $ref.EmbedInteropTypes)
|
||||
{
|
||||
$ref.EmbedInteropTypes = $false
|
||||
}
|
||||
Reference in New Issue
Block a user