GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PrinterShareFixer/build.ps1 at main · CY68GI/PrinterShareFixer

Expand file tree

/

build.ps1

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
29 lines (23 loc) · 1.34 KB
/

build.ps1

Copy path

File metadata and controls

29 lines (23 loc) · 1.34 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
27
28
29
<#
Builds the core library, the WinUI 3 app and the command line tool.
All build output goes to the "build" folder, so "src" keeps source code only.
Usage: powershell -ExecutionPolicy Bypass -File .\build.ps1 [-Configuration Release]
Note: this file is intentionally ASCII-only, because Windows PowerShell 5.1
reads .ps1 files without a BOM using the ANSI code page.
#>
param(
[string]$Configuration = "Debug"
)
$ErrorActionPreference = 'Stop'
$root = $PSScriptRoot
Write-Host "== Building core library ==" -ForegroundColor Cyan
dotnet build "$root\src\PrinterShareFixer.Core\PrinterShareFixer.Core.csproj" -c $Configuration
Write-Host "== Building WinUI 3 app ==" -ForegroundColor Cyan
dotnet build "$root\src\PrinterShareFixer.App\PrinterShareFixer.App.csproj" -c $Configuration
Write-Host "== Building command line tool ==" -ForegroundColor Cyan
dotnet build "$root\src\PrinterShareFixer.Cli\PrinterShareFixer.Cli.csproj" -c $Configuration
$appDir = "$root\build\bin\PrinterShareFixer.App\$Configuration\net10.0-windows10.0.19041.0\win-x64"
Write-Host ""
Write-Host "Done. App: $appDir\PrinterShareFixer.exe" -ForegroundColor Green
Write-Host "The app requests administrator rights; a UAC prompt appears on launch." -ForegroundColor Yellow
Write-Host "Run .\package.ps1 to build the ready-to-copy release folder." -ForegroundColor Yellow
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.