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

No more freely available VS Community 2019 :( #136

Open
ScottHaney opened this issue May 8, 2022 · 2 comments
Open

No more freely available VS Community 2019 :( #136

ScottHaney opened this issue May 8, 2022 · 2 comments

Comments

@ScottHaney
Copy link

To build requires VS 2019, but the community edition doesn't seem to be available anymore. Is it possible to get this working in the latest community version (VS Community 2022)?

@Megasware128
Copy link

You could retarget the project but a better option is just installing the VS 2019 build tools in VS 2022
image

@ethomson
Copy link
Member

Definitely should be possible. Visual Studio 2019 is not strictly required; the culprit is the cmake invocation: https://github.com/libgit2/libgit2sharp.nativebinaries/blob/master/build.libgit2.ps1#L132

I think that you could remove the -G entirely (leaving the -A). IOW:

Run-Command -Fatal { & $cmake -A x64 -D THREADSAFE=ON -D USE_SSH=OFF -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }

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

3 participants