This folder contains the source code of IAP Desktop.
Before you can build IAP Desktop, you must build the /dependencies
folder
first.
Building IAP Desktop requires:
- Visual Studio 2019 with C# and C++ support or the equivalent components from the Windows SDK
- Internet access to download dependencies
- An OAuth Client ID
Steps to obtain an OAuth Client ID:
- Create a new internal consent screen for the
scope
.../auth/cloud-platform
. - Create new OAuth client ID credentials and select the application type Desktop App.
- Make a copy of
sources/Google.Solutions.IapDesktop/OAuthClient.cs.default
, save it assources/Google.Solutions.IapDesktop/OAuthClient.cs
and insert the client credentials.
Steps to build IAP Desktop:
-
Open a command prompt (
cmd.exe
) -
Build the application and installer:
cd %WORKSPACE%\sources build installer
You should now find an MSI package at %WORKSPACE%\sources\installer\bin.