This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,17 @@ Visit the [documentation](https://github.com/github/VisualStudio/tree/master/doc
2424
2525Clone the repository and its submodules.
2626
27- Open the ` GitHubVS.sln ` solution with Visual Studio 2019.
2827To be able to use the GitHub API, you'll need to:
2928
3029- [ Register a new developer application] ( https://github.com/settings/developers ) in your profile
3130- Create an environment variable ` GitHubVS_ClientID ` with your ` Client ID `
3231- Create an environment variable ` GitHubVS_ClientSecret ` with your ` Client Secret `
3332
34- Build using Visual Studio 2019.
33+ Execute ` build.cmd `
34+
35+ ## Visual Studio Build
36+
37+ Build ` GitHubVS.sln ` using Visual Studio 2019.
3538
3639## Logs
3740Logs can be viewed at the following location:
Original file line number Diff line number Diff line change 1+ @ echo off
2+
3+ call vars.cmd
4+
5+ rem Build GitHub for Visual Studio
6+ NuGet restore .\GitHubVS.sln
7+ msbuild .\GitHubVS.sln /p:DeployExtension=False
8+
9+ rem Build GitHub Essentials
10+ NuGet restore .\src\GitHub.VisualStudio.16.sln
11+ msbuild .\src\GitHub.VisualStudio.16.sln /p:DeployExtension=False
Original file line number Diff line number Diff line change 1+ @ echo off
2+
3+ rem Add path to Visual Studio 2019 Tools
4+ if exist " %ProgramFiles(x86)% \Microsoft Visual Studio\2019\Enterprise\Common7\Tools" set PATH = %PATH% ;%ProgramFiles(x86)% \Microsoft Visual Studio\2019\Enterprise\Common7\Tools
5+ if exist " %ProgramFiles(x86)% \Microsoft Visual Studio\2019\Professional\Common7\Tools" set PATH = %PATH% ;%ProgramFiles(x86)% \Microsoft Visual Studio\2019\Professional\Common7\Tools
6+ if exist " %ProgramFiles(x86)% \Microsoft Visual Studio\2019\Community\Common7\Tools" set PATH = %PATH% ;%ProgramFiles(x86)% \Microsoft Visual Studio\2019\Community\Common7\Tools
7+ if exist " %ProgramFiles(x86)% \Microsoft Visual Studio\2019\Preview\Common7\Tools" set PATH = %PATH% ;%ProgramFiles(x86)% \Microsoft Visual Studio\2019\Preview\Common7\Tools
8+
9+ rem Set up Developer Command Prompt
10+ call VsDevCmd.bat
11+
12+ rem Use local NuGet version
13+ set PATH = %cd% \tools\nuget;%PATH%
You can’t perform that action at this time.
0 commit comments