sintassi msbuild x tutti i 4.7.2
This commit is contained in:
+8
-6
@@ -150,13 +150,13 @@ EgwMultiEngineManager.Core:SDK:build:
|
||||
when: always
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
# - '& "$env:NUGET_PATH" restore "$env:SOL_NAME.sln" -PackagesDirectory "c:\.nuget\packages"'
|
||||
- dotnet restore "$env:SOL_NAME.sln" --packages "c:\.nuget\packages"
|
||||
- '& "$env:NUGET_PATH" restore "$env:SOL_NAME.sln" -PackagesDirectory "c:\.nuget\packages"'
|
||||
# - dotnet restore "$env:SOL_NAME.sln" --packages "c:\.nuget\packages"
|
||||
script:
|
||||
- echo $CI_COMMIT_BRANCH
|
||||
# - dotnet build EgwMultiEngineManager.Data/EgwMultiEngineManager.Data.vbproj
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.vbproj
|
||||
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Debug /p:OutputPath=bin/ /verbosity:minimal /m'
|
||||
# - dotnet build $env:APP_NAME/$env:APP_NAME.vbproj
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Debug /p:OutputPath=bin/ /verbosity:minimal /m'
|
||||
|
||||
# --------------------------------
|
||||
# DEPLOY develop (beta nuget)
|
||||
@@ -198,10 +198,12 @@ EgwMultiEngineManager.Core:SDK:deploy:
|
||||
needs: ["EgwMultiEngineManager.Core:SDK:build"]
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- dotnet restore "$env:SOL_NAME.sln" --packages "c:\.nuget\packages"
|
||||
# - dotnet restore "$env:SOL_NAME.sln" --packages "c:\.nuget\packages"
|
||||
- '& "$env:NUGET_PATH" restore "$env:SOL_NAME.sln" -PackagesDirectory "c:\.nuget\packages"'
|
||||
- *nuspec-fix
|
||||
script:
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.vbproj
|
||||
# - dotnet build $env:APP_NAME/$env:APP_NAME.vbproj
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Debug /p:OutputPath=bin/ /verbosity:minimal /m'
|
||||
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.vbproj
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Debug/$env:APP_NAME.$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
Reference in New Issue
Block a user