GitInfo
GitInfo copied to clipboard
I have to reinstall the GitInfo package in order for it to work
Describe the Bug
GitInfo does not create ThisAssembly.Git.g.cs after package restore. I have to reinstall GitInfo for it to work.
Steps to Reproduce
- Install the GitInfo Nuget package to a cs project. As expected, ThisAssembly.Git.g.cs gets successfully created.
- Commit the changes to git.
- Clone the solution in another folder, and build. Visual Studio automatically restores GitInfo. However for me, ThisAssembly.Git.g.cs doesn't get created. and won't get created until reinstalling GitInfo, like so: Update-Package GitInfo -reinstall
Has anyone else encountered this issue? Any insight as to why reinstall works, but restore doesn't?
Additional Info
I'm developing in c#, .NET Framework 4.6.2