UWP Packaging Display Name from resource rsew

Gregory Bologna 46 Reputation points
2021-11-10T19:15:28.16+00:00

When I publish my app with a resource string for the "Display Name" in Package.appxmanifest, the resource string appears on the installer instead of the value.

148332-image.png

Universal Windows Platform (UWP)
{count} votes

2 answers

Sort by: Most helpful
  1. Gregory Bologna 46 Reputation points
    2021-11-18T16:07:12.157+00:00

    No change.

    I have followed the instructions found here

    https://learn.microsoft.com/en-us/windows/uwp/app-resources/localize-strings-ui-manifest

    150715-image.png

    Here are all the settings in my csproj and csproj.user files. When I publish debug or release x64 sideload version, the

    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
    <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProjectGuid>{BB6F88B6-CAC4-4D94-A0C4-1154B2324D98}</ProjectGuid>
    <OutputType>AppContainerExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>VisitorSignInSystem.Manager</RootNamespace>
    <AssemblyName>VisitorSignInSystem.Manager</AssemblyName>
    <DefaultLanguage>en-US</DefaultLanguage>
    <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
    <TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
    <TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
    <MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
    <FileAlignment>512</FileAlignment>
    <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
    <PackageCertificateKeyFile>
    </PackageCertificateKeyFile>
    <PackageCertificateThumbprint>4870564704797EFD8DBBD1EE63BF0DBE65A9AD64</PackageCertificateThumbprint>
    <AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
    <GenerateAppInstallerFile>True</GenerateAppInstallerFile>
    <AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
    <AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
    <GenerateTestArtifacts>True</GenerateTestArtifacts>
    <AppxBundle>Always</AppxBundle>
    <AppxBundlePlatforms>x64</AppxBundlePlatforms>
    <HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
    <AppxPackageDir>\pluto\d%24\MSIX.Server\vsis\manager</AppxPackageDir>
    <AppInstallerUri>https://msix.manateepao.com/vsis/manager/</AppInstallerUri>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>bin\x86\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <NoWarn>;2008</NoWarn>
    <DebugType>full</DebugType>
    <PlatformTarget>x86</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    <OutputPath>bin\x86\Release\</OutputPath>
    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <Optimize>true</Optimize>
    <NoWarn>;2008</NoWarn>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>x86</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>bin\ARM\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <NoWarn>;2008</NoWarn>
    <DebugType>full</DebugType>
    <PlatformTarget>ARM</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
    <OutputPath>bin\ARM\Release\</OutputPath>
    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <Optimize>true</Optimize>
    <NoWarn>;2008</NoWarn>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>ARM</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>bin\ARM64\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <NoWarn>;2008</NoWarn>
    <DebugType>full</DebugType>
    <PlatformTarget>ARM64</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
    <OutputPath>bin\ARM64\Release\</OutputPath>
    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <Optimize>true</Optimize>
    <NoWarn>;2008</NoWarn>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>ARM64</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>bin\x64\Debug\</OutputPath>
    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS</DefineConstants>
    <NoWarn>;2008</NoWarn>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>x64</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    <RunCodeAnalysis>false</RunCodeAnalysis>
    <Optimize>false</Optimize>
    <DocumentationFile>
    </DocumentationFile>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    <OutputPath>bin\x64\Release\</OutputPath>
    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <Optimize>true</Optimize>
    <NoWarn>;2008</NoWarn>
    <DebugType>full</DebugType>
    <PlatformTarget>x64</PlatformTarget>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <Prefer32Bit>true</Prefer32Bit>
    <UseDotNetNativeToolchain>false</UseDotNetNativeToolchain>
    <DebugSymbols>true</DebugSymbols>
    </PropertyGroup>
    <PropertyGroup>
    <RestoreProjectStyle>PackageReference</RestoreProjectStyle>
    </PropertyGroup>
    <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.SignalR.Client">
    <Version>6.0.0</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
    <Version>6.2.13</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Mvvm">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.Notifications">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI.Animations">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI.Behaviors">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI.Controls">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI.Controls.DataGrid">
    <Version>7.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.UI.Xaml">
    <Version>2.7.0</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Xaml.Behaviors.Uwp.Managed">
    <Version>2.0.1</Version>
    </PackageReference>
    </ItemGroup>
    <ItemGroup>
    <PRIResource Include="Strings\en-us\Resources.resw" />
    </ItemGroup>
    <ItemGroup>
    <Compile Include="Activation\ActivationHandler.cs" />
    <Compile Include="BackgroundTasks\BackgroundTask.cs" />
    <Compile Include="BackgroundTasks\BackgroundTask1.cs" />
    <Compile Include="Helpers\EnumToBooleanConverter.cs" />
    <Compile Include="Helpers\NavHelper.cs" />
    <Compile Include="Helpers\SettingsStorageExtensions.cs" />
    <Compile Include="Services\ActivationService.cs" />
    <Compile Include="Activation\DefaultActivationHandler.cs" />
    <Compile Include="Services\BackgroundTaskService.cs" />
    <Compile Include="Services\LiveTileService.cs" />
    <Compile Include="Services\LiveTileService.Samples.cs" />
    <Compile Include="Services\NavigationService.cs" />
    <Compile Include="Services\SuspendAndResumeArgs.cs" />
    <Compile Include="Services\SuspendAndResumeService.cs" />
    <Compile Include="Services\SuspensionState.cs" />
    <Compile Include="Services\ThemeSelectorService.cs" />
    <Compile Include="Services\ToastNotificationsService.cs" />
    <Compile Include="Services\ToastNotificationsService.Samples.cs" />
    <Compile Include="Services\VsisConfiguration.cs" />
    <Compile Include="Services\WhatsNewDisplayService.cs" />
    <Compile Include="Views\MainPage.xaml.cs">
    <DependentUpon>MainPage.xaml</DependentUpon>
    </Compile>
    <Compile Include="Views\SettingsPage.xaml.cs">
    <DependentUpon>SettingsPage.xaml</DependentUpon>
    </Compile>
    <Compile Include="Views\ShellPage.xaml.cs">
    <DependentUpon>ShellPage.xaml</DependentUpon>
    </Compile>
    <Compile Include="Views\VisitorMetricsPage.xaml.cs">
    <DependentUpon>VisitorMetricsPage.xaml</DependentUpon>
    </Compile>
    <Compile Include="Views\WhatsNewDialog.xaml.cs">
    <DependentUpon>WhatsNewDialog.xaml</DependentUpon>
    </Compile>
    </ItemGroup>
    <ItemGroup>
    <Compile Include="App.xaml.cs">
    <DependentUpon>App.xaml</DependentUpon>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
    </ItemGroup>
    <ItemGroup>
    <Page Include="Styles\Page.xaml">
    <Generator>MSBuild:Compile</Generator>
    <SubType>Designer</SubType>
    </Page>
    <Page Include="Styles_Colors.xaml">
    <SubType>Designer</SubType>
    <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Styles_FontSizes.xaml">
    <SubType>Designer</SubType>
    <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Styles_Thickness.xaml">
    <SubType>Designer</SubType>
    <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Styles\TextBlock.xaml">
    <SubType>Designer</SubType>
    <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Views\MainPage.xaml">
    <SubType>Designer</SubType>
    <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Views\SettingsPage.xaml">
    <Generator>MSBuild:Compile</Generator>
    <SubType>Designer</SubType>
    </Page>
    <Page Include="Views\ShellPage.xaml">
    <Generator>MSBuild:Compile</Generator>
    <SubType>Designer</SubType>
    </Page>
    <Page Include="Views\VisitorMetricsPage.xaml">
    <SubType>Designer</SubType>
    <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Views\WhatsNewDialog.xaml">
    <Generator>MSBuild:Compile</Generator>
    <SubType>Designer</SubType>
    </Page>
    </ItemGroup>
    <ItemGroup>
    <AppxManifest Include="Package.appxmanifest">
    <SubType>Designer</SubType>
    </AppxManifest>
    </ItemGroup>
    <ItemGroup>
    <Compile Include="Helpers\ResourceExtensions.cs" />
    </ItemGroup>
    <ItemGroup>
    <Content Include="Assets\BadgeLogo.scale-100.png" />
    <Content Include="Assets\BadgeLogo.scale-125.png" />
    <Content Include="Assets\BadgeLogo.scale-150.png" />
    <Content Include="Assets\BadgeLogo.scale-200.png" />
    <Content Include="Assets\BadgeLogo.scale-400.png" />
    <Content Include="Assets\LargeTile.scale-100.png" />
    <Content Include="Assets\LargeTile.scale-125.png" />
    <Content Include="Assets\LargeTile.scale-150.png" />
    <Content Include="Assets\LargeTile.scale-200.png" />
    <Content Include="Assets\LargeTile.scale-400.png" />
    <Content Include="Assets\SmallTile.scale-100.png" />
    <Content Include="Assets\SmallTile.scale-125.png" />
    <Content Include="Assets\SmallTile.scale-150.png" />
    <Content Include="Assets\SmallTile.scale-200.png" />
    <Content Include="Assets\SmallTile.scale-400.png" />
    <Content Include="Assets\SplashScreen.scale-100.png" />
    <Content Include="Assets\SplashScreen.scale-125.png" />
    <Content Include="Assets\SplashScreen.scale-150.png" />
    <Content Include="Assets\SplashScreen.scale-400.png" />
    <Content Include="Assets\Square150x150Logo.scale-100.png" />
    <Content Include="Assets\Square150x150Logo.scale-125.png" />
    <Content Include="Assets\Square150x150Logo.scale-150.png" />
    <Content Include="Assets\Square150x150Logo.scale-400.png" />
    <Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-16.png" />
    <Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-24.png" />
    <Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-256.png" />
    <Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-32.png" />
    <Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-48.png" />
    <Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-16.png" />
    <Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-256.png" />
    <Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-32.png" />
    <Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-48.png" />
    <Content Include="Assets\Square44x44Logo.scale-100.png" />
    <Content Include="Assets\Square44x44Logo.scale-125.png" />
    <Content Include="Assets\Square44x44Logo.scale-150.png" />
    <Content Include="Assets\Square44x44Logo.scale-400.png" />
    <Content Include="Assets\Square44x44Logo.targetsize-16.png" />
    <Content Include="Assets\Square44x44Logo.targetsize-24.png" />
    <Content Include="Assets\Square44x44Logo.targetsize-256.png" />
    <Content Include="Assets\Square44x44Logo.targetsize-32.png" />
    <Content Include="Assets\Square44x44Logo.targetsize-48.png" />
    <Content Include="Assets\StoreLogo.scale-100.png" />
    <Content Include="Assets\StoreLogo.scale-125.png" />
    <Content Include="Assets\StoreLogo.scale-150.png" />
    <Content Include="Assets\StoreLogo.scale-200.png" />
    <Content Include="Assets\StoreLogo.scale-400.png" />
    <Content Include="Assets\Wide310x150Logo.scale-100.png" />
    <Content Include="Assets\Wide310x150Logo.scale-125.png" />
    <Content Include="Assets\Wide310x150Logo.scale-150.png" />
    <Content Include="Assets\Wide310x150Logo.scale-400.png" />
    <Content Include="Properties\Default.rd.xml" />
    <Content Include="Assets\LockScreenLogo.scale-200.png" />
    <Content Include="Assets\SplashScreen.scale-200.png" />
    <Content Include="Assets\Square150x150Logo.scale-200.png" />
    <Content Include="Assets\Square44x44Logo.scale-200.png" />
    <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
    <Content Include="Assets\Wide310x150Logo.scale-200.png" />
    </ItemGroup>
    <ItemGroup>
    <None Include=".editorconfig" />
    <None Include="Settings.XamlStyler" />
    <None Include="vsis.manateepao.gov.pfx" />
    <None Include="VSIS_Manager.pfx" />
    </ItemGroup>
    <ItemGroup>
    <ApplicationDefinition Include="App.xaml">
    <Generator>MSBuild:Compile</Generator>
    <SubType>Designer</SubType>
    </ApplicationDefinition>
    </ItemGroup>
    <ItemGroup>
    <ProjectReference Include="..\VisitorSignInSystem.Manager.Core\VisitorSignInSystem.Manager.Core.csproj">
    <Project>{D0E78F04-E969-4037-8568-E8D62A783FD4}</Project>
    <Name>VisitorSignInSystem.Manager.Core</Name>
    </ProjectReference>
    </ItemGroup>
    <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
    <VisualStudioVersion>14.0</VisualStudioVersion>
    </PropertyGroup>
    <PropertyGroup>
    <SignAssembly>true</SignAssembly>
    </PropertyGroup>
    <PropertyGroup>
    <AssemblyOriginatorKeyFile>VSIS_Manager.pfx</AssemblyOriginatorKeyFile>
    </PropertyGroup>
    <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
    <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    Other similar extension points exist, see Microsoft.Common.targets.
    <Target Name="BeforeBuild">
    </Target>
    <Target Name="AfterBuild">
    </Target>
    -->
    </Project>

    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
    <UapAppxPackageBuildMode>SideloadOnly</UapAppxPackageBuildMode>
    <AppxShowAllApps>False</AppxShowAllApps>
    <AppxBuildConfigurationSelection>x64</AppxBuildConfigurationSelection>
    <PackageOptionalProjectsInIdeBuilds>True</PackageOptionalProjectsInIdeBuilds>
    <ProjectView>ProjectFiles</ProjectView>
    <Source>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</Source>
    <SmallTileSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</SmallTileSource>
    <MediumTileSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</MediumTileSource>
    <WideTileSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</WideTileSource>
    <LargeTileSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</LargeTileSource>
    <AppIconSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</AppIconSource>
    <SplashScreenSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</SplashScreenSource>
    <BadgeLogoSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</BadgeLogoSource>
    <PackageLogoSource>C:\source\repos\VisitorSignInSystem.Manager\VisitorSignInSystem.Manager\Assets\MCPAO_LOGO_VSIS_MANAGER.png</PackageLogoSource>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    <CreateCleanLayout>true</CreateCleanLayout>
    <DoNotLaunchApp>false</DoNotLaunchApp>
    <EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
    </PropertyGroup>
    </Project>


  2. Gregory Bologna 46 Reputation points
    2021-12-03T20:08:33.05+00:00

    Yes. Just to be clear, I am publishing as sideloaded with enable auto updates. I can share the app with you if that is possible. Thanks.