[BED-5936] - Check the Installed Version of .Net Framework Prior to Running #152
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Updates to SharpHound to check the installed version of .Net Framework to ensure it meets our target. If the system does not, a log will be created and SharpHound will exit.
Motivation and Context
This PR addresses: BED-5936
This change was recommended because some users are on older versions of Windows which can cause issues while running the application since we target a newer version of .Net Framework.
How Has This Been Tested?
This was tested by running SharpHound on a system with .Net Framework 4.7.2 and trying to run the software on a system with .Net Framework 4.6.2. The software was unable to run on the latter system. This system was then updated by installing .Net Framework 4.7.2, which allowed SharpHound to run.
In both the system that could initially run the updated application and the system that was updated to be able to run SharpHound, a collection was run and the data was successfully ingested in a local BloodHound Enterprise Instance.
Screenshots (optional):
The new error log
Types of changes
Checklist: