mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-04-05 22:01:04 +00:00
97 lines
4.7 KiB
XML
97 lines
4.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
|
<PropertyGroup>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<NoWarn>BL9993;BL0007;BL0005</NoWarn>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<TargetFrameworks>net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
|
|
<RazorLangVersion>7.0</RazorLangVersion>
|
|
<LangVersion>latest</LangVersion>
|
|
<OutputType>Library</OutputType>
|
|
<IsPackable>true</IsPackable>
|
|
<PackageId>Radzen.Blazor</PackageId>
|
|
<Product>Radzen.Blazor</Product>
|
|
<Version>10.0.0</Version>
|
|
<Copyright>Radzen Ltd.</Copyright>
|
|
<Authors>Radzen Ltd.</Authors>
|
|
<Description>Radzen Blazor is the most sophisticated free UI component library for Blazor, featuring 110+ native components including DataGrid, Scheduler, Charts, and advanced theming with full support for Material Design and Fluent UI.</Description>
|
|
<PackageTags>blazor material design fluent fluentui components datagrid scheduler charts</PackageTags>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<PackageProjectUrl>https://www.radzen.com</PackageProjectUrl>
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<Title>Radzen Components for Blazor</Title>
|
|
<RepositoryUrl>https://github.com/radzenhq/radzen-blazor</RepositoryUrl>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
NuGet symbol packages (.snupkg) require portable PDB files.
|
|
Directory.Build.props in this repo uses DebugType=embedded by default, which produces no .pdb files and results
|
|
in an effectively empty .snupkg. Force portable PDBs for Release/packing.
|
|
-->
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="DartSassBuilder" Version="1.1.0" PrivateAssets="All" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components" Condition="'$(TargetFramework)' == 'net7.0'" Version="7.0.14" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Condition="'$(TargetFramework)' == 'net7.0'" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components" Condition="'$(TargetFramework)' == 'net8.0'" Version="8.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Condition="'$(TargetFramework)' == 'net8.0'" Version="8.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components" Condition="'$(TargetFramework)' == 'net9.0'" Version="9.*-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Condition="'$(TargetFramework)' == 'net9.0'" Version="9.*-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components" Condition="'$(TargetFramework)' == 'net10.0'" Version="10.*-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Condition="'$(TargetFramework)' == 'net10.0'" Version="10.*-*" />
|
|
<PackageReference Include="Radzen.Terser.MSBuild" Version="0.0.4" PrivateAssets="All" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="LICENSE.txt" Pack="true" PackagePath="" />
|
|
<None Include="icon.png" Pack="true" PackagePath="" />
|
|
<None Include="..\README.md" Pack="true" PackagePath="\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="LinkerConfig.xml">
|
|
<LogicalName>$(MSBuildProjectName).xml</LogicalName>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<DartSassOutputStyle>compressed</DartSassOutputStyle>
|
|
<EnableDefaultSassItems>false</EnableDefaultSassItems>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
|
|
<SassFile Include="$(MSBuildProjectDirectory)/themes/**/*.scss" />
|
|
<Content Remove="wwwroot/Radzen.Blazor.min.js" />
|
|
<Content Remove="wwwroot/css/**/*.css" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="MoveCss" AfterTargets="BeforeBuild" Condition="'$(TargetFramework)' == 'net10.0'">
|
|
<ItemGroup>
|
|
<CssFile Include="$(MSBuildProjectDirectory)/themes/*.css" />
|
|
</ItemGroup>
|
|
<Move SourceFiles="@(CssFile)" DestinationFolder="$(MSBuildProjectDirectory)/wwwroot/css/" />
|
|
<ItemGroup>
|
|
<Content Include="wwwroot/css/**/*.css" />
|
|
</ItemGroup>
|
|
</Target>
|
|
|
|
<Target Name="MinifyTest" AfterTargets="BeforeBuild" Condition="'$(TargetFramework)' == 'net10.0'">
|
|
<TerserMinify InputFile="wwwroot\Radzen.Blazor.js" OutputFile="wwwroot\Radzen.Blazor.min.js" />
|
|
<ItemGroup>
|
|
<Content Include="wwwroot/Radzen.Blazor.min.js" />
|
|
</ItemGroup>
|
|
</Target>
|
|
|
|
<ItemGroup Label="Allow internal method to be visible to the unit tests">
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>Radzen.Blazor.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
</Project>
|