mirror of
https://github.com/dotnetcore/Util.git
synced 2026-10-21 22:56:32 +08:00
63 lines
2.4 KiB
XML
63 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
|
<Authors>何镇汐</Authors>
|
|
<Company>何镇汐</Company>
|
|
<Description>Util应用框架Web示例项目</Description>
|
|
<!--阻止ts自动编译-->
|
|
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
|
|
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
|
|
<AssemblyName>Util.Samples.Angular.Material</AssemblyName>
|
|
<RootNamespace>Util.Samples</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<DebugType>portable</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DocumentationFile>bin\Release\netcoreapp2.1\Util.Samples.xml</DocumentationFile>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DocumentationFile>bin\Debug\netcoreapp2.1\Util.Samples.xml</DocumentationFile>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Exceptionless.AspNetCore" Version="4.3.2022" />
|
|
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.2.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" />
|
|
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="2.0.0" />
|
|
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Util.Ui.Angular.Material\04-Util.Ui.Angular.Material.csproj" />
|
|
<ProjectReference Include="..\Util.Samples.Service\Util.Samples.Service.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Update="nlog.config">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<!-- Debug调试模式打包第三方框架 -->
|
|
<Target Name="Debug_RunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
|
|
<!-- 打包 -->
|
|
<Message Importance="high" Text="Webpack开始打包..." />
|
|
<!--<Exec Command="npm run dev" />-->
|
|
</Target>
|
|
|
|
<!-- 发布阶段打包 -->
|
|
<Target Name="Publish_RunWebpack" AfterTargets="ComputeFilesToPublish">
|
|
<Message Importance="high" Text="Webpack开始打包..." />
|
|
<!--<Exec Command="npm run prod" />-->
|
|
</Target>
|
|
|
|
</Project>
|