Skip to content

Latest commit

 

History

History
82 lines (64 loc) · 4.05 KB

File metadata and controls

82 lines (64 loc) · 4.05 KB

Build Prerequisites

Build Prerequisites - OS

This application was developed on Windows 10.

Build Prerequisites - Software

Build Prerequisites - Setting Up a Standalone .NET Installation

These examples assume that this is the only .NET SDK available on the Path.

  1. Extract dotnet-sdk-6.0.300-win-x64.zip to C:\dotnet\.
    • This should be extracted such that C:\dotnet\dotnet.exe is the path to dotnet.exe.
  2. Add C:\dotnet\ to the Path in the System Environment Variables.
  3. Verify the following in a new Powershell shell:
    • dotnet --version should resolve to 6.0.300
    • dotnet --list-sdks should include 6.0.300 [C:\dotnet\sdk]

Build Prerequisites - Setting Up the Build Directory

  • Create a directory named nuget-local (or other preferred name).

  • Copy the Nuget packages into nuget-local. (Refer to "Nuget packages for .NET" in Build Prerequisites - Software.

  • Copy nuget.config.default to nuget.config (still in this directory).

  • Open nuget.config in a text editor. Change the value in packageSources to a relative path that points to the nuget-local directory.

      <packageSources>
          <!-- Comment: Change "value" to your package directory -->
          <add key="LocalNuget" value="..\nuget-local" />
      </packageSources>
    

Compile the Executable

First, build the executables with static compilation:

make build-all

The executables are placed in build/.

If the %USERPROFILE%/.nuget cache directory does not exist yet, the dotnet publish command executed by the Makefile will create it there.

The Archive

The ad_enum.zip archive contains the built executable:

  • ad_enum/
    • ad_enum.exe