- Core Core: Which is all Core
- Core Framework: Which uses .Net Framework 4.61
We've been using Core Framework and it occasionally needs to be (affectionately named) 'jiggled'. Our solutions have more than one project in them and they occasionally barf when trying to communicate to other projects in the solution. These projects may also lose their ability to use dependencies defined in the project.json.
Here are the jiggling tricks that work for our group:
- Identify the project or projects that are having issues with their dependencies.
- On that project determine if it is trying to reference another project in your solution that is having issues. If so go to that project see if that is having issues. Lather, rinse, repeat.
- Now you are in a project with no dependencies on other projects in your solution and it has an issue with it's references.
- Jiggle 1: Right-click on references and choose "Restore Package...". If it is fixed, great, if not goto Jiggle 2.
- Jiggle 2: Right-click on your project and choose "Unload Project". Then right-click again and choose "Load Project". Repeat Jiggle 1.
- Jiggle 3: Right-click on your project and choose "Unload Project". Then from Windows Explorer, not IE, go to your project folder and delete "project.json.lock". Right-click on your project and choose "Load Project" which will rebuild your "project.json.lock". Repeat Jiggle 1.
- Jiggle of last Resort: If Jiggle 1 thru 3 don't work and you can't expand your reference tree, then reinstall your Update 3 and the .Net Core SDK then reboot and follow Jiggle 1 thru 3 again. If these don't work then reboot your machine three times and stand on your left foot then commence crying as that is beyond the scope of this little ditty.
Enjoy!
No comments:
Post a Comment