-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompile.cmd
More file actions
25 lines (22 loc) · 754 Bytes
/
Copy pathcompile.cmd
File metadata and controls
25 lines (22 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
:: Set encoding to UTF-8
chcp 65001 >nul
echo Cleaning up artifacts from previous build...
:: Perform cleanup first (Prevents cache issues)
if exist bin rd /s /q bin
if exist obj rd /s /q obj
echo Compiling process starting...
dotnet publish -c Release -r win-x64 ^
-p:Version=1.1.0.0 ^
-p:FileVersion=1.1.0.0 ^
-p:AssemblyVersion=1.1.0.0 ^
-p:Company="Osman Onur Koc" ^
-p:Product="Context Menu Hash Checker" ^
-p:AssemblyTitle="Windows Context Menu Hash Checker" ^
-p:Description="Calculates and compares MD5 SHA1 SHA256 SHA384 SHA512 hashes from context menu" ^
-p:Copyright="www.osmanonurkoc.com" ^
--self-contained true ^
-p:PublishSingleFile=true
echo.
echo Program compiled successfully!
pause