From c0e7ce36926956b15ee958971f8e14832acab603 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 9 Nov 2021 22:40:53 +0000 Subject: [PATCH] Changed build script --- Properties/PublishProfiles/Release x64.pubxml | 17 ----------------- Properties/PublishProfiles/Release x86.pubxml | 17 ----------------- VideoPreview.csproj | 13 +++++-------- build.bat | 5 +++++ 4 files changed, 10 insertions(+), 42 deletions(-) delete mode 100644 Properties/PublishProfiles/Release x64.pubxml delete mode 100644 Properties/PublishProfiles/Release x86.pubxml create mode 100644 build.bat diff --git a/Properties/PublishProfiles/Release x64.pubxml b/Properties/PublishProfiles/Release x64.pubxml deleted file mode 100644 index 23a6044..0000000 --- a/Properties/PublishProfiles/Release x64.pubxml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Release - Any CPU - bin\Release\64\ - FileSystem - net5.0-windows - win-x64 - false - True - False - - \ No newline at end of file diff --git a/Properties/PublishProfiles/Release x86.pubxml b/Properties/PublishProfiles/Release x86.pubxml deleted file mode 100644 index 56c7547..0000000 --- a/Properties/PublishProfiles/Release x86.pubxml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Release - Any CPU - bin\Release\86\ - FileSystem - net5.0-windows - win-x86 - false - True - False - - \ No newline at end of file diff --git a/VideoPreview.csproj b/VideoPreview.csproj index 55cda34..99f4b6a 100644 --- a/VideoPreview.csproj +++ b/VideoPreview.csproj @@ -20,13 +20,13 @@ - + - + - + @@ -40,7 +40,8 @@ - + + @@ -62,10 +63,6 @@ - - - - References\RyzStudio3.dll diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..f18db46 --- /dev/null +++ b/build.bat @@ -0,0 +1,5 @@ +rmdir /s /q "bin\Release\64\" +dotnet publish skye.sln -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\64\" + +rmdir /s /q "bin\Release\86\" +dotnet publish skye.sln -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\86\" \ No newline at end of file