Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
chg - Finalized the D.B.props file
Browse files Browse the repository at this point in the history
---

Type: chg
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Apr 27, 2024
1 parent 07a116c commit 596b88e
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 33 deletions.
22 changes: 22 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project>
<PropertyGroup>
<Version>1.0.0.1</Version>
<Authors>Aptivi</Authors>
<Company>Aptivi</Company>
<Copyright>Copyright (c) 2024 Aptivi</Copyright>
<LangVersion>latest</LangVersion>
<DebugType>portable</DebugType>
<SignAssembly>True</SignAssembly>
<RootPath>$(MSBuildThisFileDirectory)</RootPath>
<AssemblyOriginatorKeyFile>$(RootPath)\aptivi_snk.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
5 changes: 4 additions & 1 deletion FileMagic.Console/FileMagic.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net48</TargetFrameworks>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,4 +13,8 @@
<ProjectReference Include="..\FileMagic\FileMagic.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Remove="Microsoft.SourceLink.GitHub" />
</ItemGroup>

</Project>
12 changes: 0 additions & 12 deletions FileMagic.Native/FileMagic.Native.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<TargetFrameworks>net8.0;net48</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Nullable>disable</Nullable>
<PackageId>FileMagic.Native</PackageId>
<Authors>Aptivi</Authors>
<Title>FileMagic.Native</Title>
<PackageDescription>libmagic native library wrapper for C#</PackageDescription>
<PackageTags>FileMagic;native;runtime;csharp;library</PackageTags>
Expand All @@ -18,10 +16,6 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/Aptivi/FileMagic.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.0.0.1</Version>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\aptivi_snk.snk</AssemblyOriginatorKeyFile>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand All @@ -45,13 +39,7 @@
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="NativeLand" Version="1.0.1" Condition="'$(TargetFramework)' == 'net48'" />
<PackageReference Include="SpecProbe.Software" Version="1.4.2" />
</ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions FileMagic.Tests/FileMagic.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net48</TargetFrameworks>
<LangVersion>latest</LangVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\aptivi_snk.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -15,4 +13,8 @@
<ProjectReference Include="..\FileMagic\FileMagic.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Remove="Microsoft.SourceLink.GitHub" />
</ItemGroup>

</Project>
15 changes: 0 additions & 15 deletions FileMagic/FileMagic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
<PackageId>FileMagicManaged</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<Version>1.0.0.1</Version>
<Authors>Aptivi</Authors>
<Description>FileMagic is a file type guesser library wrapper for libmagic from the file utility found in Unix and Linux.</Description>
<Copyright>Copyright © 2024 Aptivi</Copyright>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Aptivi/FileMagic</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand All @@ -21,10 +18,7 @@
<PackageTags>hardware, information</PackageTags>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<EnableNETAnalyzers>false</EnableNETAnalyzers>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\aptivi_snk.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -43,15 +37,6 @@
<None Include="OfficialAppIcon-FileMagic-512.png" Pack="true" PackagePath="\" />
</ItemGroup>

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FileMagic.Native\FileMagic.Native.csproj" />
</ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion tools/docgen-pack.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@echo off

REM This script builds KS documentation and packs the artifacts. Use when you have VS installed.
for /f "tokens=* USEBACKQ" %%f in (`type version`) do set ksversion=%%f
for /f "tokens=*" %%g in ('findstr "<Version>" ..\Directory.Build.props') do (set MIDVER=%%g)
for /f "tokens=1 delims=<" %%a in ("%MIDVER:~9%") do (set ksversion=%%a)

:pack
echo Packing documentation...
Expand Down
2 changes: 1 addition & 1 deletion tools/docgen-pack.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# This script builds KS and packs the artifacts. Use when you have MSBuild installed.
ksversion=$(cat version)
ksversion=$(grep "<Version>" ../Directory.Build.props | cut -d "<" -f 2 | cut -d ">" -f 2)

# Check for dependencies
zippath=`which zip`
Expand Down
1 change: 0 additions & 1 deletion tools/version

This file was deleted.

0 comments on commit 596b88e

Please sign in to comment.