Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccessViolationException when calling tag.Annotation.Message #174

Open
achikhv opened this issue Mar 7, 2023 · 0 comments
Open

AccessViolationException when calling tag.Annotation.Message #174

achikhv opened this issue Mar 7, 2023 · 0 comments

Comments

@achikhv
Copy link

achikhv commented Mar 7, 2023

Hello!

I get AccessViolationException when trying to access tag's annotation properties. It seems, that #129 allows to load targets, but the issue occures when trying to access target's lazy-initialized properties.

Here is sample that will cause AVE when executed

#addin Cake.Git&version=3.0.0

var tags = GitTags("..", true);

foreach (var t in tags)
{
    if (t.IsAnnotated)
    {
        Information(t.Annotation.Message);
    }
}

Is there any way I can read annotation's properties?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant