summaryrefslogtreecommitdiff
path: root/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/ProjectDefaults.targets
diff options
context:
space:
mode:
Diffstat (limited to '.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/ProjectDefaults.targets')
-rwxr-xr-x.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/ProjectDefaults.targets56
1 files changed, 56 insertions, 0 deletions
diff --git a/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/ProjectDefaults.targets b/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/ProjectDefaults.targets
new file mode 100755
index 0000000000..78b40bec28
--- /dev/null
+++ b/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/ProjectDefaults.targets
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
+<Project>
+ <PropertyGroup>
+ <DeployProjectOutput Condition="'$(DeployProjectOutput)' == ''">$(__DeployProjectOutput)</DeployProjectOutput>
+
+ <!-- Run Deploy step by default when the solution is build directly via msbuild (from command line or VS). -->
+ <DeployProjectOutput Condition="'$(DeployProjectOutput)' == ''">true</DeployProjectOutput>
+ </PropertyGroup>
+
+ <!-- Default empty deploy target. -->
+ <Target Name="Deploy" AfterTargets="Build" Condition="'$(DeployProjectOutput)' == 'true'" />
+
+ <PropertyGroup>
+ <!--
+ Set PackageOutputPath based on the IsShippingPackage flag set by projects.
+ This distinction allows publishing tools to determine which assets to publish to official channels.
+
+ Visual Studio Build (aka CoreXT) packages are non-shipping packages that are used to insert binaries into an internal
+ Visual Studio repository that builds the product from components. These packages are not standard NuGet packages.
+ -->
+ <PackageOutputPath Condition="'$(IsShippingPackage)' == 'true'">$(ArtifactsShippingPackagesDir)</PackageOutputPath>
+ <PackageOutputPath Condition="'$(IsShippingPackage)' != 'true'">$(ArtifactsNonShippingPackagesDir)</PackageOutputPath>
+ <PackageOutputPath Condition="'$(IsVisualStudioBuildPackage)' == 'true'">$(VisualStudioBuildPackagesDir)</PackageOutputPath>
+
+ <IsSwixProject>false</IsSwixProject>
+ <IsSwixProject Condition="'$(VisualStudioInsertionComponent)' != '' and '$(IsVsixProject)' != 'true'">true</IsSwixProject>
+ </PropertyGroup>
+
+ <!--
+ Closed source license must be added to the package.
+ NuGet.org accepts only OSI or FSF approved licenses when using license type expression.
+ -->
+ <PropertyGroup Condition="'$(PackageLicenseExpressionInternal)' != '' and '$(IsPackable)' == 'true' and '$(PackageLicenseFile)' == ''">
+ <PackageLicenseFile>License.txt</PackageLicenseFile>
+ </PropertyGroup>
+
+ <ItemGroup Condition="'$(PackageLicenseExpressionInternal)' != '' and '$(IsPackable)' == 'true'">
+ <None Include="$(MSBuildThisFileDirectory)Licenses\$(PackageLicenseExpressionInternal).txt" Pack="true" PackagePath="$(PackageLicenseFile)" Visible="false" />
+ </ItemGroup>
+
+ <!--
+ Include package icon in the package.
+ -->
+ <ItemGroup Condition="'$(PackageIcon)' != '' and '$(IsPackable)' == 'true'">
+ <None Include="$(PackageIconFullPath)" Pack="true" PackagePath="$(PackageIcon)" Visible="false" />
+ </ItemGroup>
+
+ <!--
+ Copyright used for binary assets (assemblies and packages) built by Microsoft must be Microsoft copyright.
+ Override any other value the project may set.
+ -->
+ <PropertyGroup>
+ <Copyright>$(CopyrightMicrosoft)</Copyright>
+ </PropertyGroup>
+</Project>