Rework solution structure to allow more types of library projects (#196)

* Rename avalonia & wpf samples

* Rename rest of samples

* fix sample readme

* Fix compat util tests

* rename / move all src projects

* remove package lock files and move libC# again

* Add rust lib and cargo workspace

* Replace locksmith lib with new filelocksmith-rs library

* Deprecated type

* fix setup compile

* Use thiserror for error handling

* Rename some enums and formatting

* Add missing SHA256

* wip c++ library

* cpp wip

* alphabetize readme

* Try to get build working again

* Fix some conditionally compiled bits

* cross config should be in workspace root

* Fix PathHelper for new rust target dir

* Missed one old path to velopack.csproj

* remove obsolete coverage code

* testawareapp.exe no longer exists
This commit is contained in:
Caelan
2024-08-06 22:56:40 +01:00
committed by GitHub
parent 7071d20292
commit 3128d34b14
547 changed files with 11592 additions and 8464 deletions

View File

@@ -10,10 +10,10 @@ public static class PathHelper
=> Path.Combine(GetTestRoot(), "..");
public static string GetAvaloniaSample()
=> Path.Combine(GetProjectDir(), "samples", "AvaloniaCrossPlat");
=> Path.Combine(GetProjectDir(), "samples", "CSharpAvalonia");
public static string GetWpfSample()
=> Path.Combine(GetProjectDir(), "samples", "VeloWpfSample");
=> Path.Combine(GetProjectDir(), "samples", "CSharpWpf");
public static string GetVendorLibDir()
=> Path.Combine(GetProjectDir(), "vendor");
@@ -27,15 +27,12 @@ public static class PathHelper
public static string GetTestRootPath(params string[] names)
=> Path.Combine(new string[] { GetTestRoot() }.Concat(names).ToArray());
public static string GetRustSrcDir()
=> Path.Combine(GetProjectDir(), "src", "Rust");
#if DEBUG
public static string GetRustBuildOutputDir()
=> Path.Combine(GetRustSrcDir(), "target", "debug");
=> Path.Combine(GetProjectDir(), "target", "debug");
#else
public static string GetRustBuildOutputDir()
=> Path.Combine(GetRustSrcDir(), "target", "release");
=> Path.Combine(GetProjectDir(), "target", "release");
#endif
public static string GetRustAsset(params string[] names)