ViewModel Additional Namespace

CapableObjects Forums SupportForum ViewModel Additional Namespace

This topic contains 1 reply, has 1 voice, and was last updated by  egs99 3 weeks, 4 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5242 Score: 0

    egs99
    Participant

    Hi!

    I defined my Enum in my model
    public enum ValueTypeEnum {
    Str = 0,
    Int = 1,
    Decimal = 2,
    DateTime = 3,
    Enum = 5,
    }
    And added attribute of type ValueTypeEnum in my class

    After generating the code and compiling get an error:
    “The type or namespace name ‘ValueTypeEnum’ could not be found (are you missing a using directive or an assembly reference?)

    – this error in View model file: ViewModel_VM_Config_Item.cs

    Is there any way to define AdditionalNameSpace for ViewModel?

    #5243 Score: 0

    egs99
    Participant

    I’v checked it. All is working OK.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.