buildDotnetModule: explicitly set UseAppHost to true
On macOS, the native executable is not generated by default on Catalina and above. See https://github.com/dotnet/sdk/issues/10780
This commit is contained in:
parent
3d79e4871b
commit
98db245db7
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ dotnetBuildHook() {
|
|||
-p:BuildInParallel=$parallelBuildFlag \
|
||||
-p:ContinuousIntegrationBuild=true \
|
||||
-p:Deterministic=true \
|
||||
-p:UseAppHost=true \
|
||||
--configuration "@buildType@" \
|
||||
--no-restore \
|
||||
${versionFlag-} \
|
||||
|
|
|
@ -11,6 +11,7 @@ dotnetInstallHook() {
|
|||
dotnet publish "$project" \
|
||||
-p:ContinuousIntegrationBuild=true \
|
||||
-p:Deterministic=true \
|
||||
-p:UseAppHost=true \
|
||||
--output "$out/lib/${pname}" \
|
||||
--configuration "@buildType@" \
|
||||
--no-build \
|
||||
|
|
Loading…
Reference in a new issue