Skip to content

Commit d0d214c

Browse files
committed
Introduce a common.props file, which provides version and other package metadata
...in a single place. There's some special sauce for myself, but we'll find a better way eventually, so that it can be removed.
1 parent 43ce20d commit d0d214c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

src/common.props

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Version>0.0.18.0</Version>
4+
<PackageNamePrefix>ElectronNET.Core</PackageNamePrefix>
5+
<Authors>Gregor Biswanger, Florian Rappl, softworkz</Authors>
6+
<Product>Electron.NET</Product>
7+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
8+
<PackageProjectUrl>https://github.com/ElectronNET/Electron.NET/</PackageProjectUrl>
9+
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
10+
<RepositoryType>git</RepositoryType>
11+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
12+
<PackageTags>electron aspnetcore</PackageTags>
13+
<PackageReleaseNotes>Changelog: https://github.com/ElectronNET/Electron.NET/blob/main/Changelog.md</PackageReleaseNotes>
14+
<PackageIcon>PackageIcon.png</PackageIcon>
15+
<DescriptionFirstPart>Building cross platform electron based desktop apps with .NET Core and - optionally - ASP.NET Core.</DescriptionFirstPart>
16+
</PropertyGroup>
17+
<PropertyGroup Condition="'$(SOFTWORKZ)' == '1'">
18+
<Version>50.0.24.0</Version>
19+
<PackageNamePrefix>ElectronNET</PackageNamePrefix>
20+
<PackageProjectUrl>/</PackageProjectUrl>
21+
<PublishRepositoryUrl>false</PublishRepositoryUrl>
22+
<PackageReleaseNotes></PackageReleaseNotes>
23+
<PackageIcon>PackageIcon.png</PackageIcon>
24+
</PropertyGroup>
25+
<PropertyGroup>
26+
<AssemblyVersion>$(Version)</AssemblyVersion>
27+
<FileVersion>$(Version)</FileVersion>
28+
<InformationalVersion>$(Version)</InformationalVersion>
29+
</PropertyGroup>
30+
</Project>
31+

0 commit comments

Comments
 (0)