~ruther/NosSmooth.Comms

2c99b93dce84e562fc1028302aebd9532418b629 — Rutherther 2 years ago 635f667
chore: make sure runtimeconfig and injector stuff is copied to output directory
M src/Local/NosSmooth.Comms.Inject/NosSmooth.Comms.Inject.csproj => src/Local/NosSmooth.Comms.Inject/NosSmooth.Comms.Inject.csproj +6 -1
@@ 4,7 4,6 @@
        <TargetFramework>net7.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
        <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
        <EnableDynamicLoading>true</EnableDynamicLoading>
        <VersionPrefix>1.0.0</VersionPrefix>
    </PropertyGroup>


@@ 22,4 21,10 @@
      <ProjectReference Include="..\..\Core\NosSmooth.Comms.Core\NosSmooth.Comms.Core.csproj" />
    </ItemGroup>

    <ItemGroup>
      <Content Include="NosSmooth.Comms.Inject.runtimeconfig.json" Pack="true" PackageCopyToOutput="true">
        <CopyToOutputDirectory>Always</CopyToOutputDirectory>
      </Content>
    </ItemGroup>

</Project>

A src/Local/NosSmooth.Comms.Inject/NosSmooth.Comms.Inject.runtimeconfig.json => src/Local/NosSmooth.Comms.Inject/NosSmooth.Comms.Inject.runtimeconfig.json +10 -0
@@ 0,0 1,10 @@
{
  "runtimeOptions": {
    "tfm": "net7.0",
    "rollForward": "LatestMinor",
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "7.0.0"
    }
  }
}
\ No newline at end of file

M src/Local/NosSmooth.Comms.Local/NosSmooth.Comms.Local.csproj => src/Local/NosSmooth.Comms.Local/NosSmooth.Comms.Local.csproj +8 -5
@@ 4,17 4,20 @@
        <TargetFramework>net7.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
        <VersionPrefix>1.0.0</VersionPrefix>
        <VersionPrefix>1.0.1</VersionPrefix>
    </PropertyGroup>

    <ItemGroup>
      <ProjectReference Include="..\..\Core\NosSmooth.Comms.Core\NosSmooth.Comms.Core.csproj" />
      <ProjectReference Include="..\NosSmooth.Comms.Inject\NosSmooth.Comms.Inject.csproj" />
        <ProjectReference Include="..\..\Core\NosSmooth.Comms.Core\NosSmooth.Comms.Core.csproj"/>
        <ProjectReference Include="..\NosSmooth.Comms.Inject\NosSmooth.Comms.Inject.csproj">
            <IncludeAssets>All</IncludeAssets>
            <PrivateAssets>None</PrivateAssets>
        </ProjectReference>
    </ItemGroup>

    <ItemGroup>
      <PackageReference Include="NosSmooth.Injector" Version="1.0.0" />
      <PackageReference Include="NosSmooth.LocalBinding" Version="1.0.0" />
        <PackageReference Include="NosSmooth.Injector" Version="1.0.3"/>
        <PackageReference Include="NosSmooth.LocalBinding" Version="1.0.0"/>
    </ItemGroup>

</Project>

M src/Samples/ConsolePacketLogger/ConsolePacketLogger.csproj => src/Samples/ConsolePacketLogger/ConsolePacketLogger.csproj +4 -2
@@ 19,8 19,10 @@

    <ItemGroup>
      <ProjectReference Include="..\..\Core\NosSmooth.Comms.Abstractions\NosSmooth.Comms.Abstractions.csproj" />
      <ProjectReference Include="..\..\Local\NosSmooth.Comms.Inject\NosSmooth.Comms.Inject.csproj" />
      <ProjectReference Include="..\..\Local\NosSmooth.Comms.Local\NosSmooth.Comms.Local.csproj" />
      <ProjectReference Include="..\..\Local\NosSmooth.Comms.Local\NosSmooth.Comms.Local.csproj">
          <IncludeAssets>All</IncludeAssets>
          <PrivateAssets>None</PrivateAssets>
      </ProjectReference>
    </ItemGroup>

</Project>

Do not follow this link