Skip to content

Incorrect link generated, possibly tied to memory constrained system. #13

@Alexandre-Nourissier

Description

@Alexandre-Nourissier

While it usually performs admirably, I encountered a surprising bug today :

Environment

CopyGitLink Version 1.4.1
Microsoft Visual Studio Enterprise 2019 Version 16.11.1

What happened?

Generated a link without the first character of the file path :
https://github.com/Hectre/WebApp/blob/36fcd13a995694de4ffa440ba270d6d75711afd8/ectre.AspNetCore.Utilities.Tests/ApplicationFactory/CustomWebApplicationFactory.cs#L91-L91

Notice ectre.AspNetCore

What did you expect?

Generate a link with the complete file path :
https://github.com/Hectre/WebApp/blob/36fcd13a995694de4ffa440ba270d6d75711afd8/Hectre.AspNetCore.Utilities.Tests/ApplicationFactory/CustomWebApplicationFactory.cs#L91-L91

Notice Hectre.AspNetCore

Additional information

I was able to reproduce it with every type of link generation, on multiple files of various depths in this repository.

I was running short on memory due to a RoslynAnalyzer memory leak. After restarting Visual Studio, the link generation generated the files properly again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions