Skip to content

Flag example seems out of date #66

@andykorth

Description

@andykorth

I tried using the example flag mod in Eco 0.9.7.7-beta and ran unto several compile issues after packaging it with Unity. The server side code in FlagObject.cs fails to compile with the following:

System.Exception: C:\Users\kortham\Desktop\EcoServerPC_v0.9.7.7-beta\Mods\UserCode\AndyFlag\FlagObject.cs(51,75): error CS0103: The name 'InPageTooltip' does not exist in the current context
   at Eco.ModKit.RoslynCompiler.HandleCompilerError(ImmutableArray`1 diagnostics)
   at Eco.ModKit.RoslynCompiler.Compile(AssemblyLoadContext assemblyContext)
   at Eco.ModKit.RoslynCompiler..ctor(AssemblyLoadContext assemblyContext, String modsDirectory, String modsAssemblyPath)
   at Eco.ModKit.RoslynCompiler..ctor(String modsDirectory, String modsAssemblyPath)
   at Eco.ModKit.ModKitPlugin..ctor()
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
Outer Exceptions:
Exception has been thrown by the target of an invocation.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions