1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 09:34:49 +09:00

Remove LanguageTargets switch (dotnet/corefx#37875)

Commit migrated from 9963d520d3
This commit is contained in:
Viktor Hofer 2019-05-22 15:56:13 -07:00 committed by GitHub
parent fb9dcdaf23
commit fe30cd444b
4 changed files with 10 additions and 37 deletions

View file

@ -1,32 +1,6 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
<Target Name="ProducesPackageId"
Returns="@(PackageIds)"
DependsOnTargets="FilterProjects">
<MSBuild Targets="ProducesPackageId"
Projects="@(Project)"
BuildInParallel="true"
ContinueOnError="ErrorAndContinue">
<Output TaskParameter="TargetOutputs"
ItemName="PackageIds" />
</MSBuild>
<ItemGroup>
<PackageIds Include="@(PackageIds)" />
</ItemGroup>
</Target>
<Target Name="ProducesTarget" DependsOnTargets="FilterProjects">
<MSBuild Targets="ProducesPackageId"
Projects="@(Project)"
BuildInParallel="true"
ContinueOnError="ErrorAndContinue">
<Output TaskParameter="TargetOutputs"
ItemName="PackageIds" />
</MSBuild>
<Message Text="%(PackageIds.Identity)" Importance="High" />
</Target>
<Target Name="BuildAllProjects" DependsOnTargets="FilterProjects">
<PropertyGroup>
<DefaultBuildAllTarget Condition="'$(DefaultBuildAllTarget)'==''">$(MSBuildProjectDefaultTargets)</DefaultBuildAllTarget>

10
eng/references.props Normal file
View file

@ -0,0 +1,10 @@
<Project>
<PropertyGroup>
<!--
The Microsoft.NET.Sdk defaults the AssemblySearchPaths earlier, so default
the correct search paths here. We are rather restrictive by design - only ref assemblies should
be resolved by default.
-->
<AssemblySearchPaths>$(AssemblySearchPaths);$(RefPath);{RawFileName}</AssemblySearchPaths>
</PropertyGroup>
</Project>

View file

@ -12,13 +12,6 @@
<GenerateRuntimeConfigurationFiles>false</GenerateRuntimeConfigurationFiles>
<CodeAnalysisRuleset>$(MSBuildThisFileDirectory)CodeAnalysis.ruleset</CodeAnalysisRuleset>
<!--
The Microsoft.NET.Sdk defaults the AssemblySearchPaths earlier than buildtools, so default
the correct search paths here. We are rather restrictive by design - only ref assemblies should
be resolved by default.
-->
<AssemblySearchPaths>$(AssemblySearchPaths);$(RefPath);{RawFileName}</AssemblySearchPaths>
</PropertyGroup>
<!-- Use msbuild path functions as that property is used in bash scripts. -->

View file

@ -62,10 +62,6 @@
<Target Name="GetDocumentationFile"
Returns="$(DocumentationFile)"/>
<Target Name="DumpTargets" BeforeTargets="ResolveProjectReferences">
<Message Text="DumpTargets> $(OutputPath), C=[$(Configuration)], CG=[$(ConfigurationGroup)], OG=[$(OSGroup)], TG=[$(TargetGroup)]" Importance="Low" />
</Target>
<!-- This target will be moved into buildtools. Checked in here for now to add validationand in order not to block buildtools ingestion. -->
<Target Name="ValidateExcludeCompileDesktop" AfterTargets="GetPackageDependencies" Inputs="%(Dependency.Identity);%(Dependency.TargetFramework)" Outputs="unused">
<PropertyGroup>