- TranslationSource singleton with INotifyPropertyChanged indexer binding - PropertyChanged fires with string.Empty on culture switch (signals all bindings refresh) - Missing key returns [key] placeholder (prevents null in WPF bindings) - Strings.resx with 27 Phase 1 UI string keys (EN) - Strings.fr.resx with same 27 keys stubbed with EN text (FR completeness Phase 5) - Strings.Designer.cs ResourceManager for dotnet build compatibility - SharepointToolbox.csproj updated with EmbeddedResource metadata
41 lines
1.5 KiB
XML
41 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UseWPF>true</UseWPF>
|
|
<PublishTrimmed>false</PublishTrimmed>
|
|
<StartupObject>SharepointToolbox.App</StartupObject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ApplicationDefinition Remove="App.xaml" />
|
|
<Page Include="App.xaml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Localization\Strings.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Update="Localization\Strings.fr.resx">
|
|
<DependentUpon>Strings.resx</DependentUpon>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />
|
|
<PackageReference Include="Microsoft.Identity.Client" Version="4.83.3" />
|
|
<PackageReference Include="Microsoft.Identity.Client.Broker" Version="4.82.1" />
|
|
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.83.3" />
|
|
<PackageReference Include="PnP.Framework" Version="1.18.0" />
|
|
<PackageReference Include="Serilog" Version="4.3.1" />
|
|
<PackageReference Include="Serilog.Extensions.Hosting" Version="10.0.0" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|