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

Tell people how to build without using Visual Studio IDE. #305

Merged
merged 1 commit into from
Jul 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.*************************************************************
)