|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - <PropertyGroup> |
3 | | - <!-- Must be a real TFM for SDK project --> |
4 | | - <TargetFramework>net10.0</TargetFramework> |
5 | | - <!-- Prevent outputs --> |
6 | | - <OutputType>Library</OutputType> |
7 | | - <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
8 | | - <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> |
9 | | - <!-- Keep build fast --> |
10 | | - <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
11 | | - <!-- No restore work --> |
12 | | - <RestoreProjectStyle>None</RestoreProjectStyle> |
13 | | - </PropertyGroup> |
14 | | - |
15 | | - <!-- Remove all real Compile items --> |
16 | | - <ItemGroup> |
17 | | - <Compile Remove="**\*.cs" /> |
18 | | - </ItemGroup> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <!-- Must be a real TFM for SDK project --> |
| 4 | + <TargetFramework>net10.0</TargetFramework> |
| 5 | + <!-- Prevent outputs --> |
| 6 | + <OutputType>Library</OutputType> |
| 7 | + <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
| 8 | + <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> |
| 9 | + <!-- |
| 10 | + <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> |
| 11 | + <IncludeBuildOutput>false</IncludeBuildOutput> |
| 12 | + <IsPackable>false</IsPackable> |
| 13 | + --> |
| 14 | + <!-- Keep build fast --> |
| 15 | + <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
| 16 | + <!-- No restore work --> |
| 17 | + <RestoreProjectStyle>None</RestoreProjectStyle> |
| 18 | + </PropertyGroup> |
19 | 19 |
|
| 20 | + <!-- Remove all real Compile items --> |
| 21 | + <ItemGroup> |
| 22 | + <Compile Remove="**\*.cs" /> |
| 23 | + </ItemGroup> |
| 24 | + |
20 | 25 |
|
21 | | - <!-- Mirror real folders --> |
22 | | - <ItemGroup> |
23 | | - <None Include="..\RealFolderToMirror\**\*.*" /> |
24 | | - </ItemGroup> |
| 26 | + <!-- Do not display directories and files form project root directory: |
| 27 | + <ItemGroup> |
| 28 | + <None Remove="**\*.*" > |
| 29 | + </None> |
| 30 | + </ItemGroup> |
| 31 | + --> |
| 32 | + |
| 33 | + <!-- Mirror real direectories: --> |
| 34 | + <!-- /scripts, mapped to scripts/, which is also the project's root directory: --> |
| 35 | + <ItemGroup> |
| 36 | + <None Include="..\scripts\**\*.*"> |
| 37 | + <Link>scripts\%(RecursiveDir)%(Filename)%(Extension)</Link> |
| 38 | + </None> |
| 39 | + <!-- |
| 40 | + <None Remove="..\scripts\bin\**\*.*" /> |
| 41 | + <None Remove="..\scripts\obj\**\*.*" /> |
| 42 | + --> |
| 43 | + <None Remove="..\scripts\.vs\**\*.*" /> |
| 44 | + </ItemGroup> |
25 | 45 |
|
26 | | - <!-- Override all build-related targets so they do nothing --> |
27 | | - <Target Name="CoreCompile" /> |
28 | | - <Target Name="PrepareForBuild" /> |
29 | | - <Target Name="Compile" /> |
30 | | - <Target Name="Build" /> |
31 | | - <Target Name="Restore" /> |
32 | | - <Target Name="ResolveReferences" /> |
33 | | - <Target Name="GenerateTargetFrameworkMonikerAttribute" /> |
34 | | - <Target Name="GenerateAssemblyInfo" /> |
| 46 | + <!-- Override all build-related targets so they do nothing --> |
| 47 | + <Target Name="CoreCompile" /> |
| 48 | + <Target Name="PrepareForBuild" /> |
| 49 | + <Target Name="Compile" /> |
| 50 | + <Target Name="Build" /> |
| 51 | + <Target Name="Restore" /> |
| 52 | + <Target Name="ResolveReferences" /> |
| 53 | + <Target Name="GenerateTargetFrameworkMonikerAttribute" /> |
| 54 | + <Target Name="GenerateAssemblyInfo" /> |
35 | 55 | </Project> |
0 commit comments