|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk.Razor"> |
2 | 2 |
|
| 3 | + <!-- ═══════════════════════════════════════════════════════════════ --> |
| 4 | + <!-- 🎯 Multi-Target Frameworks --> |
| 5 | + <!-- ═══════════════════════════════════════════════════════════════ --> |
3 | 6 | <PropertyGroup> |
4 | | - <TargetFramework>net7.0</TargetFramework> |
| 7 | + <TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks> |
5 | 8 | <Nullable>enable</Nullable> |
6 | 9 | <ImplicitUsings>enable</ImplicitUsings> |
7 | 10 | <LangVersion>latest</LangVersion> |
|
13 | 16 | <PropertyGroup> |
14 | 17 | <!-- Basic Info --> |
15 | 18 | <PackageId>JsonViewer.Blazor</PackageId> |
16 | | - <Version>0.0.3-beta</Version> |
| 19 | + <Version>0.0.4-beta</Version> |
17 | 20 | <Title>JSON Viewer for Blazor</Title> |
18 | 21 | <Authors>Parsa Panahpoor</Authors> |
19 | 22 | <Company>JsonViewer-Component</Company> |
|
37 | 40 | • Fully responsive design |
38 | 41 | • High performance - handles large JSON files |
39 | 42 |
|
40 | | -📦 Easy to install and use in Blazor WebAssembly and Blazor Server applications. |
| 43 | +📦 Supports .NET 6, .NET 7, .NET 8, .NET 9, and .NET 10! |
41 | 44 | </Description> |
42 | 45 |
|
43 | 46 | <!-- Summary for package manager UI --> |
44 | 47 | <Summary>A powerful JSON viewer component for Blazor with search, statistics, themes, and editing capabilities.</Summary> |
45 | 48 |
|
46 | 49 | <!-- Tags - Help users find your package --> |
47 | | - <PackageTags>blazor;json;viewer;component;wasm;webassembly;dotnet;csharp;razor;asp.net;json-viewer;syntax-highlighting;dark-theme;light-theme;search;export;copy;statistics;tree-view;collapsible;expandable;editor;formatter;beautifier</PackageTags> |
| 50 | + <PackageTags>blazor;json;viewer;component;wasm;webassembly;dotnet;csharp;razor;asp.net;json-viewer;syntax-highlighting;dark-theme;light-theme;search;export;copy;statistics;tree-view;collapsible;expandable;editor;formatter;beautifier;net6;net7;net8;net9;net10</PackageTags> |
48 | 51 |
|
49 | 52 | <!-- Release Notes - Shows in NuGet "Release Notes" tab --> |
50 | 53 | <PackageReleaseNotes> |
51 | | -## 🎉 Version 0.0.3-beta |
| 54 | +## 🎉 Version 0.0.4-beta |
52 | 55 |
|
53 | 56 | ### ✨ New Features |
54 | | -- Improved repository structure |
55 | | -- Enhanced documentation |
56 | | -- Better CI/CD pipeline |
| 57 | +- Multi-framework support: .NET 6, .NET 7, .NET 8, .NET 9, .NET 10 |
| 58 | +- Wider compatibility for all Blazor applications |
57 | 59 |
|
58 | | -### 🐛 Bug Fixes |
59 | | -- Fixed Persian comments translated to English |
60 | | -- Fixed workflow issues |
61 | | -- Improved code quality |
62 | | - |
63 | | -### 📚 Documentation |
64 | | -- Reorganized project structure |
65 | | -- Updated all documentation to English |
66 | | -- Added comprehensive CHANGELOG |
| 60 | +### 🔧 Changes |
| 61 | +- Updated to support multiple .NET versions |
| 62 | +- Optimized dependencies for each framework |
67 | 63 |
|
68 | 64 | For full changelog, visit: https://github.com/JsonViewer-Component/Blazor/blob/main/docs/CHANGELOG.md |
69 | 65 | </PackageReleaseNotes> |
@@ -107,14 +103,39 @@ For full changelog, visit: https://github.com/JsonViewer-Component/Blazor/blob/m |
107 | 103 | </PropertyGroup> |
108 | 104 |
|
109 | 105 | <!-- ═══════════════════════════════════════════════════════════════ --> |
110 | | - <!-- 📚 Dependencies --> |
| 106 | + <!-- 📚 Dependencies - Conditional per Framework --> |
111 | 107 | <!-- ═══════════════════════════════════════════════════════════════ --> |
112 | 108 | <ItemGroup> |
113 | 109 | <SupportedPlatform Include="browser" /> |
114 | 110 | </ItemGroup> |
115 | 111 |
|
116 | | - <ItemGroup> |
| 112 | + <!-- .NET 6 --> |
| 113 | + <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'"> |
| 114 | + <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.36" /> |
| 115 | + </ItemGroup> |
| 116 | + |
| 117 | + <!-- .NET 7 --> |
| 118 | + <ItemGroup Condition="'$(TargetFramework)' == 'net7.0'"> |
117 | 119 | <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.20" /> |
| 120 | + </ItemGroup> |
| 121 | + |
| 122 | + <!-- .NET 8 --> |
| 123 | + <ItemGroup Condition="'$(TargetFramework)' == 'net8.0'"> |
| 124 | + <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.11" /> |
| 125 | + </ItemGroup> |
| 126 | + |
| 127 | + <!-- .NET 9 --> |
| 128 | + <ItemGroup Condition="'$(TargetFramework)' == 'net9.0'"> |
| 129 | + <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0" /> |
| 130 | + </ItemGroup> |
| 131 | + |
| 132 | + <!-- .NET 10 (Preview) --> |
| 133 | + <ItemGroup Condition="'$(TargetFramework)' == 'net10.0'"> |
| 134 | + <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="10.0.0-preview.4.25258.110" /> |
| 135 | + </ItemGroup> |
| 136 | + |
| 137 | + <!-- Shared Dependencies --> |
| 138 | + <ItemGroup> |
118 | 139 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" /> |
119 | 140 | </ItemGroup> |
120 | 141 |
|
|
0 commit comments