Skip to content

Commit cc7826b

Browse files
committed
Add missing files
1 parent 57a425e commit cc7826b

File tree

6 files changed

+79
-1
lines changed

6 files changed

+79
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
[Rr]eleases/
1717
x64/
1818
x86/
19-
build/
2019
bld/
2120
[Bb]in/
2221
[Oo]bj/

build/Set-BuildVersion.ps1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Param(
2+
[string]$Version,
3+
[string]$Suffix
4+
)
5+
6+
Push-Location $PSScriptRoot
7+
8+
[xml]$versionXml = Get-Content .\version.props
9+
$versionXml.Project.PropertyGroup.VersionPrefix = $Version
10+
$versionXml.Project.PropertyGroup.VersionSuffix = $Suffix
11+
$versionXml.Save("$PSScriptRoot\version.props")
12+
13+
Pop-Location

build/common.props

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<Project ToolsVersion="15.0">
2+
<Import Project="version.props" />
3+
4+
<PropertyGroup>
5+
<ProjectParentDirectory>$([System.IO.Path]::GetDirectoryName('$(MSBuildProjectDirectory)'))</ProjectParentDirectory>
6+
<ProjectParentDirectoryName>$([System.IO.Path]::GetFileName('$(ProjectParentDirectory)'))</ProjectParentDirectoryName>
7+
</PropertyGroup>
8+
9+
<Import Project="sourcelink.props" Condition="'$(ProjectParentDirectoryName)' == 'src'" />
10+
11+
<PropertyGroup>
12+
<Product>Exceptionless RandomData Generator</Product>
13+
<Description>Exceptionless RandomData Generator</Description>
14+
<Copyright>Copyright (c) 2017 Exceptionless. All rights reserved.</Copyright>
15+
<Authors>bniemyjski;ejsmith</Authors>
16+
<NoWarn>$(NoWarn);CS1591</NoWarn>
17+
<WarningsAsErrors>true</WarningsAsErrors>
18+
<DebugType>portable</DebugType>
19+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
20+
<PackageOutputPath>$(SolutionDir)artifacts\</PackageOutputPath>
21+
22+
<PackageReleaseNotes>https://github.com/exceptionless/Exceptionless.RandomData/releases</PackageReleaseNotes>
23+
<PackageIconUrl>https://be.exceptionless.io/img/exceptionless-32.png</PackageIconUrl>
24+
<PackageProjectUrl>https://github.com/exceptionless/Exceptionless.RandomData</PackageProjectUrl>
25+
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
26+
<RepositoryType>git</RepositoryType>
27+
<RepositoryUrl>https://github.com/exceptionless/Exceptionless.RandomData</RepositoryUrl>
28+
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
29+
</PropertyGroup>
30+
</Project>

build/sourcelink.props

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project>
2+
3+
<PropertyGroup>
4+
<DebugType>embedded</DebugType>
5+
</PropertyGroup>
6+
7+
<ItemGroup>
8+
<PackageReference Include="SourceLink.Create.GitHub" Version="2.0.2" PrivateAssets="all" />
9+
<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.0.2" />
10+
<DotNetCliToolReference Include="dotnet-sourcelink" Version="2.0.2" />
11+
</ItemGroup>
12+
13+
</Project>

build/test.props

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project ToolsVersion="15.0">
2+
<PropertyGroup>
3+
<IsPackable>False</IsPackable>
4+
</PropertyGroup>
5+
6+
<PropertyGroup Condition="$(TargetFramework.StartsWith('netcoreapp'))">
7+
<DefineConstants>$(DefineConstants);NETSTANDARD</DefineConstants>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="Foundatio.Logging.Xunit" Version="5.0.1336" />
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
13+
<PackageReference Include="xunit" Version="2.2.0" />
14+
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
15+
</ItemGroup>
16+
</Project>

build/version.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- This file may be overwritten by automation. Only values allowed here are VersionPrefix and VersionSuffix. -->
2+
<Project>
3+
<PropertyGroup>
4+
<VersionPrefix>1.0.0</VersionPrefix>
5+
<VersionSuffix>dev</VersionSuffix>
6+
</PropertyGroup>
7+
</Project>

0 commit comments

Comments
 (0)