Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Hofer <viktor.hofer@microsoft.com>2020-12-28 19:33:57 +0300
committerGitHub <noreply@github.com>2020-12-28 19:33:57 +0300
commit75d5cc3df4dde3b37d75f289b5a90e358da838aa (patch)
treeed75d388304564efae902a969fb526876471ec9a /src/coreclr/crossgen-corelib.proj
parentc142f162854185ba45f0fab678f8b28d1add3968 (diff)
Avoid deferred Arcade importing (#46397)
* General cleanup and mono import Arcade in root * More cleanup and coreclr import Arcade root * Import Arcade root from libraries * Set informationversion for corelib * BuildArchitecture cleanup * Fix property name * Fix default target invocation of runtime.proj * specify tfm correctly * Remove unnecessary TestStrongNameKeyId * Revert TestStrongNameKeyId removal * Fix entrypoint target by using M.B.NoTargets * Fix reference assembly paths * PR feedback * Set Platform correctly * PR feedback and more cleanup * Move BaselineMicrosoftNetCoreAppPackageVersion * Fix reference to CoreLib * Fix OS calculation * Fix targets importing * Remove *TargetOS * Add RuntimeConfiguration doc * Change conditions in root msbuild files * installer test fixes * Cleanup * More cleanup because of well defined entrypoint * Don't import D.B.* from installer tests at all * Rename fix * Include explicit reference to mscorlib in ilproj * Update eng/restore/docs.targets Co-authored-by: Jan Kotas <jkotas@microsoft.com> * Revert some installer test changes * Installer test fix again * Disable EOL tfm check for installer tests * Set platform later for installer Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Diffstat (limited to 'src/coreclr/crossgen-corelib.proj')
-rw-r--r--src/coreclr/crossgen-corelib.proj17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj
index f1e9eb80fa6..fadc1f514c8 100644
--- a/src/coreclr/crossgen-corelib.proj
+++ b/src/coreclr/crossgen-corelib.proj
@@ -1,8 +1,11 @@
-<Project>
- <Import Project="Directory.Build.props" />
- <Import Project="Directory.Build.targets" />
-
- <Target Name="Build">
+<Project Sdk="Microsoft.Build.NoTargets">
+ <PropertyGroup>
+ <!-- NoTargets SDK needs a TFM set. So we used the latest .NETCoreApp supported one. -->
+ <TargetFramework>$(NetCoreAppToolCurrent)</TargetFramework>
+ </PropertyGroup>
+
+ <Target Name="InvokeCrossgen"
+ AfterTargets="Build">
<PropertyGroup>
<!-- Default for using Crossgen2 when not set externally -->
<UseCrossgen2 Condition="'$(UseCrossgen2)' == ''">false</UseCrossgen2>
@@ -105,8 +108,4 @@
<Message Importance="High" Text="Crossgenning of System.Private.CoreLib succeeded. Finished at $(TIME)" />
<Message Importance="High" Text="Product binaries are available at $(BinDir)" />
</Target>
-
- <Target Name="Restore" />
- <Target Name="Test" />
- <Target Name="Pack" />
</Project>