์๋
ํ์ธ์, ์ ๋์ด ์ ์ฅ์๋ฅผ ํฌํฌํ๊ณ ์ ์์ ์ ์ผ๋ถ ๋ณ๊ฒฝ์ ์๋ํ์ต๋๋ค.
๋ก์ปฌ์์ ํ
์คํธ ํ ์ ์๋๋ก์ด ๋ฆฌํฌ์งํ ๋ฆฌ์ ๋ํ ๋๊ฒ ํจํค์ง๋ฅผ ์ด๋ป๊ฒ ์์ฑํฉ๋๊น?
๋ฌธ์ ๋ ์ธ๋ถ ์ฌํญ์ ์ ๊ณตํ์ง ์์ต๋๋ค.
๋์ผํ ๋ฌธ์๋ฅผ ์ ๋ฐ์ดํธ ํ ์ ์๋ค๋ฉด ์ข์ ๊ฒ์ ๋๋ค.
๋ฌธ์๋ฅผ ์ ๋ฐ์ดํธํด์ผํฉ๋๋ค. ๊ทธ ๋์ ์ผ๋ฐ์ ์ผ๋ก ๋ค์์ ์ํํฉ๋๋ค.
์ํ๋ VS์์ ํ๋ก์ ํธ์ ํน์ง์ ๋น๋ํ๊ณ MUXControlsTestApp์ผ๋ก ํ ์คํธ ํ ๋ค์ ๊ด์ฐฎ์ ๋ณด์ด๋ฉด build-nupkg.ps1 (๋ฐฉ๊ธ ๋น๋ ํ ํน์ง์ ๋ํด BuildFlavor / BuildArch ๋งค๊ฐ ๋ณ์ ์ ๋ฌ)์ ์ฌ์ฉํ์ฌ ํด๋น ํน์ง์ ๋ํ ๋๊ฒ ํจํค์ง๋ฅผ ๋ง๋ญ๋๋ค. ๊ทธ๋ฐ ๋ค์ ๋ค์ด ์คํธ๋ฆผ ํ ์คํธ ์ฑ์ ๋์ผํ ๋น๋ ์ํคํ ์ฒ์ ๋น๋ํด์ผํฉ๋๋ค.
@jevansaks ์์ ์ธ๊ธ ํ ๋จ๊ณ์ ๋ฐ๋ผ Microsoft.UI.Xaml์ ๋๋ฒ๊ทธ x64 ๋ฒ์ ์ ๋น๋ ํ ๋ค์ build-nupkg.ps1
์คํฌ๋ฆฝํธ๋ฅผ ์คํํ์ฌ nuget ํจํค์ง๋ฅผ ๋น๋ํ์ต๋๋ค.
์ด์ ์ด ๋๊ฒ ํจํค์ง๋ฅผ ๋ด ์ฑ์ ์ถ๊ฐํ๊ณ ๋น๋ํ๋ฉด ๋ค์๊ณผ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs3_compact_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs4_generic.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\19h1_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs4_compact_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\DensityStyles\Compact.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs2_generic.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs3_generic.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs2_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs2_compact_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs5_compact_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\DensityStyles\CompactDatePickerTimePickerFlyout.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\19h1_generic.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs4_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs5_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\19h1_compact_themeresources.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs5_generic.xbf' does not exist. TestXamlUI
Payload file 'C:\Users\user\.nuget\packages\microsoft.ui.xaml\2.3.0.28\runtimes\win10-x64\native\Microsoft.UI.Xaml\Themes\rs3_themeresources.xbf' does not exist. TestXamlUI
DensityStyles
๋ฐ Themes
runtimes\win10-x64\native\Microsoft.UI.Xaml
ํด๋๊ฐ ๋๊ฒ ํจํค์ง์
๊ทธ๋์ ๋๋ ๋๊ฒ ํจํค์ง์ ์์ถ์ ํ๊ณ ์ด ๋ ํด๋์ ๊ทธ ๋ด์ฉ ( BuildOutput\Debug\x64\Microsoft.UI.Xaml
)์ ์๋์ผ๋ก ๋ณต์ฌํ์ต๋๋ค. ๊ทธ๋ฐ ๋ค์ ๋ค์ ์์ถํ๊ณ .nupkg๋ก ์ด๋ฆ์ ๋ณ๊ฒฝํ์ต๋๋ค.
๊ทธ๋ฐ ๋ค์ ์ ๋๋ก ์๋ํ์ต๋๋ค.
๋ ํด๋๊ฐ ๋ณต์ฌ๋์ง ์์์ build-nupkg.ps1
์คํฌ๋ฆฝํธ์ ๋๋ฝ ๋ ๊ฒ์ด ์์ต๋๊น?
์ค, ์ง๊ธ ๊ธฐ์ตํฉ๋๋ค. ๋๋ฒ๊ทธ ๋น๋์์ F5 ๋ฒ์ ๋ํ ์๋ก์ด VS ์ต์ ํ๊ฐ์์ด ๋๋ฒ๊ทธ ๋น๋์ .pri ํ์ผ์ด ๊ธฐ๋ณธ์ ์ผ๋ก ๋๊ฒ ํจํค์ง์์ ์๋ํ์ง ์์ต๋๋ค. ๋ฆด๋ฆฌ์ค๋ฅผ ๋น๋ํ๊ณ ์ด๋ฅผ ์ฌ์ฉํ๊ฑฐ๋ vcxproj์์์ด ์ค์ ์ ๋๋ฒ๊ทธ์๋ false๋ก ๋ณ๊ฒฝํ ์ ์์ต๋๋ค.