Skip to content

Arch Configuration

JamieO53 edited this page Mar 5, 2018 · 5 revisions

Return to Home page

Architecture - Configuration

The configuration file contains the location and API key of the local NuGet server.

It is located at %AppData%\JamieO53\NugetDbTools\NugetDbTools.config or $env:APPDATA\JamieO53\NugetDbTools\NugetDbTools.config.

The configuration will look something like this:

<?xml version="1.0"?>
<configuration>
    <nugetLocalServer>
        <add key="ApiKey" value="nugetApiKey"/>
        <add key="Source" value="http://localServer:808/NugetServer/nuget"/>
    </nugetLocalServer>
</configuration>

Here http://localServer:808/NugetServer/nuget is the URL of the local NuGet server, and nugetApiKey should be replaced by the local server's update password.

If the ApiKey line is missing then the developer will not be able to push the NuGet packages to the server. The packages will still be created for testing.

The Source URL can be replaced by a share or local URI:

        <add key="Source" value="\\localServer\nuget"/>

or

        <add key="Source" value="c:\Temp\nuget"/>

Clone this wiki locally