Skip to content

Problem with getting comobject properties #11

Description

Hi and thanks for porting to VS 2017
I have an issue. I get a coding file with this line in powershell console:
$file = Get-ProjectItem -project:'xxx.Biz.Entities' -path:'Enums\Permissions.cs'
but when I want to find a code item in it, it returns zero always:
$file.filecodemodel.codeelements.count

My Visual Studio version is : 2017 (15.5.4) and my project is with .Net Framework 4.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions