|
12 | 12 | <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> |
13 | 13 | <IsPackable>false</IsPackable> |
14 | 14 |
|
| 15 | + <!-- Suppress “No source files specified” --> |
| 16 | + <NoWarn>$(NoWarn);CS2008</NoWarn> |
15 | 17 |
|
16 | 18 | </PropertyGroup> |
17 | 19 |
|
|
22 | 24 | </ItemGroup> |
23 | 25 |
|
24 | 26 |
|
25 | | - <!-- Do not display directories and files form project root directory: |
26 | | - --> |
| 27 | + <!-- Do not display directories and files form project root directory: --> |
27 | 28 | <ItemGroup> |
28 | 29 | <None Remove="**\*.*" > |
29 | 30 | </None> |
30 | 31 | </ItemGroup> |
31 | 32 |
|
32 | 33 | <!-- Mirror real direectories: --> |
| 34 | + |
33 | 35 | <!-- /scripts, mapped to scripts/, which is also the project's root directory: --> |
34 | 36 | <ItemGroup> |
35 | 37 | <None Include="..\scripts\**\*.*"> |
36 | 38 | <Link>scripts\%(RecursiveDir)%(Filename)%(Extension)</Link> |
37 | 39 | </None> |
38 | 40 | <!-- |
39 | | - --> |
40 | 41 | <None Remove="..\scripts\bin\**\*.*" /> |
41 | 42 | <None Remove="..\scripts\obj\**\*.*" /> |
| 43 | + --> |
42 | 44 | <None Remove="..\scripts\.vs\**\*.*" /> |
43 | 45 | </ItemGroup> |
| 46 | + |
| 47 | + |
| 48 | + <!-- Override all build-related targets so they do nothing --> |
| 49 | + <Target Name="CoreCompile" /> |
| 50 | + <Target Name="PrepareForBuild" /> |
| 51 | + <Target Name="Compile" /> |
| 52 | + <Target Name="Build" /> |
| 53 | + <Target Name="Restore" /> |
| 54 | + <Target Name="ResolveReferences" /> |
| 55 | + <Target Name="GenerateTargetFrameworkMonikerAttribute" /> |
| 56 | + <Target Name="GenerateAssemblyInfo" /> |
| 57 | + <!-- Nullify additional (restore-related) targets --> |
| 58 | + <Target Name="Restore" /> |
| 59 | + <Target Name="CheckForUnsupportedNETCoreVersion" /> |
| 60 | + <Target Name="CheckForProjectVersionCompatibility" /> |
44 | 61 |
|
45 | 62 |
|
46 | 63 | </Project> |
0 commit comments