MY MEMO
[MY WINDOW APPLICATION] UWP -> WPF 본문
아..기능을 좀 찾아볼껄 그랬다
exe파일을 실행하려면 이렇게 복잡하고 힘든 과정을 거쳤어야했다니..
+) 삽질하면서 찾은 정보들..
how to launch external execute file
: https://developer.microsoft.com/en-us/windows/iot/samples/externalprocesslauncher
rescap 적용 (아래처럼 해야 오류가 나지 않는다.)
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <?xml version= "1.0" encoding= "utf-8" ?> <Package xmlns:rescap= "http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces= "uap mp wincap rescap" > <Identity Name= "bdcca8f2-2891-4155-80d4-c9a7537cc70e" Publisher= "CN=ljyeo" Version= "1.0.0.0" /> <mp:PhoneIdentity PhoneProductId= "bdcca8f2-2891-4155-80d4-c9a7537cc70e" PhonePublisherId= "00000000-0000-0000-0000-000000000000" /> <Properties> <DisplayName>MY FOLDER</DisplayName> <PublisherDisplayName>ljyeo</PublisherDisplayName> <Logo>Assets\StoreLogo.png</Logo> </Properties> <Dependencies> <TargetDeviceFamily Name= "Windows.Desktop" MinVersion= "10.0.10586.0" MaxVersionTested= "10.0.15063.0" /> </Dependencies> <Resources> <Resource Language= "x-generate" /> </Resources> <Applications> <Application Id= "App" Executable= "$targetnametoken$.exe" EntryPoint= "UWPExcutingApp.App" > <uap:VisualElements DisplayName= "MY FOLDER" Square150x150Logo= "Assets\Logo_150150.png" Square44x44Logo= "Assets\Logo_4444.png" Description= "MY FOLDER" BackgroundColor= "#ffffff" > <uap:DefaultTile Wide310x150Logo= "Assets\Logo_310150.png" /> <uap:SplashScreen Image= "Assets\SplashScreen.png" /> </uap:VisualElements> </Application> </Applications> <Capabilities> <Capability Name= "internetClient" /> <rescap:Capability Name= "runFullTrust" /> </Capabilities> </Package> |
iot 적용
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 30 31 32 33 34 35 36 37 38 39 | <?xml version= "1.0" encoding= "utf-8" ?> <Package xmlns= "http://schemas.microsoft.com/appx/manifest/foundation/windows10" IgnorableNamespaces= "uap mp" > <!--IgnorableNamespaces= "uap mp iot" --> <Identity Name= "bdcca8f2-2891-4155-80d4-c9a7537cc70e" Publisher= "CN=ljyeo" Version= "1.0.0.0" /> <mp:PhoneIdentity PhoneProductId= "bdcca8f2-2891-4155-80d4-c9a7537cc70e" PhonePublisherId= "00000000-0000-0000-0000-000000000000" /> <Properties> <DisplayName>MY FOLDER</DisplayName> <PublisherDisplayName>ljyeo</PublisherDisplayName> <Logo>Assets\StoreLogo.png</Logo> </Properties> <Dependencies> <TargetDeviceFamily Name= "Windows.Universal" MinVersion= "10.0.10586.0" MaxVersionTested= "10.0.10586.0" /> <!-- <TargetDeviceFamily Name= "Windows.IoT" MinVersion= "10.0.10586.0" MaxVersionTested= "10.0.10586.0" />--> </Dependencies> <Resources> <Resource Language= "x-generate" /> </Resources> <Applications> <Application Id= "App" Executable= "$targetnametoken$.exe" EntryPoint= "UWPExcutingApp.App" > <uap:VisualElements DisplayName= "MY FOLDER" Square150x150Logo= "Assets\Logo_150150.png" Square44x44Logo= "Assets\Logo_4444.png" Description= "MY FOLDER" BackgroundColor= "#ffffff" > <uap:DefaultTile Wide310x150Logo= "Assets\Logo_310150.png" > </uap:DefaultTile> <uap:SplashScreen Image= "Assets\SplashScreen.png" /> </uap:VisualElements> </Application> </Applications> <Capabilities> <Capability Name= "internetClient" /> <!-- <iot:Capability Name= "systemManagement" />--> </Capabilities> </Package> |
------------------------------------------------------------------------------------------
일단 UI가 너무 잘나와서 기대했는데 WPF로 바꿔야겠다
하..내 시간..ㅠㅠㅠ
UWP
- window 10에서만 사용할 수 있다 (사용할 수 있는 환경이 제한적이다)
- sandboxing model
WPF (Window Presentation Foundation)
- window10이외에도 사용할 수 있다.
- UWP에서 쓸 수 있는 기능보다 제한적이다
-> 하지만 둘다 문법은 비슷하다!!!
즉 WPF로!!!
'PROJECT > MY WINDOW APPLICATION' 카테고리의 다른 글
[MY WINDOW APPLICATION] 취업을 위한 Window application (0) | 2017.08.31 |
---|---|
[MY WINDOW APPLICATION] 나의 첫 App "My Folder" (0) | 2017.08.22 |
[MY WINDOW APPLICATION] To do list 완성하기 (Window Form) (0) | 2017.08.16 |
[MY WINDOW APPLICATION] To Do List (0) | 2017.08.11 |
[MY WINDOW APPLICATION] 시작하기 (0) | 2017.08.09 |