-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
25 lines (20 loc) · 1.02 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
<Project>
<PropertyGroup>
<BaseName>SamHowes.Extensions</BaseName>
<BazelWorkspacePath>$(MSBuildThisFileDirectory)</BazelWorkspacePath>
<BazelPackage>$([MSBuild]::MakeRelative($(BazelWorkspacePath), $(MSBuildProjectDirectory)).Replace('\','/'))</BazelPackage>
<!-- If the file is at the root, msbuild will generate a relative path to this directory, we want this to be empty -->
<BazelPackage Condition="$(BazelPackage.StartsWith(../))"></BazelPackage>
<Prefix>SamHowes.Extensions</Prefix>
<AssemblyName>$(Prefix).$(BazelPackage.Replace('/','.'))</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<Authors>Sam Howes</Authors>
<Version>0.0.2</Version>
<RepositoryUrl>https://github.com/samhowes/SamHowes.Extensions</RepositoryUrl>
</PropertyGroup>
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
</Project>