Rajeswari-Addepalli
Member
- Joined
- Nov 5, 2020
- Messages
- 9
- Programming Experience
- 10+
Version: Visual Studio 2019
Platform: 64-bit (Windows 10)
Windows version : Microsoft Windows [Version 10.0.19042.572]
When ever cloning is initiated from visual studio C# code, it cloned all the files except vcbuild.bat
Even tried to clone using git clone git@github.com:nodejs/node.git , git clone git://github.com/nodejs/node.git and nodejs/node
still vcbuild.bat is not clone from the repo.
C# Code :
Manual execution in command prompt.
Cloning is successful through command prompt.
i.e. git clone git://github.com/nodejs/node.git
Expected behavior
Should clone entire repo.
Actual Behavior
It's cloning all the files except vcbuild.bat when cloned using Visual studio C# code.
Platform: 64-bit (Windows 10)
Windows version : Microsoft Windows [Version 10.0.19042.572]
When ever cloning is initiated from visual studio C# code, it cloned all the files except vcbuild.bat
Even tried to clone using git clone git@github.com:nodejs/node.git , git clone git://github.com/nodejs/node.git and nodejs/node
still vcbuild.bat is not clone from the repo.
C# Code :
C#:
Process proc = new Process();
proc.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
ProcessToUse.StartInfo.FileName ="cmd";
proc.StartInfo.Arguments = "/c \"git clone git://github.com/nodejs/node.git\"";
proc.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.UseShellExecute = false;
proc.Start();
string output = proc.StandardOutput.ReadToEnd().Trim();
proc.WaitForExit();
Manual execution in command prompt.
Cloning is successful through command prompt.
i.e. git clone git://github.com/nodejs/node.git
Expected behavior
Should clone entire repo.
Actual Behavior
It's cloning all the files except vcbuild.bat when cloned using Visual studio C# code.
Last edited by a moderator: