diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml
index 56bf8e9a1..c4ddcd18c 100644
--- a/.github/workflows/build-nightly.yml
+++ b/.github/workflows/build-nightly.yml
@@ -16,7 +16,10 @@ jobs:
- name: Build
shell: cmd
run: |
- "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:rebuild /m /p:Configuration=Release /p:Platform=x64
+ "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:OfflineShaderCompiler /m /p:Configuration=Release /p:Platform=x64
+ cd "WickedEngine"
+ "../BUILD/x64/Release/OfflineShaderCompiler/OfflineShaderCompiler.exe" hlsl5 hlsl6 spirv shaderdump
+ cd ..
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:rebuild /m /p:Configuration=Release /p:Platform=x64
- name: Move binaries
diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml
index f3f1254dd..16321ecf0 100644
--- a/.github/workflows/build-pr.yml
+++ b/.github/workflows/build-pr.yml
@@ -15,7 +15,10 @@ jobs:
- name: Build
shell: cmd
run: |
- "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:rebuild /m /p:Configuration=Release /p:Platform=x64
+ "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:OfflineShaderCompiler /m /p:Configuration=Release /p:Platform=x64
+ cd "WickedEngine"
+ "../BUILD/x64/Release/OfflineShaderCompiler/OfflineShaderCompiler.exe" hlsl5 hlsl6 spirv shaderdump
+ cd ..
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:rebuild /m /p:Configuration=Release /p:Platform=x64
- name: Move binaries
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d6622d35c..daa6516a4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,7 +16,10 @@ jobs:
- name: Build
shell: cmd
run: |
- "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:rebuild /m /p:Configuration=Release /p:Platform=x64
+ "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:OfflineShaderCompiler /m /p:Configuration=Release /p:Platform=x64
+ cd "WickedEngine"
+ "../BUILD/x64/Release/OfflineShaderCompiler/OfflineShaderCompiler.exe" hlsl5 hlsl6 spirv shaderdump
+ cd ..
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:rebuild /m /p:Configuration=Release /p:Platform=x64
- name: Move binaries
diff --git a/WickedEngine/OfflineShaderCompiler.vcxproj b/WickedEngine/OfflineShaderCompiler.vcxproj
index e63cc8776..bb5ff4e93 100644
--- a/WickedEngine/OfflineShaderCompiler.vcxproj
+++ b/WickedEngine/OfflineShaderCompiler.vcxproj
@@ -66,7 +66,8 @@
$(SolutionDir)BUILD\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)
- $(OutDir)$(TargetName) hlsl5 hlsl6 spirv shaderdump
+
+
@@ -88,7 +89,8 @@
$(SolutionDir)BUILD\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)
- $(OutDir)$(TargetName) hlsl5 hlsl6 spirv shaderdump
+
+
diff --git a/appveyor.yml b/appveyor.yml
index d2fed0f8d..378cdfaa2 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -11,6 +11,9 @@ before_build:
build_script:
- msbuild "C:\projects\wickedengine\WickedEngine.sln" /t:OfflineShaderCompiler /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+ - cd "C:\projects\wickedengine\WickedEngine"
+ - call "../BUILD/x64/Release/OfflineShaderCompiler/OfflineShaderCompiler.exe" hlsl5 hlsl6 spirv shaderdump
+ - cd ..
- msbuild "C:\projects\wickedengine\WickedEngine.sln" /t:rebuild /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
platform: