Skip to content

Commit

Permalink
build cbs
Browse files Browse the repository at this point in the history
  • Loading branch information
licanhua committed Oct 27, 2020
1 parent 607b6de commit 24b6812
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions build/FrameworkPackage/MakeFrameworkPackage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ if (-not $PackageNameSuffix)
$PackageNameSuffix = "$($versionMajor).$($versionMinor)"
}

$PackageNameSuffix = "CBS"

# Calculate the version the same as our nuget package.

if ($VersionOverride)
Expand Down
10 changes: 5 additions & 5 deletions build/NuSpecs/MUXControls-Nuget-FrameworkPackage.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@
<Import Project="$(MSBuildThisFileDirectory)\MicrosoftUIXamlVersion.props"/>
<Import Project="$(MSBuildThisFileDirectory)\Common.targets"/>
<ItemGroup>
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\x86\Release\Microsoft.UI.Xaml.2.5.appx">
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\x86\Release\Microsoft.UI.Xaml.CBS.appx">
<Architecture>x86</Architecture>
<Version>$(MicrosoftUIXamlAppxVersion)</Version>
<Publisher>'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'</Publisher>
</AppxPackageRegistration>
<!-- Some C++/CX projects use Platform=Win32 instead of Platform=x86 -->
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\x86\Release\Microsoft.UI.Xaml.2.5.appx">
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\x86\Release\Microsoft.UI.Xaml.CBS.appx">
<Architecture>Win32</Architecture>
<Version>$(MicrosoftUIXamlAppxVersion)</Version>
<Publisher>'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'</Publisher>
</AppxPackageRegistration>
</ItemGroup>
<ItemGroup>
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.5.appx">
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\x64\Release\Microsoft.UI.Xaml.CBS.appx">
<Architecture>x64</Architecture>
<Version>$(MicrosoftUIXamlAppxVersion)</Version>
<Publisher>'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'</Publisher>
</AppxPackageRegistration>
</ItemGroup>
<ItemGroup>
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\arm\Release\Microsoft.UI.Xaml.2.5.appx">
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\arm\Release\Microsoft.UI.Xaml.CBS.appx">
<Architecture>arm</Architecture>
<Version>$(MicrosoftUIXamlAppxVersion)</Version>
<Publisher>'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'</Publisher>
</AppxPackageRegistration>
</ItemGroup>
<ItemGroup>
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\arm64\Release\Microsoft.UI.Xaml.2.5.appx">
<AppxPackageRegistration Include="$(MSBuildThisFileDirectory)..\tools\AppX\arm64\Release\Microsoft.UI.Xaml.CBS.appx">
<Architecture>arm64</Architecture>
<Version>$(MicrosoftUIXamlAppxVersion)</Version>
<Publisher>'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'</Publisher>
Expand Down
4 changes: 2 additions & 2 deletions dev/inc/BuildMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifdef _DEBUG
// NOTE: This could be "Microsoft.UI.Xaml.Debug" if we wanted to have Debug framework packages be distinct and
// installed side-by-side on a machine.
#define MUXCONTROLS_PACKAGE_NAME L"Microsoft.UI.Xaml.2.5"
#define MUXCONTROLS_PACKAGE_NAME L"Microsoft.UI.Xaml.CBS"
#else
#define MUXCONTROLS_PACKAGE_NAME L"Microsoft.UI.Xaml.2.5"
#define MUXCONTROLS_PACKAGE_NAME L"Microsoft.UI.Xaml.CBS"
#endif

0 comments on commit 24b6812

Please sign in to comment.