-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompile.cmd
More file actions
26 lines (23 loc) · 790 Bytes
/
Copy pathcompile.cmd
File metadata and controls
26 lines (23 loc) · 790 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
26
@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...
:: 'AssemblyTitle' is a critical parameter for File Description
dotnet publish -c Release -r win-x64 ^
-p:Version=1.5.0.0 ^
-p:FileVersion=1.5.0.0 ^
-p:AssemblyVersion=1.5.0.0 ^
-p:Company="Osman Onur Koç" ^
-p:Product="Windows Hot Corners" ^
-p:AssemblyTitle="Linux Hot Corners implementation for Windows" ^
-p:Description="Linux Hot Corners implementation for Windows" ^
-p:Copyright="www.osmanonurkoc.com" ^
--self-contained true ^
-p:PublishSingleFile=true
echo.
echo Program compiled successfully!
pause