Skip to content

Commit 46d8adb

Browse files
committed
revert build changes, modify csprojs
1 parent 6af3dc9 commit 46d8adb

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/AddIn-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ jobs:
6161
- name: Checkout
6262
uses: actions/checkout@v4
6363
with:
64-
lfs: true
6564
fetch-depth: 0
6665

6766
# Install the .NET Core workload
@@ -97,7 +96,9 @@ jobs:
9796
# Create the app package by building and packaging the Windows Application Packaging project
9897
- name: Create the app package
9998
run: |
100-
msbuild AddIn/Itemis_Integrate_EA_Example_AddIn.sln /p:Configuration=Release /p:Platform="x86" /detailedsummary /v:detailed
99+
cd AddIn
100+
dir
101+
msbuild Itemis_Integrate_EA_Example_AddIn.sln /p:Configuration=Release /p:Platform="Any CPU" /detailedsummary /v:detailed
101102
# msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
102103
env:
103104
Configuration: ${{ matrix.configuration }}

AddIn/Itemis_Integrate_EA_Example_AddIn/Itemis_Integrate_EA_Example_AddIn.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
</PropertyGroup>
4646
<ItemGroup>
4747
<Reference Include="Interop.EA">
48-
<HintPath>..\..\..\..\..\..\Program Files (x86)\Sparx Systems\EA\Interop.EA.dll</HintPath>
49-
<EmbedInteropTypes>True</EmbedInteropTypes>
48+
<HintPath>$(MSBuildThisFileDirectory)..\Lib\Interop.EA.dll</HintPath>
49+
<EmbedInteropTypes>False</EmbedInteropTypes>
5050
</Reference>
5151
<Reference Include="netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" />
5252
<Reference Include="System" />

AddIn/Itemis_Integrate_EA_Example_AddIn_Tests/Itemis_Integrate_EA_Example_AddIn_Tests.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626

2727
<ItemGroup>
2828
<Reference Include="Interop.EA">
29-
<HintPath>..\Lib\Interop.EA.dll</HintPath>
29+
<HintPath>$(MSBuildThisFileDirectory)..\Lib\Interop.EA.dll</HintPath>
3030
<EmbedInteropTypes>False</EmbedInteropTypes>
31-
<Private>True</Private>
32-
<SpecificVersion>False</SpecificVersion>
3331
</Reference>
3432
</ItemGroup>
3533

0 commit comments

Comments
 (0)