Files
WpfExtended/WpfExtended.Blazor/WpfExtended.Blazor.csproj
T
2026-01-06 16:26:06 +01:00

47 lines
2.2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFrameworks>net10.0-windows10.0.17763.0</TargetFrameworks>
<UseWPF>true</UseWPF>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.9.0</Version>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<Description>
Extension library for Blazor Hybrid running on Windows Presentation Platform.
</Description>
<Authors>Alexandru Macocian</Authors>
<RepositoryUrl>https://github.com/AlexMacocian/WpfExtended</RepositoryUrl>
<!-- Disable static web asset props file generation for consumers -->
<StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
<GenerateStaticWebAssetsManifest>false</GenerateStaticWebAssetsManifest>
<GenerateStaticWebAssetEndpointsManifest>false</GenerateStaticWebAssetEndpointsManifest>
<GenerateStaticWebAssetEndpointsPropsFile>false</GenerateStaticWebAssetEndpointsPropsFile>
<DisableStaticWebAssetsBuildPropsFileGeneration>true</DisableStaticWebAssetsBuildPropsFileGeneration>
<IncludeStaticWebAssetsPackItems>false</IncludeStaticWebAssetsPackItems>
</PropertyGroup>
<!-- Remove auto-generated build props/targets from the NuGet package -->
<Target Name="RemoveStaticWebAssetsPropsFromPackage" BeforeTargets="GenerateNuspec">
<ItemGroup>
<_PackageFiles Remove="@(_PackageFiles)"
Condition="'%(Identity)' != '' And $([System.String]::new('%(Identity)').Contains('StaticWebAssets'))" />
<_PackageFiles Remove="@(_PackageFiles)"
Condition="'%(Identity)' != '' And $([System.String]::new('%(Identity)').EndsWith('.props'))" />
<_PackageFiles Remove="@(_PackageFiles)"
Condition="'%(Identity)' != '' And $([System.String]::new('%(Identity)').EndsWith('.targets'))" />
</ItemGroup>
</Target>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components" Version="10.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="10.0.20" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3650.58" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WpfExtended\WpfExtended.csproj" />
</ItemGroup>
</Project>