Skip to content

Commit 531930c

Browse files
committed
fixes a very embarrassing build version bug
1 parent 3da09b5 commit 531930c

File tree

9 files changed

+49
-50
lines changed

9 files changed

+49
-50
lines changed

.build/AssemblyInfo.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@
77

88
[assembly: InternalsVisibleTo("Binstate.Tests, PublicKey=" + Public.Key)]
99

10+
// ReSharper disable once CheckNamespace
1011
internal static class Public
1112
{
1213
public const string Key =
1314
"0024000004800000940000000602000000240000525341310004000001000100e521fa7f778455d9"
1415
+ "d6ffd544b626b77a9ba302a23aec6da8ba9dac0ff274af79f1bc4d2b7c1fae922b2c971f933ed037"
1516
+ "211c012ddc09b4d1da193d072fe55ae950f3a6a215cbe76ace833145f65a6980cda1ae1ca492e2d5"
1617
+ "304b2197c86a0f750ec7b52176f2b3aa2a26a327a19dd93aa2f72124e728a82f774240a351f8ddb4";
17-
}
18-
19-
namespace System.Runtime.CompilerServices
20-
{
21-
internal class IsExternalInit { }
22-
}
18+
}

.github/workflows/release-to-market.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
files: ${{ env.nugets-dir }}/*.nupkg
4646
fail_on_unmatched_files: true
4747
env:
48-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Binstate.sln

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,40 @@
22
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{903ABD44-0ABA-458A-A2A8-6E2114661153}"
33
EndProject
44
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{159800A0-47C2-4A48-927F-EB09CF9497AC}"
5+
ProjectSection(SolutionItems) = preProject
6+
src\Directory.Build.props = src\Directory.Build.props
7+
EndProjectSection
58
EndProject
69
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Binstate", "src\Binstate\Binstate.csproj", "{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}"
710
EndProject
811
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Binstate.Tests", "test\Binstate.Tests\Binstate.Tests.csproj", "{1815BD5A-2FF1-4213-860D-021E24FC40B8}"
912
EndProject
1013
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".root", ".root", "{626A6723-733B-4454-9502-D887945FF625}"
11-
ProjectSection(SolutionItems) = preProject
12-
.editorconfig = .editorconfig
13-
.gitignore = .gitignore
14-
GitVersion.yml = GitVersion.yml
15-
LICENSE = LICENSE
16-
README.md = README.md
17-
EndProjectSection
14+
ProjectSection(SolutionItems) = preProject
15+
.editorconfig = .editorconfig
16+
.gitignore = .gitignore
17+
GitVersion.yml = GitVersion.yml
18+
LICENSE = LICENSE
19+
README.md = README.md
20+
EndProjectSection
1821
EndProject
1922
Global
20-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
21-
Debug|Any CPU = Debug|Any CPU
22-
Release|Any CPU = Release|Any CPU
23-
EndGlobalSection
24-
GlobalSection(NestedProjects) = preSolution
25-
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C} = {159800A0-47C2-4A48-927F-EB09CF9497AC}
26-
{1815BD5A-2FF1-4213-860D-021E24FC40B8} = {903ABD44-0ABA-458A-A2A8-6E2114661153}
27-
EndGlobalSection
28-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Release|Any CPU.Build.0 = Release|Any CPU
37-
EndGlobalSection
23+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
24+
Debug|Any CPU = Debug|Any CPU
25+
Release|Any CPU = Release|Any CPU
26+
EndGlobalSection
27+
GlobalSection(NestedProjects) = preSolution
28+
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C} = {159800A0-47C2-4A48-927F-EB09CF9497AC}
29+
{1815BD5A-2FF1-4213-860D-021E24FC40B8} = {903ABD44-0ABA-458A-A2A8-6E2114661153}
30+
EndGlobalSection
31+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
32+
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{A127DD60-A615-4E6A-87AB-77CDD5C5A24C}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37+
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
38+
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{1815BD5A-2FF1-4213-860D-021E24FC40B8}.Release|Any CPU.Build.0 = Release|Any CPU
40+
EndGlobalSection
3841
EndGlobal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align='right'>If <b>Binstate</b> has done you any good, consider buying me a cup of coffee</p>
1+
<p align='right'>If <b>Binstate</b> has done you any good, consider supporting my future initiatives</p>
22
<p align="right">
33
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ed@pavlov.is&lc=US&item_name=Kudos+for+Binstate&no_note=0&cn=&currency_code=EUR">
44
<img src="/.build/button.png" width="76" height="32">

src/Binstate/Binstate.csproj

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,19 @@
55
<TargetFramework>netstandard2.0</TargetFramework>
66
</PropertyGroup>
77

8-
<PropertyGroup Label="dev">
8+
<PropertyGroup>
99
<LangVersion>preview</LangVersion>
1010
<Nullable>enable</Nullable>
1111
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
1212
</PropertyGroup>
1313

14-
<PropertyGroup Label="build">
14+
<PropertyGroup>
1515
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
16-
<WarningsAsErrors/>
1716
<DefineConstants>TRACE;JETBRAINS_ANNOTATIONS</DefineConstants>
18-
<BaseIntermediateOutputPath>$(SolutionDir)\.out\obj\</BaseIntermediateOutputPath>
19-
<OutputPath>$(SolutionDir)\.out\bin\</OutputPath>
20-
<UseCommonOutputDirectory>true</UseCommonOutputDirectory>
21-
<GenerateDocumentationFile>True</GenerateDocumentationFile>
22-
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
23-
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
24-
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
17+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2518
</PropertyGroup>
2619

27-
<PropertyGroup Label="signing">
20+
<PropertyGroup>
2821
<SignAssembly>true</SignAssembly>
2922
<AssemblyOriginatorKeyFile>$(SolutionDir)\.build\beatybit.public.snk</AssemblyOriginatorKeyFile>
3023
<PublicSign>true</PublicSign>
@@ -37,13 +30,13 @@
3730
<PackageVersion>0.0.0</PackageVersion>
3831
<RepositoryType>git</RepositoryType>
3932
<Authors>Ed Pavlov</Authors>
33+
<copyright>Copyright © 2020-2025 Ed Pavlov</copyright>
4034
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
4135
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
4236
<PackageIcon>icon.png</PackageIcon>
4337
<PackageReadmeFile>readme.md</PackageReadmeFile>
4438
<PackageProjectUrl>https://github.com/Ed-Pavlov/Binstate</PackageProjectUrl>
4539
<RepositoryUrl>https://github.com/Ed-Pavlov/Binstate</RepositoryUrl>
46-
<copyright>Copyright © 2020-2025 Ed Pavlov</copyright>
4740
<PackageTags>fsm finite-state-machine state-machine state-machine-dsl hierarchical-state-machine hierarchical-states thread-safe async dotnet-core dotnet</PackageTags>
4841
<description>A thread-safe, hierarchical state machine library for .NET. Features include support for async methods, argument passing, state serialization, and more.</description>
4942

@@ -126,8 +119,8 @@
126119
</ItemGroup>
127120

128121
<ItemGroup>
129-
<None Include="..\..\.build\icon.png" Link=".build\icon.png" Pack="true" PackagePath="\icon.png" />
130-
<None Include="..\..\.build\nuget-readme.md" Link=".build\nuget-readme.md" Pack="true" PackagePath="\readme.md" />
122+
<None Include="$(SolutionDir)\.build\icon.png" Link=".build\icon.png" Pack="true" PackagePath="\icon.png" />
123+
<None Include="$(SolutionDir)\.build\nuget-readme.md" Link=".build\nuget-readme.md" Pack="true" PackagePath="\readme.md" />
131124
</ItemGroup>
132125
<ItemGroup>
133126
<None Remove="obj\**" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2-
2+
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=src_005Cstatemachine/@EntryIndexedValue">True</s:Boolean>
33
</wpf:ResourceDictionary>

src/Binstate/src/Builder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private static void ValidateSubstateEnterArgument(IEnumerable<IState<TState, TEv
238238
}
239239

240240
/// <summary>
241-
/// Validates that transitions don't reference not defined states.
241+
/// Validates that transitions don't reference not-defined states.
242242
/// </summary>
243243
private void ValidateTransitions(IReadOnlyDictionary<TState, IState<TState, TEvent>> states)
244244
{

src/Binstate/src/StateMachine/Transition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public Transition(TEvent @event, GetState<TState> getTargetStateId, bool isStati
1616
public TEvent Event { get; }
1717

1818
/// <summary>
19-
/// Means a transition targets the predefined state in opposite to the calculated dynamically runtime
19+
/// Means a transition targets the predefined state in opposite to the calculated dynamical runtime
2020
/// </summary>
2121
public readonly bool IsStatic;
2222

src/Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<PropertyGroup>
3+
<BaseIntermediateOutputPath>$(SolutionDir)\.out\obj\</BaseIntermediateOutputPath>
4+
<OutputPath>$(SolutionDir)\.out\bin\</OutputPath>
5+
<UseCommonOutputDirectory>true</UseCommonOutputDirectory>
6+
</PropertyGroup>
7+
</Project>

0 commit comments

Comments
 (0)