-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetcorext.Tools.AssemblyInfo.csproj
More file actions
39 lines (35 loc) · 1.78 KB
/
Netcorext.Tools.AssemblyInfo.csproj
File metadata and controls
39 lines (35 loc) · 1.78 KB
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
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net8.0;net10.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<VersionPatch>2</VersionPatch>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<FileVersion>$(VersionMajor).$([System.DateTime]::UtcNow.ToString(yy)).$([System.DateTime]::UtcNow.ToString(MMdd)).$([System.DateTime]::UtcNow.ToString(HHmm))</FileVersion>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<ToolCommandName>asm-info</ToolCommandName>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeProjectReferences</TargetsForTfmSpecificBuildOutput>
<Authors>NETCOREXT</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/NETCOREXT/Netcorext.Tools.AssemblyInfo</PackageProjectUrl>
<RepositoryUrl>https://github.com/NETCOREXT/Netcorext.Tools.AssemblyInfo.git</RepositoryUrl>
<Description>Show assembly information, Version, FileVersion...etc</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NuGet.Versioning" Version="7.*" />
</ItemGroup>
<Target Name="IncludeProjectReferences" DependsOnTargets="ResolveReferences">
<ItemGroup>
<IncludeBuildOutput />
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
</Project>