standalone project for test

This commit is contained in:
JohnCorby 2025-02-24 21:51:51 -08:00
parent 54ff506093
commit 80aad144c9
8 changed files with 36 additions and 17 deletions

View File

@ -40,6 +40,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QSB-NH", "QSB-NH\QSB-NH.csp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamTransport", "SteamTransport\SteamTransport.csproj", "{83E8A790-CD63-4642-81D1-E406FC9F8EED}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamTransportTest", "SteamTransportTest\SteamTransportTest.csproj", "{8E74FA1D-466F-4BE5-981E-8D95E9B2D9AE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -78,6 +80,10 @@ Global
{83E8A790-CD63-4642-81D1-E406FC9F8EED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{83E8A790-CD63-4642-81D1-E406FC9F8EED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{83E8A790-CD63-4642-81D1-E406FC9F8EED}.Release|Any CPU.Build.0 = Release|Any CPU
{8E74FA1D-466F-4BE5-981E-8D95E9B2D9AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8E74FA1D-466F-4BE5-981E-8D95E9B2D9AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8E74FA1D-466F-4BE5-981E-8D95E9B2D9AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E74FA1D-466F-4BE5-981E-8D95E9B2D9AE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -75,7 +75,7 @@
<PackageReference Include="OWML" Version="2.15.1" IncludeAssets="compile" />
<Reference Include="..\Lib\*.dll" />
<ProjectReference Include="..\FizzySteamworks\FizzySteamworks.csproj" />
<!-- <ProjectReference Include="..\SteamTransport\SteamTransport.csproj" />-->
<ProjectReference Include="..\SteamTransport\SteamTransport.csproj" />
<ProjectReference Include="..\SteamRerouter\SteamRerouter.csproj" />
<ProjectReference Include="..\QSBPatcher\QSBPatcher.csproj" />
<ProjectReference Include="..\MirrorWeaver\MirrorWeaver.csproj" ReferenceOutputAssembly="false" />

View File

@ -1,9 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<LangVersion>latest</LangVersion>
<OutputType>Exe</OutputType>
<AssemblyTitle>Steam Transport</AssemblyTitle>
<Product>Steam Transport</Product>
<Title>Steam Transport</Title>
@ -16,14 +12,5 @@
<PackageReference Include="OuterWildsGameLibs" Version="1.1.14.768" IncludeAssets="compile" />
<PackageReference Include="OWML" Version="2.11.1" IncludeAssets="compile" />
<Reference Include="..\Lib\*.dll" />
<Reference Include="..\standaloneLibs\*.dll" />
</ItemGroup>
<Target Name="copy standalone dlls" AfterTargets="PostBuildEvent">
<ItemGroup>
<_Files Remove="@(_Files)" />
<_Files Include="..\Lib\*.dll" />
<_Files Include="..\standaloneLibs\*.dll" />
</ItemGroup>
<Copy SourceFiles="@(_Files)" DestinationFolder="$(OutputPath)" />
</Target>
</Project>

View File

@ -3,7 +3,7 @@ using Steamworks;
using System;
using System.Threading;
namespace SteamTransport;
namespace SteamTransportTest;
/// <summary>
/// entry point for testing.
@ -67,7 +67,7 @@ public static class Program
private static void DoServer()
{
var transport = new SteamTransport();
var transport = new SteamTransport.SteamTransport();
transport.Log = Console.WriteLine;
transport.UseLocalhost = true;
@ -113,7 +113,7 @@ public static class Program
private static void DoClient()
{
var transport = new SteamTransport();
var transport = new SteamTransport.SteamTransport();
transport.Log = Console.WriteLine;
transport.UseLocalhost = true;

View File

@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<AssemblyTitle>Steam Transport Test</AssemblyTitle>
<Product>Steam Transport Test</Product>
<Title>Steam Transport Test</Title>
<Description>Test exe for steam transport</Description>
<Authors>William Corby, Henry Pointer</Authors>
<Company>William Corby, Henry Pointer</Company>
<Copyright>Copyright © William Corby, Henry Pointer 2022-2025</Copyright>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="OuterWildsGameLibs" Version="1.1.14.768" />
<ProjectReference Include="..\SteamTransport\SteamTransport.csproj" />
<PackageReference Include="OWML" Version="2.11.1" />
<Reference Include="..\Lib\*.dll" />
</ItemGroup>
<Target Name="copy standalone dlls" AfterTargets="PostBuildEvent">
<ItemGroup>
<_Files Remove="@(_Files)" />
<_Files Include="..\Lib\*.dll" />
<_Files Include="standaloneLibs\*.dll" />
</ItemGroup>
<Copy SourceFiles="@(_Files)" DestinationFolder="$(OutputPath)" />
</Target>
</Project>