I recently had this issue where i was getting an error message complaining that it couldn't find the assets file

MyProject.Core\obj\project.assets.json

I searched for a solution and people were saying I needed to use dotnet resore but that didn't solve anything

There was something causing the issues. It was the space in the git repository name which was coming through as %20 when it was cloned into windows.

This was causing confusion because in some cases it was recognised as a space and some it was just recognised as the characters %20.

So the fix was to rename the repository to take the %20 out of the name.

You might get away with just renaming the folder on your machine to take the %20 out of the name.

Want to thank me?

If I've helped you out and you want to thank me, why not buy me a coffee?

Buy me a coffee

About the author

Paul Seal

Umbraco MVP and .NET Web Developer from Derby (UK) who specialises in building Content Management System (CMS) websites using MVC with Umbraco as a framework. Paul is passionate about web development and programming as a whole. Apart from when he's with his wife and son, if he's not writing code, he's thinking about it or listening to a podcast about it.

Related Posts

Code to help you debug an umbraco issue on a remote site

This post gives you some razor code to help you see the values of the IPublishedContent item's prope…

Read Post

How to fix the 403 error on preview in Umbraco after upgrading

This post shows you how to fix the 403 error on preview after you have upgraded it.

Read Post

How to restrict Content Apps by user groups in Umbraco

In this post I give you some code so you can restrict the Content Apps on your Umbraco site by user…

Read Post

How to set the default page base type to UmbracoViewPage in Umbraco

In this post I share with you what Ronald Barendse taught us about setting the pageBaseType in Umbra…

Read Post