-
Notifications
You must be signed in to change notification settings - Fork 119
/
Directory.Build.props
58 lines (51 loc) · 2.93 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<!--
***********************************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
***********************************************************************************************
-->
<Project>
<PropertyGroup>
<MinimumMSBuildVersion>16.10</MinimumMSBuildVersion>
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<LangVersion>latest</LangVersion>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<RepoTargets>$(RepoRoot)build\</RepoTargets>
<SourceRoot>$(RepoRoot)src\</SourceRoot>
<ScriptsRoot>$(RepoRoot)scripts\</ScriptsRoot>
<PowerShellExe Condition="$([MSBuild]::IsOSPlatform('Linux')) AND '$(PowerShellExe)' == ''">/opt/microsoft/powershell/7/pwsh</PowerShellExe>
<PowerShellExe Condition="$([MSBuild]::IsOSPlatform('Linux')) AND !Exists('$(PowerShellExe)')">/usr/share/powershell/pwsh</PowerShellExe>
<PowerShellExe Condition="$([MSBuild]::IsOSPlatform('Windows')) AND '$(PowerShellExe)' == ''">$(ProgramFiles)\PowerShell\7\pwsh.exe</PowerShellExe>
<PowerShellExe Condition="!Exists('$(PowerShellExe)')">pwsh</PowerShellExe> <!-- Default to pwsh in PATH -->
<PowerShellCommonArgs>-NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted</PowerShellCommonArgs>
<LangName Condition="'$(LangName)' == ''">en-US</LangName>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.csproj'">
<Product>Microsoft Power BI for PowerShell</Product>
<Company>Microsoft Corporation</Company>
<Copyright>Copyright (c) Microsoft Corporation. All rights reserved.</Copyright>
<!-- Packaging -->
<Authors>Microsoft Corporation</Authors>
<PackageLicenseUrl>https://github.com/Microsoft/powerbi-powershell/blob/master/LICENSE</PackageLicenseUrl>
<PackageReleaseNotes>Initial Release</PackageReleaseNotes>
<RepositoryUrl>https://github.com/Microsoft/powerbi-powershell</RepositoryUrl>
</PropertyGroup>
<PropertyGroup>
<DefaultItemExcludes>$(DefaultItemExcludes);*.binlog</DefaultItemExcludes>
</PropertyGroup>
<!-- Slngen -->
<PropertyGroup>
<SlnGenLaunchVisualStudio>true</SlnGenLaunchVisualStudio>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SlnGen" />
</ItemGroup>
<!-- Versioning -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all" />
</ItemGroup>
<Import Project="$(RepoTargets)Microsoft.PowerBI.CodeSign.targets" Condition="'$(NoSignTarget)' != 'true' AND '$(MSBuildProjectFile)' != 'dirs.proj'" />
<Import Project="$(RepoTargets)Microsoft.PowerBI.Build.targets" Condition="'$(NoBuildTarget)' != 'true' AND '$(MSBuildProjectFile)' != 'dirs.proj'" />
<Import Project="$(RepoTargets)Microsoft.PowerBI.Packaging.targets" Condition="'$(NoPackageTarget)' != 'true' AND '$(MSBuildProjectFile)' != 'dirs.proj'" />
</Project>