Skip to content

Commit 94d432d

Browse files
authored
NetOffice v1.9.3 release (PR #385)
Configure `EmbedInteropTypes` value in classic nuget references
2 parents 3f1d459 + 91d3eca commit 94d432d

16 files changed

Lines changed: 104 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
- name: Checkout
3636
uses: actions/checkout@v3
3737

38+
- name: Setup dotnet
39+
uses: actions/setup-dotnet@v3
40+
with:
41+
dotnet-version: '7.0.201'
42+
3843
- name: Setup MSBuild
3944
uses: microsoft/setup-msbuild@v1.1
4045

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v1.9.3
4+
5+
### Fixed
6+
* Configure EmbedInteropTypes value in classic nuget references [#371](https://github.com/NetOfficeFw/NetOffice/issues/371)
7+
8+
39
## v1.9.2
410

511
### Fixed

Source/ADODB/Tools/install.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$ref = $project.Object.References.Item("ADODBApi")
4+
if ($ref -and $ref.EmbedInteropTypes)
5+
{
6+
$ref.EmbedInteropTypes = $false
7+
}

Source/Access/Tools/install.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$ref = $project.Object.References.Item("AccessApi")
4+
if ($ref -and $ref.EmbedInteropTypes)
5+
{
6+
$ref.EmbedInteropTypes = $false
7+
}

Source/DAO/Tools/install.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$ref = $project.Object.References.Item("DAOApi")
4+
if ($ref -and $ref.EmbedInteropTypes)
5+
{
6+
$ref.EmbedInteropTypes = $false
7+
}

Source/Excel/Tools/install.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$ref = $project.Object.References.Item("ExcelApi")
4+
if ($ref -and $ref.EmbedInteropTypes)
5+
{
6+
$ref.EmbedInteropTypes = $false
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$ref = $project.Object.References.Item("MSComctlLibApi")
4+
if ($ref -and $ref.EmbedInteropTypes)
5+
{
6+
$ref.EmbedInteropTypes = $false
7+
}

Source/MSDATASRC/Tools/install.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$ref = $project.Object.References.Item("MSDATASRCApi")
4+
if ($ref -and $ref.EmbedInteropTypes)
5+
{
6+
$ref.EmbedInteropTypes = $false
7+
}

Source/NetOffice.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<!-- Common properties for NetOffice projects -->
33
<PropertyGroup>
4-
<NetOfficeRelease>1.9.2</NetOfficeRelease>
4+
<NetOfficeRelease>1.9.3</NetOfficeRelease>
55
</PropertyGroup>
66

77
<PropertyGroup>
@@ -27,6 +27,7 @@
2727
<None Include="../../LICENSE.txt" Pack="true" PackagePath="/" />
2828
<None Include="../../icon.png" Pack="true" PackagePath="/" />
2929
<None Include="$(PackageReadmeFile)" Pack="true" PackagePath="/" Condition=" '$(PackageReadmeFile)' != '' " />
30+
<None Include="tools/install.ps1" Pack="true" PackagePath="/tools/install.ps1" Condition=" Exists('tools/install.ps1') " />
3031
</ItemGroup>
3132

3233
<PropertyGroup>

Source/NetOffice/Tools/install.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
$ref = $project.Object.References.Item("NetOffice")
4+
if ($ref -and $ref.EmbedInteropTypes)
5+
{
6+
$ref.EmbedInteropTypes = $false
7+
}

0 commit comments

Comments
 (0)