I’m sorry to be a bother, but please does anyone know what I’m missing? I’m almost certain something is suppose to happen when I build the projects that isn’t happening, like the assets should be compiled and references stored in a database of some kind, but I just don’t know where to start and working at it from the outside like this is impossible (I can’t even find any built projects to check against!). I’d really appreciate some help
For reference, the way I’m compiling is just:
Navigate to the project folder
msbuild /p:Configuration=Release /t:restore
msbuild /p:Configuration=Release /t:build
with msbuild being the Mono version. I can’t compile it with dotnet core, I get a “Failed to run assembly processor with parameters” error:
Full Error
Patch for assembly [XenkoByteSized, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at Mono.Collections.Generic.Collection`1.get_Item(Int32 index)
at Mono.Cecil.BaseAssemblyResolver.GetAssemblyInNetGac(AssemblyNameReference reference, ReaderParameters parameters)
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Xenko.Core.AssemblyProcessor.CustomAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Xenko.Core.AssemblyProcessor.CustomAssemblyResolver.Resolve(AssemblyNameReference name)
at Xenko.Core.AssemblyProcessor.Serializers.ReferencedAssemblySerializerProcessor.ProcessDataSerializerGlobalAttributes(CecilSerializerContext context, AssemblyDefinition assembly, Boolean local)
at Xenko.Core.AssemblyProcessor.Serializers.ReferencedAssemblySerializerProcessor.ProcessDataSerializerGlobalAttributes(CecilSerializerContext context, AssemblyDefinition assembly, Boolean local)
at Xenko.Core.AssemblyProcessor.Serializers.ReferencedAssemblySerializerProcessor.ProcessDataSerializerGlobalAttributes(CecilSerializerContext context, AssemblyDefinition assembly, Boolean local)
at Xenko.Core.AssemblyProcessor.Serializers.ReferencedAssemblySerializerProcessor.ProcessDataSerializerGlobalAttributes(CecilSerializerContext context, AssemblyDefinition assembly, Boolean local)
at Xenko.Core.AssemblyProcessor.ComplexSerializerRegistry…ctor(PlatformType platform, AssemblyDefinition assembly, TextWriter log)
at Xenko.Core.AssemblyProcessor.SerializationProcessor.Process(AssemblyProcessorContext context)
at Xenko.Core.AssemblyProcessor.AssemblyProcessorApp.Run(AssemblyDefinition& assemblyDefinition, Boolean& readWriteSymbols, Boolean& modified)
Unexpected error
/home/.nuget/packages/xenko.core/3.1.0.1-beta02-0550/build/Xenko.Core.targets(95,5): error : Failed to run assembly processor with parameters: --auto-notify-property --parameter-key --auto-module-initializer --serialization --add-reference="/home/.nuget/packages/system.memory/4.5.2/lib/netstandard2.0/System.Memory.dll" --add-reference="/home/.nuget/packages/xenko.engine/3.1.0.1-beta02-0550/ref/netstandard2.0/Xenko.Engine.dll" --add-reference="/home/.nuget/packages/xenko.video/3.1.0.1-beta02-0550/ref/netstandard2.0/Xenko.Video.dll" --add-reference="/home/.nuget/packages/xenko.physics/3.1.0.1-beta02-0550/ref/netstandard2.0/Xenko.Physics.dll" --add-reference="/home/.nuget/packages/xenko.navigation/3.1.0.1-beta02-0550/ref/netstandard2.0/Xenko.Navigation.dll" --add-reference="/home/.nuget/packages/xenko.particles/3.1.0.1-beta02-0550/lib/netstandard2.0/Xenko.Particles.dll" --add-reference="/home/.nuget/packages/xenko.ui/3.1.0.1-beta02-0550/ref/netstandard2.0/Xenko.UI.dll" --add-reference="/home/.nuget/packages/xenko.core/3.1.0.1-beta02-0550/ref/netstandard2.0/Xenko.Core.dll" --references-file=“obj/Debug/netstandard2.0/XenkoReferences.cache” --platform=Windows --targetFramework= “obj/Debug/netstandard2.0/XenkoByteSized.dll” [PATH/XenkoByteSized-master/XenkoByteSized/XenkoByteSized.csproj]
/home/.nuget/packages/xenko.core/3.1.0.1-beta02-0550/build/Xenko.Core.targets(95,5): error : Check the previous logs [PATH/XenkoByteSized-master/XenkoByteSized/XenkoByteSized.csproj]
/opt/dotnet/sdk/2.2.105/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework “.NETFramework,Version=v4.6.1” were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [PATH/XenkoByteSized-master/XenkoByteSized.Windows/XenkoByteSized.Windows.csproj]
TriggerScene/PlayerController.cs(155,13): warning CS0618: ‘CharacterComponent.Move(Vector3)’ is obsolete: ‘Please use SetVelocity instead. SetVelocity internally applies this.GetSimulation().FixedTimeStep’ [PATH/XenkoByteSized-master/XenkoByteSized/XenkoByteSized.csproj]
ProceduralMesh/SubdividedPlaneMesh.cs(202,39): warning CS0169: The field ‘SubdividedPlaneMesh.heightmap’ is never used [PATH/XenkoByteSized-master/XenkoByteSized/XenkoByteSized.csproj]
Is the assembly processor suppose to be building the assets? Sorry I know I have no idea what I’m talking about but I’m just at my wits end so yeah…please someone help