1

Just a bit of a background im a sysadmin attempting to build a few C# library's for Powershell DSC. As a result i've replaced a few dll files with a more up to date version in the GAC_MSIL folder. This did fix the errors with my custom library however now the main code is yelling about

PSDesiredStateConfiguration\Node : The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
At D:\DSCResources\Configuration\ServerConfigs\ServerBaseline.ps1:36 char:2

one of the file locations are.

C:\Windows\assembly\GAC_MSIL\Microsoft.EnterpriseManagement.OperationsManager\7.0.5000.0__31bf3856ad364e35\Microsoft.EnterpriseManagement.OperationsManager.dll

Can I rebuild this cache?

2
  • Just do not manually change it... Jun 8, 2017 at 17:39
  • Yeah thats the problem I need fall back to the old version without shadow copies. Since its just a cache I assume you can just rebuild it? If that folder ever got deleted does it just come back?
    – Mal229
    Jun 8, 2017 at 17:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.