nsacyber / HIRS

Trusted Computing based services supporting TPM provisioning and supply chain validation concepts. #nsacyber
Other
177 stars 57 forks source link

Provisioner will use .NET 8 #838

Closed iadgovuser29 closed 5 days ago

iadgovuser29 commented 1 week ago

Closes #791 #837

To build:

  1. Install the .NET 8 SDK as described by Microsoft for your platform.
  2. Check out the repository 2.a. Ex: git clone https://github.com/nsacyber/HIRS.git
  3. cd HIRS_Provisioner.NET 3.a. Set up build dotnet restore 3.b. Build & Test dotnet test
  4. cd HIRS_Provisioner.NET/hirs
  5. If interested in building an RPM or DEB file for linux, install dotnet 5.a. dotnet tool install --global dotnet-deb 5.b. dotnet tool install --global dotnet-rpm
  6. Create desired installation package MSI building only works on Windows 6.a. MSI dotnet msbuild hirs.csproj /t:Msi /P:TargetFramework=net8.0 /p:RuntimeIdentifier=win-x64 /p:Configuration=Release 6.b. Linux RPM dotnet rpm -r linux-x64 -c Release 6.c. Linux DEB dotnet deb -r linux-x64 -c Release
iadgovuser26 commented 5 days ago

Seems to fix the installation issue noted in issue #837