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
@ -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 New Issue
Block a user