image: Visual Studio 2022 shallow_clone: true clone_depth: 1 cache: - '%APPVEYOR_BUILD_FOLDER%\AssetStudioFBXNative\obj' - '%LocalAppData%\NuGet\v3-cache' # NuGet v3 environment: FBX_SDK: https://damassets.autodesk.net/content/dam/autodesk/www/adn/fbx/2020-3-2/fbx202032_fbxsdk_vs2019_win.exe install: - pwsh: appveyor DownloadFile $env:FBX_SDK && Start (Get-ChildItem ./'fbx*'.exe -Name) /S -Wait build_script: - msbuild -m -t:AssetStudioGUI:publish -t:AssetStudioCLI:publish -r -p:Configuration=Release -p:TargetFramework=net6.0-windows -v:minimal AssetStudio.sln - msbuild -m -t:AssetStudioGUI:publish -t:AssetStudioCLI:publish -r -p:Configuration=Release -p:TargetFramework=net7.0-windows -v:minimal AssetStudio.sln after_build: - 7z a -y -mx9 net6.0-windows.zip %APPVEYOR_BUILD_FOLDER%\AssetStudioGUI\bin\Release\net6.0-windows\publish\ - appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\net6.0-windows.zip - 7z a -y -mx9 net7.0-windows.zip %APPVEYOR_BUILD_FOLDER%\AssetStudioGUI\bin\Release\net7.0-windows\publish\ - appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\net7.0-windows.zip