Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup Condition="'$(IsTestProject)' != 'true'">
<Version>1.0.0</Version>
<Authors>ArdenHide,Lomet</Authors>
<Company>The-Poolz</Company>
<RepositoryType>git</RepositoryType>

<_Repo>$(GITHUB_REPOSITORY)</_Repo>
<RepositoryUrl Condition="'$(_Repo)' != ''">https://github.com/$(_Repo)</RepositoryUrl>
<PackageProjectUrl Condition="'$(_Repo)' != ''">https://github.com/$(_Repo)</PackageProjectUrl>
<PackageReleaseNotes Condition="'$(_Repo)' != ''">https://github.com/$(_Repo)/releases/tag/v$(Version)</PackageReleaseNotes>

<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>logo.png</PackageIcon>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup Condition="'$(IsTestProject)' != 'true'">
<None Include="$(MSBuildThisFileDirectory)LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="$(MSBuildThisFileDirectory)README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="$(MSBuildThisFileDirectory)logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>
Comment thread
ArdenHide marked this conversation as resolved.
5 changes: 5 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup Condition="'$(IsTestProject)' != 'true'">
<PackageId Condition="'$(PackageId)'==''">$(MSBuildProjectName)</PackageId>
</PropertyGroup>
</Project>
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading