|
18 | 18 |
|
19 | 19 | Holds: |
20 | 20 | - the auto-injected MDP PackageReference + NanoMdpVersion default, |
21 | | - - the MDP property defaults (verbosity, NanoIsCoreLibrary-driven switches), |
| 21 | + - the MDP property defaults (verbosity, public NanoMdp* knobs, and |
| 22 | + NanoIsCoreLibrary-driven internal switches), |
22 | 23 | - the _NanoMdpTasksTfm / task-DLL resolution and UsingTask declarations, |
23 | 24 | - the single GenerateNanoPeFile target that emits the .pe / .pdbx (and, for |
24 | 25 | core assemblies, the stubs / dump-exports / dependency-map / strings). |
|
78 | 79 | <!-- in a targets-time module (after Sdk.props). --> |
79 | 80 | <!-- ============================================================ --> |
80 | 81 | <PropertyGroup Condition="'$(NanoIsCoreLibrary)' == 'True'"> |
81 | | - <_NanoMdpDumpMetadata Condition="'$(_NanoMdpDumpMetadata)' == ''">true</_NanoMdpDumpMetadata> |
82 | | - <_NanoMdpGenerateStubs Condition="'$(_NanoMdpGenerateStubs)' == ''">true</_NanoMdpGenerateStubs> |
83 | | - <_NanoMdpGenerateDatFiles Condition="'$(_NanoMdpGenerateDatFiles)' == ''">true</_NanoMdpGenerateDatFiles> |
84 | | - <_NanoMdpGenerateXmlFiles Condition="'$(_NanoMdpGenerateXmlFiles)' == ''">true</_NanoMdpGenerateXmlFiles> |
| 82 | + <NanoMdpDumpMetadata Condition="'$(NanoMdpDumpMetadata)' == ''">true</NanoMdpDumpMetadata> |
| 83 | + <NanoMdpGenerateStubs Condition="'$(NanoMdpGenerateStubs)' == ''">true</NanoMdpGenerateStubs> |
| 84 | + <NanoMdpGenerateDatFiles Condition="'$(NanoMdpGenerateDatFiles)' == ''">true</NanoMdpGenerateDatFiles> |
| 85 | + <NanoMdpGenerateXmlFiles Condition="'$(NanoMdpGenerateXmlFiles)' == ''">true</NanoMdpGenerateXmlFiles> |
85 | 86 | </PropertyGroup> |
86 | 87 | <PropertyGroup Condition="'$(NanoIsCoreLibrary)' != 'True'"> |
87 | | - <_NanoMdpDumpMetadata Condition="'$(_NanoMdpDumpMetadata)' == ''">false</_NanoMdpDumpMetadata> |
88 | | - <_NanoMdpGenerateStubs Condition="'$(_NanoMdpGenerateStubs)' == ''">false</_NanoMdpGenerateStubs> |
89 | | - <_NanoMdpGenerateDatFiles Condition="'$(_NanoMdpGenerateDatFiles)' == ''">false</_NanoMdpGenerateDatFiles> |
90 | | - <_NanoMdpGenerateXmlFiles Condition="'$(_NanoMdpGenerateXmlFiles)' == ''">false</_NanoMdpGenerateXmlFiles> |
| 88 | + <NanoMdpDumpMetadata Condition="'$(NanoMdpDumpMetadata)' == ''">false</NanoMdpDumpMetadata> |
| 89 | + <NanoMdpGenerateStubs Condition="'$(NanoMdpGenerateStubs)' == ''">false</NanoMdpGenerateStubs> |
| 90 | + <NanoMdpGenerateDatFiles Condition="'$(NanoMdpGenerateDatFiles)' == ''">false</NanoMdpGenerateDatFiles> |
| 91 | + <NanoMdpGenerateXmlFiles Condition="'$(NanoMdpGenerateXmlFiles)' == ''">false</NanoMdpGenerateXmlFiles> |
91 | 92 | </PropertyGroup> |
92 | 93 |
|
93 | 94 | <!-- ============================================================ --> |
|
157 | 158 | <_NanoMdpCompileOutput>$(_NanoIntermediateAssembly).pe</_NanoMdpCompileOutput> |
158 | 159 | <_NanoMdpCompileOutputNoExt>$(_NanoIntermediateAssembly)</_NanoMdpCompileOutputNoExt> |
159 | 160 |
|
160 | | - <!-- Stub/skeleton inputs (consumed by the task only when _NanoMdpGenerateStubs == true) --> |
| 161 | + <!-- Stub/skeleton inputs (consumed by the task only when NanoMdpGenerateStubs == true) --> |
161 | 162 | <_NanoMdpStubSkeletonProject Condition="'$(_NanoMdpStubSkeletonProject)' == ''">$(NanoGenerateSkeletonProjectName)</_NanoMdpStubSkeletonProject> |
162 | 163 | <_NanoMdpStubSkeletonName Condition="'$(_NanoMdpStubSkeletonName)' == ''">$(NanoGenerateStubsRootName)</_NanoMdpStubSkeletonName> |
163 | 164 | <_NanoMdpStubSkeletonFile Condition="'$(_NanoMdpStubSkeletonFile)' == ''">$(NanoGenerateSkeletonFile)</_NanoMdpStubSkeletonFile> |
|
181 | 182 | header triggers a re-run even when .pe/.pdbx are up-to-date. Empty when stubs |
182 | 183 | are disabled, so MSBuild ignores it for non-stub projects. --> |
183 | 184 | <PropertyGroup> |
184 | | - <_NanoMdpStubMainHeader Condition="'$(_NanoMdpGenerateStubs)' == 'true'">$(_NanoMdpStubSkeletonFile)\$(NanoGenerateStubsRootName).h</_NanoMdpStubMainHeader> |
| 185 | + <_NanoMdpStubMainHeader Condition="'$(NanoMdpGenerateStubs)' == 'true'">$(_NanoMdpStubSkeletonFile)\$(NanoGenerateStubsRootName).h</_NanoMdpStubMainHeader> |
185 | 186 | </PropertyGroup> |
186 | 187 |
|
187 | 188 | <!-- ============================================================ --> |
|
221 | 222 | Parse="$(_NanoMdpParseInput)" |
222 | 223 | IsCoreLibrary="$(NanoIsCoreLibrary)" |
223 | 224 | Compile="$(_NanoMdpCompileOutput)" |
224 | | - DumpMetadata="$(_NanoMdpDumpMetadata)" |
| 225 | + DumpMetadata="$(NanoMdpDumpMetadata)" |
225 | 226 | DumpExports="$(_NanoMdpDumpExportsFile)" |
226 | 227 | GenerateDependency="$(_NanoMdpDependencyMapFile)" |
227 | 228 | SaveStrings="$(_NanoMdpSaveStringsFile)" |
228 | | - GenerateStubs="$(_NanoMdpGenerateStubs)" |
| 229 | + GenerateStubs="$(NanoMdpGenerateStubs)" |
229 | 230 | GenerateSkeletonFile="$(_NanoMdpStubSkeletonFile)" |
230 | 231 | GenerateSkeletonName="$(_NanoMdpStubSkeletonName)" |
231 | 232 | GenerateSkeletonProject="$(_NanoMdpStubSkeletonProject)" |
|
284 | 285 | <!-- .dat artifact is still required for the core build, and --> |
285 | 286 | <!-- which MDP parameter emits it, must be confirmed against the --> |
286 | 287 | <!-- MDP task contract + the external mscorlib build before a --> |
287 | | - <!-- step is re-added here. _NanoMdpGenerateDatFiles / --> |
288 | | - <!-- _NanoMdpGenerateXmlFiles remain defined above as the future --> |
| 288 | + <!-- step is re-added here. NanoMdpGenerateDatFiles / --> |
| 289 | + <!-- NanoMdpGenerateXmlFiles remain defined above as the future --> |
289 | 290 | <!-- toggles for that work. --> |
290 | 291 | <!-- ============================================================ --> |
291 | 292 |
|
|
0 commit comments