|
1 | | -<Project Sdk="Microsoft.NET.Sdk.Web"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk.Web"> |
2 | 2 | <PropertyGroup> |
3 | 3 | <TargetFramework>net8.0</TargetFramework> |
4 | 4 | </PropertyGroup> |
5 | 5 | <ItemGroup> |
6 | | - <PlaceholderHtmlFile Include="$(ProjectDir)Placeholders/*.html" /> |
7 | | - <PlaceholderJsonFile Include="$(ProjectDir)Placeholders/*.json" /> |
| 6 | + <PlaceholderChapterOneHtmlFile Include="$(ProjectDir)/Placeholders/Chapters/01/Pages/*.html" /> |
| 7 | + <PlaceholderChapterTwoHtmlFile Include="$(ProjectDir)/Placeholders/Chapters/02/Pages/*.html" /> |
| 8 | + <PlaceholderSitemapJsonFile Include="$(ProjectDir)/Placeholders/sitemap.json" /> |
| 9 | + <PlaceholderGuidelinesJsonFile Include="$(ProjectDir)/Placeholders/guidelines.json" /> |
8 | 10 | </ItemGroup> |
9 | 11 |
|
10 | 12 | <ItemGroup Condition="$(AccessToNugetFeed)"> |
|
20 | 22 | <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" /> |
21 | 23 | <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" /> |
22 | 24 | <PackageReference Include="Microsoft.AspNetCore.Identity.UI" /> |
| 25 | + <PackageReference Include="Microsoft.CodeAnalysis.CSharp" /> |
23 | 26 | <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" /> |
24 | 27 | <PackageReference Include="Microsoft.EntityFrameworkCore.Tools"> |
25 | 28 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
|
40 | 43 | </Content> |
41 | 44 | </ItemGroup> |
42 | 45 | <Target Condition="!$(AccessToNugetFeed)" Name="CopyPlaceholderContent" BeforeTargets="Build"> |
43 | | - <Copy SourceFiles="@(PlaceholderJsonFile)" DestinationFolder="$(ProjectDir)/Chapters/" SkipUnchangedFiles="true" /> |
44 | | - <Copy SourceFiles="@(PlaceholderHtmlFile)" DestinationFolder="$(ProjectDir)/Chapters/01/Pages/" SkipUnchangedFiles="true" /> |
| 46 | + <Copy SourceFiles="@(PlaceholderSitemapJsonFile)" DestinationFolder="$(ProjectDir)/Chapters/" SkipUnchangedFiles="true" /> |
| 47 | + <Copy SourceFiles="@(PlaceholderGuidelinesJsonFile)" DestinationFolder="$(ProjectDir)/Guidelines/" SkipUnchangedFiles="true" /> |
| 48 | + <Copy SourceFiles="@(PlaceholderChapterOneHtmlFile)" DestinationFolder="$(ProjectDir)/Chapters/01/Pages/" SkipUnchangedFiles="true" /> |
| 49 | + <Copy SourceFiles="@(PlaceholderChapterTwoHtmlFile)" DestinationFolder="$(ProjectDir)/Chapters/02/Pages/" SkipUnchangedFiles="true" /> |
45 | 50 | </Target> |
46 | 51 |
|
47 | 52 | <PropertyGroup> |
|
0 commit comments