An error occurred while trying to generate project files

Whenever I create a new C++ project file I get this error. I tried everything I could think of to fix it and the link they provide in the error doesn’t make any sense at all.

An error occurred while trying to
generate project files.

Running C:/Program Files (x86)/Epic
Games/4.11/Engine/Binaries/DotNET/UnrealBuildTool.exe
-projectfiles -project=“C:/Users/Isaiah/Favorites/Unreal/Projects/Puzzle/Puzzle.uproject”
-game -progress -2015 Discovering modules, targets and source code for
game… UnrealBuildTool Exception:
System.IO.FileLoadException: Could not
load file or assembly
‘file:///C:\Users\Isaiah\Favorites\Unreal\Projects\Puzzle\Intermediate\Build\BuildRules\PuzzleModuleRules.dll’
or one of its dependencies. Operation
is not supported. (Exception from
HRESULT: 0x80131515) File name:
‘file:///C:\Users\Isaiah\Favorites\Unreal\Projects\Puzzle\Intermediate\Build\BuildRules\PuzzleModuleRules.dll’
—> System.NotSupportedException: An attempt was made to load an assembly
from a network location which would
have caused the assembly to be
sandboxed in previous versions of the
.NET Framework. This release of the
.NET Framework does not enable CAS
policy by default, so this load may be
dangerous. If this load is not
intended to sandbox the assembly,
please enable the
loadFromRemoteSources switch. See
<loadFromRemoteSources> Element | Microsoft Learn
for more information. at
System.Reflection.RuntimeAssembly._nLoad(AssemblyName
fileName, String codeBase, Evidence
assemblySecurity, RuntimeAssembly
locationHint, StackCrawlMark&
stackMark, IntPtr pPrivHostBinder,
Boolean throwOnFileNotFound, Boolean
forIntrospection, Boolean
suppressSecurityChecks) at
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
assemblyRef, Evidence
assemblySecurity, RuntimeAssembly
reqAssembly, StackCrawlMark&
stackMark, IntPtr pPrivHostBinder,
Boolean throwOnFileNotFound, Boolean
forIntrospection, Boolean
suppressSecurityChecks) at
System.Reflection.Assembly.Load(AssemblyName
assemblyRef, Evidence
assemblySecurity) at
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at
UnrealBuildTool.DynamicCompilation.CompileAssembly(FileReference
OutputAssemblyPath, List1 SourceFileNames, List1
ReferencedAssembies, List1 PreprocessorDefines, Boolean TreatWarningsAsErrors) at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, List1
SourceFileNames, List1 ReferencedAssembies, List1
PreprocessorDefines, Boolean
DoNotCompile, Boolean
TreatWarningsAsErrors) at
UnrealBuildTool.RulesAssembly…ctor(IReadOnlyList1 Plugins, List1 ModuleFiles, List1 TargetFiles, Dictionary2
ModuleFileToPluginInfo, FileReference
AssemblyFileName, RulesAssembly
Parent) at
UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly(FileReference
ProjectFileName) at
UnrealBuildTool.ProjectFileGenerator.AddProjectsForAllTargets(List1 AllGames, ProjectFile& EngineProject, Dictionary2& GameProjects,
Dictionary2& ProgramProjects, HashSet1& TemplateGameProjects) at
UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(String
Arguments, Boolean& bSuccess) at
UnrealBuildTool.UnrealBuildTool.GenerateProjectFiles(ProjectFileGenerator
Generator, String Arguments) at
UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String
Arguments)

Any help’s greatly appreciated.