diff options
Diffstat (limited to 'src/ext/UI')
-rw-r--r-- | src/ext/UI/ui.cmd | 5 | ||||
-rw-r--r-- | src/ext/UI/wixlib/Common_Platform.wxi | 2 | ||||
-rw-r--r-- | src/ext/UI/wixlib/ui.wixproj | 13 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/ext/UI/ui.cmd b/src/ext/UI/ui.cmd index 3823f45a..0b0036af 100644 --- a/src/ext/UI/ui.cmd +++ b/src/ext/UI/ui.cmd | |||
@@ -8,6 +8,8 @@ | |||
8 | @if /i "%1"=="clean" set _CLEAN=1 | 8 | @if /i "%1"=="clean" set _CLEAN=1 |
9 | @if not "%1"=="" shift & goto parse_args | 9 | @if not "%1"=="" shift & goto parse_args |
10 | 10 | ||
11 | @set _B=%~dp0..\..\..\build\UI.wixext\%_C% | ||
12 | |||
11 | :: Clean | 13 | :: Clean |
12 | 14 | ||
13 | @if "%_INC%"=="" call :clean | 15 | @if "%_INC%"=="" call :clean |
@@ -16,7 +18,7 @@ | |||
16 | @echo UI.wixext build %_C% | 18 | @echo UI.wixext build %_C% |
17 | 19 | ||
18 | :: Build | 20 | :: Build |
19 | msbuild -Restore -p:Configuration=%_C% || exit /b | 21 | msbuild -Restore -p:Configuration=%_C% -warnaserror -bl:%_L%\ext_ui_build.binlog || exit /b |
20 | 22 | ||
21 | :: Test | 23 | :: Test |
22 | :: dotnet test -c %_C% --no-build test\WixToolsetTest.UI || exit /b | 24 | :: dotnet test -c %_C% --no-build test\WixToolsetTest.UI || exit /b |
@@ -29,6 +31,7 @@ msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.UI.wixex | |||
29 | :clean | 31 | :clean |
30 | @rd /s/q "..\..\..\build\UI.wixext" 2> nul | 32 | @rd /s/q "..\..\..\build\UI.wixext" 2> nul |
31 | @del "..\..\..\build\artifacts\WixToolset.UI.wixext.*.nupkg" 2> nul | 33 | @del "..\..\..\build\artifacts\WixToolset.UI.wixext.*.nupkg" 2> nul |
34 | @del "%_L%\ext_ui_build.binlog" 2> nul | ||
32 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.ui.wixext" 2> nul | 35 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.ui.wixext" 2> nul |
33 | @exit /b | 36 | @exit /b |
34 | 37 | ||
diff --git a/src/ext/UI/wixlib/Common_Platform.wxi b/src/ext/UI/wixlib/Common_Platform.wxi index cd050e06..329abb2e 100644 --- a/src/ext/UI/wixlib/Common_Platform.wxi +++ b/src/ext/UI/wixlib/Common_Platform.wxi | |||
@@ -13,6 +13,6 @@ | |||
13 | </Fragment> | 13 | </Fragment> |
14 | 14 | ||
15 | <Fragment> | 15 | <Fragment> |
16 | <Binary Id="WixUiCa$(Suffix)" SourceFile="!(bindpath.$(platform))uica.dll" /> | 16 | <Binary Id="WixUiCa$(Suffix)" SourceFile="!(bindpath.uica.$(platform))uica.dll" /> |
17 | </Fragment> | 17 | </Fragment> |
18 | </Include> | 18 | </Include> |
diff --git a/src/ext/UI/wixlib/ui.wixproj b/src/ext/UI/wixlib/ui.wixproj index ebac0c79..848bc882 100644 --- a/src/ext/UI/wixlib/ui.wixproj +++ b/src/ext/UI/wixlib/ui.wixproj | |||
@@ -5,6 +5,7 @@ | |||
5 | <BindFiles>true</BindFiles> | 5 | <BindFiles>true</BindFiles> |
6 | <Cultures>en-us</Cultures> | 6 | <Cultures>en-us</Cultures> |
7 | </PropertyGroup> | 7 | </PropertyGroup> |
8 | |||
8 | <PropertyGroup> | 9 | <PropertyGroup> |
9 | <DefineConstants> | 10 | <DefineConstants> |
10 | $(DefineConstants); | 11 | $(DefineConstants); |
@@ -17,19 +18,15 @@ | |||
17 | upIco=$(MSBuildProjectDirectory)\Bitmaps\up.ico; | 18 | upIco=$(MSBuildProjectDirectory)\Bitmaps\up.ico; |
18 | </DefineConstants> | 19 | </DefineConstants> |
19 | </PropertyGroup> | 20 | </PropertyGroup> |
20 | <ItemGroup> | 21 | |
21 | <BindInputPaths Include="$(OutputPath)x86" BindName="x86" /> | ||
22 | <BindInputPaths Include="$(OutputPath)x64" BindName="x64" /> | ||
23 | <BindInputPaths Include="$(OutputPath)arm64" BindName="arm64" /> | ||
24 | </ItemGroup> | ||
25 | <ItemGroup> | 22 | <ItemGroup> |
26 | <Content Include="Common_Platform.wxi" /> | 23 | <Content Include="Common_Platform.wxi" /> |
27 | </ItemGroup> | 24 | </ItemGroup> |
25 | |||
28 | <ItemGroup> | 26 | <ItemGroup> |
29 | <ProjectReference Include="..\ca\uica.vcxproj" Properties="Platform=x86" /> | 27 | <ProjectReference Include="..\ca\uica.vcxproj" Platforms="arm64,x86,x64" /> |
30 | <ProjectReference Include="..\ca\uica.vcxproj" Properties="Platform=x64" /> | ||
31 | <ProjectReference Include="..\ca\uica.vcxproj" Properties="Platform=ARM64" /> | ||
32 | </ItemGroup> | 28 | </ItemGroup> |
29 | |||
33 | <ItemGroup> | 30 | <ItemGroup> |
34 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | 31 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> |
35 | </ItemGroup> | 32 | </ItemGroup> |