-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLocalizationManager.csproj
More file actions
113 lines (94 loc) · 4.42 KB
/
LocalizationManager.csproj
File metadata and controls
113 lines (94 loc) · 4.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<AssemblyName>lrm</AssemblyName>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Version and Assembly Information -->
<Version>0.7.12</Version>
<AssemblyVersion>0.7.12.0</AssemblyVersion>
<FileVersion>0.7.12.0</FileVersion>
<Authors>Nikolaos Protopapas</Authors>
<Company>Nikolaos Protopapas</Company>
<Product>Localization Resource Manager (LRM)</Product>
<Description>CLI/TUI tool for managing .NET .resx localization files</Description>
<Copyright>Copyright © 2025 Nikolaos Protopapas</Copyright>
<!-- Publishing Configuration -->
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>false</PublishTrimmed>
<SelfContained>true</SelfContained>
</PropertyGroup>
<ItemGroup>
<InternalsVisibleTo Include="LocalizationManager.Tests" />
</ItemGroup>
<ItemGroup>
<!-- CLI/TUI specific packages -->
<PackageReference Include="Spectre.Console" Version="0.53.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.53.0" />
<PackageReference Include="Terminal.Gui" Version="1.19.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<!-- Web GUI components -->
<PackageReference Include="Radzen.Blazor" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="LocalizationManager.Core\LocalizationManager.Core.csproj" />
<ProjectReference Include="LocalizationManager.Shared\LocalizationManager.Shared.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Remove="LocalizationManager.Tests/**" />
<EmbeddedResource Remove="LocalizationManager.Tests/**" />
<None Remove="LocalizationManager.Tests/**" />
<Content Remove="LocalizationManager.Tests/**" />
<Compile Remove="LocalizationManager.Core/**" />
<EmbeddedResource Remove="LocalizationManager.Core/**" />
<None Remove="LocalizationManager.Core/**" />
<Content Remove="LocalizationManager.Core/**" />
<Compile Remove="Core/**" />
<EmbeddedResource Remove="Core/**" />
<None Remove="Core/**" />
<Content Remove="Core/**" />
<Compile Remove="LocalizationManager.Shared/**" />
<EmbeddedResource Remove="LocalizationManager.Shared/**" />
<None Remove="LocalizationManager.Shared/**" />
<Content Remove="LocalizationManager.Shared/**" />
<Compile Remove="LocalizationManager.JsonLocalization/**" />
<EmbeddedResource Remove="LocalizationManager.JsonLocalization/**" />
<None Remove="LocalizationManager.JsonLocalization/**" />
<Content Remove="LocalizationManager.JsonLocalization/**" />
<Compile Remove="LocalizationManager.JsonLocalization.Generator/**" />
<EmbeddedResource Remove="LocalizationManager.JsonLocalization.Generator/**" />
<None Remove="LocalizationManager.JsonLocalization.Generator/**" />
<Content Remove="LocalizationManager.JsonLocalization.Generator/**" />
<Compile Remove="samples/**" />
<EmbeddedResource Remove="samples/**" />
<None Remove="samples/**" />
<Content Remove="samples/**" />
<Compile Remove="cloud/**" />
<EmbeddedResource Remove="cloud/**" />
<None Remove="cloud/**" />
<Content Remove="cloud/**" />
</ItemGroup>
<ItemGroup>
<RazorGenerate Remove="**\*.cshtml" />
<RazorGenerate Remove="**\*.razor" />
</ItemGroup>
<!-- Embed static files (wwwroot) into single executable -->
<ItemGroup>
<EmbeddedResource Include="wwwroot\**\*" />
</ItemGroup>
<!-- Copy Radzen static assets to wwwroot for embedding in single-file executable -->
<Target Name="CopyRadzenAssets" BeforeTargets="Build" Condition="!Exists('wwwroot/lib/radzen/Radzen.Blazor.js')">
<PropertyGroup>
<RadzenPackagePath>$(NuGetPackageRoot)radzen.blazor/6.0.0/staticwebassets</RadzenPackagePath>
</PropertyGroup>
<ItemGroup>
<RadzenCssFiles Include="$(RadzenPackagePath)/**/*.css" />
<RadzenJsFile Include="$(RadzenPackagePath)/Radzen.Blazor.js" />
</ItemGroup>
<MakeDir Directories="wwwroot/lib/radzen" />
<Copy SourceFiles="@(RadzenCssFiles)" DestinationFolder="wwwroot/lib/radzen/%(RecursiveDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="@(RadzenJsFile)" DestinationFolder="wwwroot/lib/radzen" SkipUnchangedFiles="true" />
<Message Importance="high" Text="Copied Radzen assets to wwwroot/lib/radzen/" />
</Target>
</Project>