Skip to content

Commit

Permalink
Fix the warning NETSDK1194 `option isn't supported when building a so…
Browse files Browse the repository at this point in the history
…lution`
  • Loading branch information
evgeniy-antonyuk committed Oct 22, 2024
1 parent 3d357cc commit d0dcb72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install/common/build-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ echo "== BACK-END-BUILD =="

cd ${SRC_PATH}/server
dotnet build ASC.Web.slnf ${ARGS}
dotnet build ASC.Migrations.sln -o ${SRC_PATH}/server/ASC.Migration.Runner/service/
dotnet build ASC.Migrations.sln --property:OutputPath=${SRC_PATH}/server/ASC.Migration.Runner/service/

cd ${SRC_PATH}/client
# Array of names backend services in directory common (Nodejs)
Expand Down
4 changes: 2 additions & 2 deletions install/common/publish-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ for i in ${!servers_products_name_backend[@]}; do
echo "== Publish ${servers_products_name_backend[$i]}.csproj project =="
SERVICE_DIR="$(dirname "$(find ${SRC_PATH} -type f -name "${servers_products_name_backend[$i]}".csproj)")"
cd ${SERVICE_DIR}
dotnet publish -c ${PUBLISH_CNF} --self-contained ${SELF_CONTAINED} ${ARGS} -o ${BUILD_PATH}/products/${servers_products_name_backend[$i]}/server/
dotnet publish -c ${PUBLISH_CNF} --self-contained ${SELF_CONTAINED} ${ARGS} --property:PublishDir="${BUILD_PATH}/products/${servers_products_name_backend[$i]}/server/"
done

# Array of names backend services
Expand All @@ -94,7 +94,7 @@ for i in ${!services_name_backend[@]}; do
echo "== Publish ${services_name_backend[$i]}.csproj project =="
SERVICE_DIR="$(dirname "$(find ${SRC_PATH} -type f -name "${services_name_backend[$i]}".csproj)")"
cd ${SERVICE_DIR}
dotnet publish -c ${PUBLISH_CNF} --self-contained ${SELF_CONTAINED} ${ARGS} -o ${BUILD_PATH}/services/${services_name_backend[$i]}/service/
dotnet publish -c ${PUBLISH_CNF} --self-contained ${SELF_CONTAINED} ${ARGS} --property:PublishDir="${BUILD_PATH}/services/${services_name_backend[$i]}/service/"
done

# Array of names backend services in directory common (Nodejs)
Expand Down

0 comments on commit d0dcb72

Please sign in to comment.