diff --git a/Dist/.BuildInConfigX.sh b/Dist/.BuildInConfigX.sh index fdcafac199..fea6face98 100755 --- a/Dist/.BuildInConfigX.sh +++ b/Dist/.BuildInConfigX.sh @@ -7,3 +7,4 @@ fi config="$1" shift Dist/.InvokeCLIOnMainSln.sh "build" "$config" "$@" +Dist/.InvokeCLIOnMainSln.sh publish "$config" --no-build "$@" diff --git a/Dist/Package.sh b/Dist/Package.sh index 5428527a11..e6cc3eca04 100755 --- a/Dist/Package.sh +++ b/Dist/Package.sh @@ -5,7 +5,7 @@ cd "$(dirname "$0")/.." rm -fr "$targetDir" && mkdir -p "$targetDir" find "output" -type f \( -wholename "output/EmuHawk.exe" -o -wholename "output/DiscoHawk.exe" -o -wholename "output/*.config" -o -wholename "output/defctrl.json" -o -wholename "output/EmuHawkMono.sh" -o -wholename "output/dll/*" -o -wholename "output/Shaders/*" -o -wholename "output/gamedb/*" -o -wholename "output/Tools/*" -o -wholename "output/NES/Palettes/*" -o -wholename "output/Lua/*" -o -wholename "output/Gameboy/Palettes/*" -o -wholename "output/overlay/*" \) \ -not -name "*.pdb" -not -name "*.lib" -not -name "*.pgd" -not -name "*.ipdb" -not -name "*.iobj" -not -name "*.exp" -not -name "*.ilk" \ - -not -wholename "output/dll/*.xml" -not -wholename "output/dll/libsneshawk-64*.exe" -not -wholename "output/dll/gpgx.elf" -not -wholename "output/dll/miniclient.*" \ + -not -wholename "output/dll/libsneshawk-64*.exe" -not -wholename "output/dll/gpgx.elf" -not -wholename "output/dll/miniclient.*" \ -exec install -D -m644 "{}" "packaged_{}" \; cd "$targetDir" if [ "$1" = "windows-x64" ]; then diff --git a/Dist/QuickTestBuildAndPackage.bat b/Dist/QuickTestBuildAndPackage.bat index 1ce3af0920..8e360d4f87 100644 --- a/Dist/QuickTestBuildAndPackage.bat +++ b/Dist/QuickTestBuildAndPackage.bat @@ -10,6 +10,7 @@ git --version > NUL @if errorlevel 1 goto MISSINGGIT dotnet build ..\BizHawk.sln -c Release --no-incremental +dotnet publish ..\BizHawk.sln -c Release --no-build @if not errorlevel 0 goto DOTNETBUILDFAILED rem -p:Platform="Any CPU" rem -p:RunAnalyzersDuringBuild=true diff --git a/after.BizHawk.sln.targets b/after.BizHawk.sln.targets new file mode 100644 index 0000000000..2313ff6fd9 --- /dev/null +++ b/after.BizHawk.sln.targets @@ -0,0 +1,24 @@ + + + $(SolutionDir)output/ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj b/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj index 664aa002e6..9a9100217e 100755 --- a/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj +++ b/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj @@ -40,7 +40,6 @@ - diff --git a/src/MainSlnCommon.props b/src/MainSlnCommon.props index d158445f54..72a43a808e 100644 --- a/src/MainSlnCommon.props +++ b/src/MainSlnCommon.props @@ -5,6 +5,7 @@ $(DefineConstants);AVI_SUPPORT true $(NoWarn);CS1573;CS1591;NU1702 + false None diff --git a/src/MainSlnExecutable.props b/src/MainSlnExecutable.props index d184891f85..fccdb183f8 100644 --- a/src/MainSlnExecutable.props +++ b/src/MainSlnExecutable.props @@ -1,26 +1,9 @@ - - $(MSBuildProjectDirectory)/../../output/ - - $(MSBuildProjectName.Substring($([MSBuild]::Add($(MSBuildProjectName.LastIndexOf('.')), 1)))).exe - Exe WinExe - - - - - - - - - -