Hi,
I was trying to add some XML content to my game using the content pipeline, but it just didn’t decide to work.
I have this XML
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:ns="Microsoft.Xna.Framework">
<Asset Type="Portal2DXML.LevelData">
<LevelName>The Beginning</LevelName>
<LevelID>1</LevelID>
</Asset>
</XnaContent>
Which corresponds to this class
public class LevelData
{
public string LevelName;
public int LevelID;
}
When i try to dotnet build
it mgcb throws a lot of System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
I’m on Artix Linux targeting net6.0
.
Thanks in advance,
tags.