2020-06-01 14:09:28 +08:00
<Project Sdk= "Microsoft.NET.Sdk.Razor" >
2019-12-04 16:46:08 +08:00
<PropertyGroup >
2020-02-15 18:22:51 +08:00
<TargetFramework > netstandard2.1</TargetFramework>
2019-12-04 16:46:08 +08:00
<OutputType > Library</OutputType>
<IsPackable > true</IsPackable>
<RazorLangVersion > 3.0</RazorLangVersion>
2019-12-05 16:23:33 +08:00
<Description > Ant Design components for Blazor and Razor Components</Description>
2020-04-28 00:13:43 +08:00
<PackageProjectUrl > https://github.com/ant-design-blazor/ant-design-blazor</PackageProjectUrl>
<RepositoryUrl > https://github.com/ant-design-blazor/ant-design-blazor</RepositoryUrl>
2020-03-28 00:02:11 +08:00
<PackageTags > blazor,ant-design,antd,design,razor,components</PackageTags>
2019-12-05 16:23:33 +08:00
<PackageRequireLicenseAcceptance > false</PackageRequireLicenseAcceptance>
<RepositoryType > git</RepositoryType>
2020-03-26 09:28:00 +08:00
<PackageLicenseExpression > MIT</PackageLicenseExpression>
2019-12-05 16:23:33 +08:00
<Copyright > James Yeung</Copyright>
<Authors > James Yeung</Authors>
2020-03-26 13:09:53 +08:00
<PackageIcon > logo.png</PackageIcon>
2020-09-05 20:27:52 +08:00
<NoWarn > CA2007</NoWarn>
2019-12-04 16:46:08 +08:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
2020-05-29 00:33:49 +08:00
<DocumentationFile > AntDesign.xml</DocumentationFile>
2019-12-04 16:46:08 +08:00
</PropertyGroup>
2020-03-26 13:09:53 +08:00
<ItemGroup >
<!-- The nuget package icon -->
2020-03-28 00:02:11 +08:00
<None Include= "logo.png" Pack= "true" PackagePath= "" />
2020-03-26 13:09:53 +08:00
</ItemGroup>
2020-03-19 16:26:02 +08:00
<ItemGroup >
<!-- ignore the tsconfig.json file in package -->
<Content Remove= "tsconfig.json" />
<None Include= "tsconfig.json" CopyToOutputDirectory= "Never" > </None>
</ItemGroup>
2019-12-04 16:46:08 +08:00
<ItemGroup >
2020-07-13 12:26:09 +08:00
<PackageReference Include= "Microsoft.AspNetCore.Components.DataAnnotations.Validation" Version= "3.2.0-rc1.20223.4" />
2020-07-03 13:37:40 +08:00
<PackageReference Include= "Microsoft.AspNetCore.Components.Web" Version= "3.1.0" />
2020-05-20 13:27:37 +08:00
<PackageReference Include= "Microsoft.CodeAnalysis.FxCopAnalyzers" Version= "3.0.0" >
2020-04-23 17:13:56 +08:00
<PrivateAssets > all</PrivateAssets>
<IncludeAssets > runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
2020-03-15 23:54:48 +08:00
<PackageReference Include= "OneOf" Version= "2.1.151" />
2019-12-04 16:46:08 +08:00
</ItemGroup>
2020-03-27 14:45:36 +08:00
<PropertyGroup Condition= " '$(Configuration)' == 'Debug' And '$(SolutionDir)'==''" >
<SolutionDir > ../</SolutionDir>
</PropertyGroup>
2020-03-17 13:42:54 +08:00
<Target Name= "DebugEnsureNodeEnv" BeforeTargets= "Build" Condition= " '$(Configuration)' == 'Debug' And !Exists('$(SolutionDir)node_modules') " >
2020-03-07 17:00:14 +08:00
<!-- 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..." />
2020-03-17 13:42:54 +08:00
<Exec WorkingDirectory= "$(SolutionDir)" Command= "npm install" />
2020-03-07 17:00:14 +08:00
</Target>
2020-03-17 13:42:54 +08:00
<Target Name= "DebugRunGulp" BeforeTargets= "DebugEnsureNodeEnv" Condition= " '$(Configuration)' == 'Debug' And Exists('$(SolutionDir)node_modules') " >
<Exec WorkingDirectory= "$(SolutionDir)" Command= "npm run gulp:components" />
2020-03-07 17:00:14 +08:00
</Target>
2020-03-11 17:35:30 +08:00
<Target Name= "PublishRunGulp" AfterTargets= "ComputeFilesToPublish" >
2020-03-17 13:42:54 +08:00
<Exec WorkingDirectory= "$(SolutionDir)" Command= "npm install" />
<Exec WorkingDirectory= "$(SolutionDir)" Command= "npm run gulp:components" />
2020-03-07 16:40:38 +08:00
</Target>
2019-12-04 16:46:08 +08:00
<ItemGroup >
<Content Update= "**\*.razor" >
<Pack > false</Pack>
</Content>
</ItemGroup>
</Project>