2021-07-21 00:08:57 +00:00
<Project Sdk= "Microsoft.NET.Sdk.Web" >
<PropertyGroup >
<TargetFramework > net5.0</TargetFramework>
<UserSecretsId > aspnet-Props-20A2A991-EC61-4C06-91D2-953482026A7B</UserSecretsId>
</PropertyGroup>
<ItemGroup >
<None Update= "app.db" CopyToOutputDirectory= "PreserveNewest" ExcludeFromSingleFile= "true" />
</ItemGroup>
<ItemGroup >
<PackageReference Include= "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version= "5.0.5" />
<PackageReference Include= "Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version= "5.0.8" />
<PackageReference Include= "Microsoft.AspNetCore.Identity.UI" Version= "5.0.8" />
<PackageReference Include= "Microsoft.EntityFrameworkCore.Design" Version= "5.0.8" >
<IncludeAssets > runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets > all</PrivateAssets>
</PackageReference>
2021-07-21 06:58:49 +00:00
<PackageReference Include= "Microsoft.EntityFrameworkCore.Proxies" Version= "5.0.8" />
2021-07-21 00:08:57 +00:00
<PackageReference Include= "Microsoft.EntityFrameworkCore.Sqlite" Version= "5.0.8" />
<PackageReference Include= "Microsoft.EntityFrameworkCore.SqlServer" Version= "5.0.8" />
<PackageReference Include= "Microsoft.EntityFrameworkCore.Tools" Version= "5.0.8" >
<IncludeAssets > runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets > all</PrivateAssets>
</PackageReference>
<PackageReference Include= "Microsoft.VisualStudio.Web.CodeGeneration.Design" Version= "5.0.2" />
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\Props-Modules\Props.Shop\Framework\Props.Shop.Framework.csproj" />
</ItemGroup>
<ItemGroup >
2021-07-21 06:58:49 +00:00
<Content Include= ".\content\**\*" >
2021-07-21 00:08:57 +00:00
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup >
<Watch Include= "**\*.js;**\*.scss" Exclude= "node_modules\**\*;**\*.js.map;obj\**\*;bin\**\*" />
</ItemGroup>
<Target Name= "DebugEnsureNodeEnv" BeforeTargets= "Build" Condition= " '$(Configuration)' == 'Debug' And !Exists('$(SpaRoot)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= "$(SpaRoot)" Command= "npm install" />
</Target>
<!-- Build static resources -->
<Target Name= "BuildWebpack" BeforeTargets= "Build" >
2021-07-23 01:25:41 +00:00
<Exec Command= "npm run build:dev" Condition= " '$(Configuration)' == 'Debug' " LogStandardErrorAsError= "true" />
<Exec Command= "npm run build:prod" Condition= " '$(Configuration)' == 'Release' " LogStandardErrorAsError= "true" />
2021-07-21 00:08:57 +00:00
</Target>
</Project>