Skip to content

Commit

Permalink
DYN-7480 Update Resources in DynamoCoreWpf project
Browse files Browse the repository at this point in the history
I noticed that when compiling the Dynamo solution for most of the projects which contain resources in several languages (like Resources.es-ES.resx ) the ...resources.dll was generated correctly but the DynamoCoreWpf.resources.dll was missing (seems that even when the .resx files are located in \src\DynamoCoreWpf\Properties the resources are not loaded in VS2022).
Then I modified the DynamoCoreWpf.csproj adding the resources directly, in that way the DynamoCoreWpf.resources.dll was generated sucessfully in each language folder.
  • Loading branch information
RobertGlobant20 committed Jan 24, 2025
1 parent bf43080 commit 3c54f07
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/DynamoCoreWpf/DynamoCoreWpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,18 @@
<ItemGroup>
<EmbeddedResource Include="Packages\SplashScreen\build\index.bundle.js" />
<EmbeddedResource Include="Packages\SplashScreen\build\index.html" />
<EmbeddedResource Include="Properties\Resources.cs-CZ.resx" />
<EmbeddedResource Include="Properties\Resources.de-DE.resx" />
<EmbeddedResource Include="Properties\Resources.es-ES.resx" />
<EmbeddedResource Include="Properties\Resources.fr-FR.resx" />
<EmbeddedResource Include="Properties\Resources.it-IT.resx" />
<EmbeddedResource Include="Properties\Resources.ja-JP.resx" />
<EmbeddedResource Include="Properties\Resources.ko-KR.resx" />
<EmbeddedResource Include="Properties\Resources.pl-PL.resx" />
<EmbeddedResource Include="Properties\Resources.pt-BR.resx" />
<EmbeddedResource Include="Properties\Resources.ru-RU.resx" />
<EmbeddedResource Include="Properties\Resources.zh-CN.resx" />
<EmbeddedResource Include="Properties\Resources.zh-TW.resx" />
<EmbeddedResource Include="Views\SplashScreen\WebApp\splashScreenBackground.png" />
<EmbeddedResource Include="Packages\DynamoHome\build\index.bundle.js" />
<EmbeddedResource Include="Packages\DynamoHome\build\index.html" />
Expand Down Expand Up @@ -189,7 +201,7 @@
<PackageReference Include="HelixToolkit.Core.Wpf" Version="2.24.0" />
<PackageReference Include="HelixToolkit.SharpDX.Core.Wpf" Version="2.24.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="DynamoVisualProgramming.LibG_231_0_0" Version="3.4.0.3546"/>
<PackageReference Include="DynamoVisualProgramming.LibG_231_0_0" Version="3.4.0.3546" />
<PackageReference Include="FontAwesome5" Version="2.1.11" />
<PackageReference Include="AvalonEdit" Version="6.3.0.90" CopyXML="true" />
<PackageReference Include="Greg" Version="3.0.2.6533" />
Expand Down

0 comments on commit 3c54f07

Please sign in to comment.