mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 20:17:58 +08:00
c3b0b114e6
* feat: add form(not complete yet) * feat: add form(basic) * refactor: change namespace * feat(module: form): add onFinish, onFinishFailed, reset * feat(module: form): add layout demo * feat(module: form): update doc * refactor: basic form Co-authored-by: ElderJames <shunjiey@hotmail.com>
73 lines
3.3 KiB
XML
73 lines
3.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<IsPackable>true</IsPackable>
|
|
<RazorLangVersion>3.0</RazorLangVersion>
|
|
<Description>Ant Design components for Blazor and Razor Components</Description>
|
|
<PackageProjectUrl>https://github.com/ant-design-blazor/ant-design-blazor</PackageProjectUrl>
|
|
<RepositoryUrl>https://github.com/ant-design-blazor/ant-design-blazor</RepositoryUrl>
|
|
<PackageTags>blazor,ant-design,antd,design,razor,components</PackageTags>
|
|
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
|
<RepositoryType>git</RepositoryType>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<Copyright>James Yeung</Copyright>
|
|
<Authors>James Yeung</Authors>
|
|
<PackageIcon>logo.png</PackageIcon>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DocumentationFile>AntDesign.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- The nuget package icon -->
|
|
<None Include="logo.png" Pack="true" PackagePath="" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- ignore the tsconfig.json file in package -->
|
|
<Content Remove="tsconfig.json" />
|
|
<None Include="tsconfig.json" CopyToOutputDirectory="Never"></None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Ardalis.SmartEnum" Version="1.0.8" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.4" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="OneOf" Version="2.1.151" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' And '$(SolutionDir)'==''">
|
|
<SolutionDir>../</SolutionDir>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('$(SolutionDir)node_modules') ">
|
|
<!-- Ensure Node.js is installed -->
|
|
<Exec Command="node --version" ContinueOnError="true">
|
|
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
|
|
</Exec>
|
|
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
|
|
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
|
|
<Exec WorkingDirectory="$(SolutionDir)" Command="npm install" />
|
|
</Target>
|
|
|
|
<Target Name="DebugRunGulp" BeforeTargets="DebugEnsureNodeEnv" Condition=" '$(Configuration)' == 'Debug' And Exists('$(SolutionDir)node_modules') ">
|
|
<Exec WorkingDirectory="$(SolutionDir)" Command="npm run gulp:components" />
|
|
</Target>
|
|
|
|
<Target Name="PublishRunGulp" AfterTargets="ComputeFilesToPublish">
|
|
<Exec WorkingDirectory="$(SolutionDir)" Command="npm install" />
|
|
<Exec WorkingDirectory="$(SolutionDir)" Command="npm run gulp:components" />
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<Content Update="**\*.razor">
|
|
<Pack>false</Pack>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project> |