Visual Studio does something when I try to build it. How to find out the code that is behind this?

As in the title, I downloaded the program from github, but when I try to build it, it says:

The command "E: \ LoLNotes \ LoLNotes \ Properties \ GitExport.exe" "E: \ LoLNotes \" "E: \ LoLNotes \ LoLNotes \" "exited with code 2.

GitExport.exe does not work because I do not have git. But I want to know how can I find a place in the sources of the program where this code is executed? Simple ctrl-f and searching through a solution do not work, so I think it is hidden somewhere in the configuration files? Does anyone know where this could be?

+4
source share
3 answers

It can also be part of setting up a project file (similar to what nuget does). To find out exactly where it starts, turn on the multi-page version of the project assembly in Diagnostics under Tools \ Options \ Projects and Solutions \ Build and Run. Then rebuild and search for the output for the GitExport.exe file. This should give you a better context as to where this is going. enter image description here

+3
source

Perhaps this is a Post or Pre Build event.

In the project, open "Properties" and look at the tab "Events".

+6
source

In Solution Explorer, right-click Project and select Properties. It is located in the Build Events section.

+3
source

Source: https://habr.com/ru/post/1447079/


All Articles