test(net10): reference OpenMetaverse types in Flotsam standalone regression

This commit is contained in:
OpenGenesis (MPL 2.0) committed 2026-11-04 17:57:44 +01:00
1 parent 8efc07176e
commit d1f3dcc948
2 files changed
+7 -1

No files matched your search

@@ -6,6 +6,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="OpenMetaverseTypes"><HintPath>../../../bin/OpenMetaverseTypes.dll</HintPath></Reference>
<Reference Include="OpenMetaverse"><HintPath>../../../bin/OpenMetaverse.dll</HintPath></Reference>
<ProjectReference Include="../../../OpenSim/Framework/OpenSim.Framework.csproj" />
<ProjectReference Include="../../../OpenSim/Region/CoreModules/OpenSim.Region.CoreModules.csproj" />
</ItemGroup>
@@ -22,7 +22,11 @@ internal static class Program
throw new Exception("Missing versioned Flotsam codec");
const string id = "fee03dc5-1f4d-46cc-8456-e19b85699c69";
AssetBase original = new(id, "Net10 cache fixture", 7, "creator-test");
AssetBase original = new();
original.ID = id;
original.Name = "Net10 cache fixture";
original.Type = 7;
original.CreatorID = "creator-test";
original.Description = "Structured cache metadata roundtrip";
original.Metadata.CreationDate = new DateTime(2026, 11, 4, 12, 30, 0, DateTimeKind.Utc);
original.Metadata.ContentType = "application/vnd.ll.notecard";