Skip to content

Commit

Permalink
Merge pull request #305 from vancem/AddBuildCmd.7-13-17
Browse files Browse the repository at this point in the history
Tell people how to build without using Visual Studio IDE.
  • Loading branch information
vancem authored Jul 13, 2017
2 parents 3dde977 + aa2cc23 commit 4f3d636
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ will lead you through the basics of doing this. All it assumes is that you hav
PerfView is developed in Visual Studio 2017 using features through C# 6.

* The solution file is PerfView.sln. Opening this file in Visual Studio (or double clicking on it in
the Windows Explorer) and selecting Build -> Build Solution,
will build it. It follows standard Visual Studio conventions, and the resulting PerfView.exe file ends up in
the Windows Explorer) and selecting Build -> Build Solution, will build it. You can also build the
non-debug version from the command line using msbuild or the build.cmd file at the base of the repository.
The build follows standard Visual Studio conventions, and the resulting PerfView.exe file ends up in
src/PerfView/bin/*BuildType*/PerfView.exe. You need only deploy this one EXE to use it.

* The solution consists of 11 projects, representing support DLLs and the main EXE. To run PerfView in the
Expand Down
15 changes: 15 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@cls
@echo.*************************************************************
@echo.This script simply calls msbuild to build PerfView.exe
@echo.*************************************************************
@echo.
msbuild /p:Configuration=Release %*
@if '%ERRORLEVEL%' == '0' (
echo.
echo.
echo.*************************************************************
echo. The build was successful!
echo.The output should be in src\bin\Release\PerfView.exe
echo.This is the only file needed to deploy the program.
echo.*************************************************************
)

0 comments on commit 4f3d636

Please sign in to comment.