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
3 changes: 0 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
</PropertyGroup>

<ItemGroup>
<!-- src -->
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.0.0" />

<!-- tests -->
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="xunit" Version="2.9.2" />
Expand Down
38 changes: 7 additions & 31 deletions src/Neliva.DataFormat.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,20 @@
-->
<MinClientVersion>4.3.0</MinClientVersion>

<Title>Data Format</Title>
<Description>Encode and decode hex and base32 strings.</Description>

<!-- https://github.com/dotnet/sdk/blob/master/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.DefaultAssemblyInfo.targets -->
<VersionPrefix Condition=" '$(Version)' == '' and '$(VersionPrefix)' == '' ">0.1.0</VersionPrefix>
<VersionSuffix Condition=" '$(Version)' == '' and '$(VersionSuffix)' == ''">dev</VersionSuffix>

<!--
// https://github.com/dotnet/sourcelink/blob/master/docs/README.md
// Starting with .NET Core SDK 2.1.300, a fully deterministic build is
// turned on when both Deterministic and ContinuousIntegrationBuild properties are set to true.
// https://github.com/dotnet/sourcelink
// A fully deterministic build is produced when both ContinuousIntegrationBuild
// and DeterministicSourcePaths are set to true (see the GITHUB_ACTIONS group
// below). Deterministic is on by default in the SDK. Source Link and embedded
// untracked sources are enabled by the .NET SDK for GitHub-hosted repositories,
// so no Source Link package reference is required.
-->
<Deterministic>true</Deterministic>

Expand Down Expand Up @@ -72,11 +76,6 @@
<None Include="NUGET.md" Pack="true" PackagePath="" Visible="false" />
</ItemGroup>

<ItemGroup>
<!-- Build generated file. -->
<None Include=".AssemblyAttributes" Visible="false" />
</ItemGroup>

<!-- This should not be enabled during local dev or the debugger won't be able to find the local source files. -->
<!-- https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
Expand All @@ -86,34 +85,11 @@
<!-- Only set DeterministicSourcePaths to true on a build/CI server, never for local builds. -->
<DeterministicSourcePaths>true</DeterministicSourcePaths>
</PropertyGroup>

<ItemGroup>
<!-- https://github.com/dotnet/sourcelink -->
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>

<!--
// Workaround for deterministic builds on SDKs prior to 3.1.300
// https://github.com/clairernovotny/DeterministicBuilds
// https://github.com/dotnet/sourcelink/issues/572
-->
<PropertyGroup>
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
</PropertyGroup>

<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)" />
</ItemGroup>

<!-- Workaround for https://github.com/dotnet/sdk/issues/11105 -->
<ItemGroup>
<SourceRoot Include="$(NuGetPackageRoot)" Condition="'$(NuGetPackageRoot)' != ''" />
</ItemGroup>

<!--
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
Expand Down
Loading