TheAppsPajamas NuGet depends on two JSON files, both of which are placed at the root of your project by the NuGet package.

tapsettings.json

This file is for the project configuration and has the Tap App Id. We recommend saving this project in git

tapsecurity.json

We recommend that you git ignore the TapSecurity.config file.

We also recommend creating a Team, and a Service User Access Key, rather than using your User Name and Password to build your Tap App - see our documentation on Teams for examples of how to setup a team.

In a continuous integration setup the security information for a Service User Access Key should be stored with the CI provider - see our documentation on Continuous Integration Pipelines for example of how to set this up.

info

If you try to build your project without completing the information in these files, you'll get a build error.

First put your Tap App Id in the tapsettings.json file. You can see the Tap App Id in the top right corner on the dashboard beside the key icon.

tapsettings.json
Next put your username and password in the tapsecurity.json file
tapsecurity.json
info

In a Cross platform solution with multiple projects you can move the tapsettings.json and tapsecurity.json files to the root of your solution and the NuGet package will tree walk up the directory structure and use the settings files at the highest folder in the tree