-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
747 changed files
with
16,402 additions
and
13,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,65 @@ | ||
<Project> | ||
|
||
<Project InitialTargets="ErrorForMissingPackageDescription;_OverridePackDependsOn"> | ||
<PropertyGroup> | ||
<!-- | ||
For non-SDK projects that import this file and then import Microsoft.Common.targets, | ||
tell Microsoft.Common.targets not to import Directory.Build.targets again | ||
--> | ||
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets> | ||
|
||
<EnableNETAnalyzers Condition="'$(EnableAnalyzers)' != 'true'">false</EnableNETAnalyzers> | ||
</PropertyGroup> | ||
|
||
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
<Import Project="$(RepositoryEngineeringDir)liveBuilds.targets" /> | ||
<Import Project="$(RepositoryEngineeringDir)python.targets" /> | ||
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(SkipImportArcadeSdkFromRoot)' != 'true'" /> | ||
|
||
<PropertyGroup> | ||
<!-- | ||
Define this here (not just in Versions.props) because the SDK resets it | ||
unconditionally in Microsoft.NETCoreSdk.BundledVersions.props. | ||
--> | ||
<NETCoreAppMaximumVersion>$(MajorVersion).$(MinorVersion)</NETCoreAppMaximumVersion> | ||
<EnableNETAnalyzers Condition="'$(EnableAnalyzers)' != 'true'">false</EnableNETAnalyzers> | ||
<!-- SDK sets product to assembly but we want it to be our product name --> | ||
<Product>Microsoft%AE .NET</Product> | ||
<!-- Use the .NET product branding version for informational version description --> | ||
<InformationalVersion Condition="'$(InformationalVersion)' == '' and '$(VersionSuffix)' == ''">$(ProductVersion)</InformationalVersion> | ||
<InformationalVersion Condition="'$(InformationalVersion)' == '' and '$(VersionSuffix)' != ''">$(ProductVersion)-$(VersionSuffix)</InformationalVersion> | ||
</PropertyGroup> | ||
|
||
<!-- Packaging --> | ||
<ItemGroup Condition="'$(IsPackable)' == 'true'"> | ||
<!-- The sfxproj files add the license themselves. --> | ||
<None Include="$(LicenseFile)" | ||
PackagePath="$([System.IO.Path]::GetFileName('$(LicenseFile)'))" | ||
Pack="true" | ||
Condition="'$(MSBuildProjectExtension)' != '.sfxproj'" /> | ||
<None Include="$(PackageThirdPartyNoticesFile)" | ||
PackagePath="$([System.IO.Path]::GetFileName('$(PackageThirdPartyNoticesFile)'))" | ||
Pack="true" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<PackageDescription Condition="'$(PackageDescription)' == '' and '$(Description)' != ''">$(Description)</PackageDescription> | ||
<RuntimePackageDisclaimer>Internal implementation package not meant for direct consumption. Please do not reference directly.</RuntimePackageDisclaimer> | ||
<UseRuntimePackageDisclaimer Condition="'$(UseRuntimePackageDisclaimer)' == '' and | ||
($(MSBuildProjectName.StartsWith('runtime.native')) or '$(PackageTargetRuntime)' != '')">true</UseRuntimePackageDisclaimer> | ||
<PackageDescription Condition="'$(PackageDescription)' != '' and '$(UseRuntimePackageDisclaimer)' == 'true'">$(RuntimePackageDisclaimer) %0A$(PackageDescription)</PackageDescription> | ||
<PackageDescription Condition="'$(PackageDescription)' == '' and '$(UseRuntimePackageDisclaimer)' == 'true'">$(RuntimePackageDisclaimer)</PackageDescription> | ||
<!-- Keep in sync as required by the Packaging SDK in Arcade. --> | ||
<Description>$(PackageDescription)</Description> | ||
</PropertyGroup> | ||
|
||
<!-- Remove when https://github.com/NuGet/Home/issues/10405 is implemented and consumed. --> | ||
<Target Name="ErrorForMissingPackageDescription" | ||
Condition="'$(IsPackable)' == 'true' and '$(PackageDescription)' == ''"> | ||
<Error Text="Required property 'PackageDescription' is missing for $(MSBuildProjectName)." /> | ||
</Target> | ||
|
||
<!-- <GeneratePackage /> controls if a package should be created by clearing out <PackDependsOn />. --> | ||
<Target Name="_OverridePackDependsOn" | ||
Condition="'$(IsPackable)' == 'true' and | ||
'$(GeneratePackage)' != 'true'"> | ||
<PropertyGroup> | ||
<PackDependsOn /> | ||
</PropertyGroup> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ For Linux and macOS | |
``` | ||
|
||
For Windows: | ||
```bat | ||
```cmd | ||
build.cmd | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.