Excel-DNA / Excel-DNA/ExcelDna

Can not build/pack 32 bit add-in using dotnet CLI

Open
#610 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

when building the 32 bit add-in using dotnet CLI
`dotnet build -r win-x86 -c Release -p:EnvironmentName=PRD -p:Platform=x86 --sc false`
I get the same error as in #329
`could not be packed. Possibly a mixed assembly? (These are not supported yet.)`
I do not get any errors when I create a 64 bit add-in
`dotnet build -r win-x64 -c Release -p:EnvironmentName=PRD -p:Platform=x64 --sc false`
And I can create a 32 bit build without error if I build through Visual Studio UI, but I need the .net CLI for deploying the project to production via Azure Devops.

you can replicate this error with an empty library project with these settings:
```


net6.0-windows
x86;x64
false
true
true
true


true
false


false
true







@(References)







```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.