error after hotfix

lawrence whittemore asked on May 11, 2022 20:34

I just updated my site and am getting this error, however I am able to see the folder it is looking for System.IO.DirectoryNotFoundException: 'C:\Users{username}.nuget\packages\kentico.xperience.aspnetcore.webapp\13.0.69\staticwebassets\'

any thoughts?

Recent Answers


Brenden Kehren answered on May 11, 2022 23:12

Remove and add the package back. Could be a nuget caching issue.

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on May 12, 2022 15:12

Tried several things eventually it worked, not sure what actually fixed it. Confused to why it even needs access to that folder. It's not part of the site in any way...

0 votesVote for this answer Mark as a Correct answer

Alireza Arifi answered on January 24, 2023 18:09

Hi @Lawrence,

Would you please let me know the things you have tried, maybe one of them solves my issue too. I have the same issue Unhandled exception. System.IO.DirectoryNotFoundException: C:\Users[username].nuget\packages\kentico.xperience.aspnetcore.webapp\13.0.98\staticwebassets\

It would be great as one of them may fix my issue too :)

Best regards,

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on January 24, 2023 23:43

I really don't remember, but I did find stopping the app pool and restarting seemed to help a lot of the weird issues I came across.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.