Self-contained .NET (#22217)

* dotnet sc

* MD preview - C# app

 - working self-contained

* Gcode preview - C# app

* DevFiles preview - C# app

* Fix passing path with spaces as cmd arg and monacocpp proj file

* Pdf preview - C# app

* Svg preview - C# app

* Fix comment

* Gcode thumbnail - C# app

TODO:
	- installer
	- why IThumbnailProvider and IIntializeWithFile doesn't work?

* Pdf thumbnail - C# app

TODO:
        - installer
        - why IThumbnailProvider and IIntializeWithFile doesn't work?

* Pdf thumbnail - C# app

TODO:
        - installer
        - why IThumbnailProvider and IIntializeWithFile doesn't work?

* Fix GcodeThumbnailProviderCpp.vcxproj

* Svg thumbnail - C# app

TODO:
        - installer
        - why IThumbnailProvider and IIntializeWithFile doesn't work?

* Fix Svg tests

* Thumbnail providers - installer

* Self-contained Hosts and FileLocksmith

* Fix hardcoded <RuntimeIdentifier>

* Remove unneeded files

* Try to fix Nuget in PR CI

* Prefix new dlls with PowerToys.
Sign new dlls and exes

* Add new .exe files to ProcessList

* ci: debug by listing all env vars

* ci: try setting variable in the right ci file

* Bring back hardcoded RuntimeIdentifier

* ci: Add comment and remove debug action

* Remove unneeded lib

* [WIP] Platform conditional dotnet files & hardlinks

* Cleanup

* Update expect.txt

* Test fix - ARM installer

* Fix uninstall bug

* Update docs

* Fix failing test

* Add dll details

* Minor cleanup

* Improve resizing

* Add some logs

* Test fix - release build

* Remove InvokeOnControlThread

* Test fix: logger initialization

* Fix arm64 installer

Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
Co-authored-by: Dustin L. Howett <dustin@howett.net>
This commit is contained in:
Stefan Markovic
2022-12-14 13:37:23 +01:00
committed by GitHub
parent a2c0febccc
commit 6ac508fb93
215 changed files with 9060 additions and 2328 deletions

View File

@@ -63,6 +63,7 @@ APPIDS
appium
Applets
Applicationcan
applicationconfiguration
applicationframehost
Applist
applog
@@ -87,9 +88,11 @@ ARRAYSIZE
arsinh
artanh
Artsakh
asd
asdf
AShortcut
ASingle
Asn
ASSOCCHANGED
ASYNCWINDOWPLACEMENT
ASYNCWINDOWPOS
@@ -158,8 +161,8 @@ bpmf
bpp
bricelam
BRIGHTGREEN
Brotli
Browsable
brucelindbloom
bsd
bstr
bti
@@ -199,9 +202,8 @@ CHILDACTIVATE
CHILDWINDOW
Choibalsan
chrdavis
chromaticities
Chrzan
CHT
cht
Chukotka
Chuuk
CIELAB
@@ -220,6 +222,10 @@ CLIPCHILDREN
Clipperton
CLIPSIBLINGS
clrcall
clrcompression
clretwrc
clrgc
clrjit
Cls
CLSCTX
clsid
@@ -234,6 +240,7 @@ CMock
CMONITORS
cmpgt
cmyk
Cng
cnt
Cocklebiddy
coclass
@@ -254,13 +261,11 @@ comctl
COMDAT
comdef
comdlg
comhost
cominterop
commandline
COMMANDTITLE
commctrl
Comoros
companding
COMPOSITIONFULL
comsupp
comsuppw
@@ -281,6 +286,7 @@ CONTROLL
CONTROLPARENT
Controlz
copiedcolorrepresentation
coreclr
corewebview
cortana
cotaskmem
@@ -325,12 +331,10 @@ cwd
cxfksword
CXSMICON
CXVIRTUALSCREEN
cxxopts
cyberrex
CYSMICON
CYVIRTUALSCREEN
cziplib
cziplob
Dac
dacl
damienleroy
@@ -346,6 +350,7 @@ davidegiacometti
Dayof
Dbg
Dbghelp
dbgshim
DBLCLKS
DBLEPSILON
DCapture
@@ -354,6 +359,7 @@ DCOM
dcommon
dcomp
dcompi
DCompiler
DComposition
DCR
DDevice
@@ -388,7 +394,7 @@ DESKTOPABSOLUTEEDITING
DESKTOPABSOLUTEPARSING
desktopshorcutinstalled
desktopwindowxamlsource
DEU
deu
devblogs
devdocs
devenum
@@ -476,12 +482,11 @@ ENABLEDPOPUP
endpointvolume
endregion
ENTERSIZEMOVE
ENU
enu
enumerationoptions
EOAC
epicgames
epu
Eqn
ERASEBKGND
EREOF
EResize
@@ -490,6 +495,7 @@ ERRORLEVEL
ERRORTITLE
ESettings
esize
esn
esrp
Eswatini
etl
@@ -533,7 +539,6 @@ Faroe
FARPROC
fdw
feimage
ffaa
fff
fileapi
FILEEXPLORER
@@ -679,6 +684,8 @@ HOMEPATH
homljgmgpmcbpjbnjpfijnhipfkiclkd
HOOKPROC
Hostbackdropbrush
hostfxr
hostpolicy
hotkeycontrol
hotkeys
hotlight
@@ -750,6 +757,7 @@ IMAGERESIZEREXT
imageresizerinput
imageresizersettings
imagingdevices
Imc
ime
imeutil
inetcpl
@@ -786,17 +794,15 @@ Intelli
interactable
Interlop
INTRESOURCE
Intrinsics
INVALIDARG
invalidoperatioexception
iobjectwithsitesetsite
iolewindowcontextsensitivehelp
ipc
ipcmanager
IPlugin
IPower
ipreview
IPREVIEW
ipreviewhandler
ipreviewhandlertranslateaccelerator
ipreviewhandlervisualssetfont
IProperty
IPublic
@@ -824,7 +830,7 @@ jgeosdfsdsgmkedfgdfgdfgbkmhcgcflmi
jjw
jobject
jpe
JPN
jpn
jpnime
JSONOf
Jsons
@@ -847,7 +853,6 @@ keyevent
KEYEVENTF
keynum
keyremaps
keystokes
Keytool
keyup
Khakassia
@@ -906,6 +911,7 @@ lmcons
LMEM
LMENU
lnk
LOADFROMFILE
LOADLIBRARYASDATAFILE
LOBYTE
LOCALAPPDATA
@@ -917,6 +923,7 @@ LOCATIONCHANGE
logconsole
logfile
LOGFONT
LOGFONTW
LOGMSG
logon
LOGPIXELSX
@@ -983,6 +990,8 @@ MAPPEDTOSAMEKEY
MAPTOSAMESHORTCUT
MAPVK
Markdig
markdownpreviewhandler
MARKDOWNPREVIEWHANDLERCPP
Markovic
Marquesas
martinchrzan
@@ -1015,6 +1024,7 @@ Metadatas
metafile
mfapi
mfc
mfcm
mfidl
mfobjects
mfplat
@@ -1074,8 +1084,11 @@ mru
msbuild
msc
msclr
mscordaccore
mscordbi
mscoree
mscorlib
mscorrc
msdata
msedge
MSGFLT
@@ -1088,6 +1101,7 @@ MSIXCA
MSLLHOOKSTRUCT
Mso
msp
msquic
msrc
msstore
mst
@@ -1137,6 +1151,7 @@ netcpl
netframework
netsetup
netsh
netstandard
Neue
newcolor
newdev
@@ -1313,6 +1328,7 @@ pinvoke
pipename
Pitcairn
PKBDLLHOOKSTRUCT
Pkcs
PKEY
plib
PLK
@@ -1413,6 +1429,7 @@ QUERYENDSESSION
queryfocus
QUERYOPEN
QUEUESYNC
Quic
Quickime
QUNS
qwertyuiopasdfghjklzxcvbnm
@@ -1530,7 +1547,7 @@ runtimeclass
runtimeconfig
runtimeobject
runtimes
RUS
rus
Rutkas
RValue
rvm
@@ -1574,7 +1591,6 @@ SETFOCUS
SETFOREGROUND
SETICON
setlocal
Setrect
SETREDRAW
SETTEXT
SETTINGCHANGE
@@ -1682,6 +1698,8 @@ srw
srwlock
sse
ssf
Ssl
sss
STACKFRAME
stackoverflow
stackpanel
@@ -1799,6 +1817,7 @@ THH
THICKFRAME
THISCOMPONENT
THotkey
thumbcache
TILEDWINDOW
timedate
timediff
@@ -1873,7 +1892,7 @@ uniquifier
Uniquifies
unitconverter
unittests
unk
Unk
unknwn
UNLEN
Unmap
@@ -2008,7 +2027,6 @@ WINDOWPOSCHANGING
Windowsapp
WINDOWSBUILDNUMBER
Windowscodecs
windowsdesktop
windowssearch
windowssettings
WINDOWSTYLES
@@ -2071,6 +2089,7 @@ workspaces
wox
wparam
wpf
wpfgfx
wpftmp
wpr
wprp