Visual Studio Blend Timeline Troubleshooting

Example

Error

Visual Studio Blend gives various errors like an element in the control not being in the name scope of the storyboard. This leads to issues like not being able to preview the Storyboard in addition to not being able to record changes to keyframes.

Fix(es)

I don’t know why this happens, but commenting out or removing the Storyboard + all of the elements in the control, saving, then putting it back seemed to fix the issue.

I also tried the following, but it didn’t make a difference:

  • Other versions of Blend
  • Restarting the machine
  • Uninstalling all versions of Visual Studio, restarting, then reinstalling VS 2022
  • Moving the Storyboard into the resources of the parent Grid
  • Changing out the local:NanoViewBase for a regular UserControl

c_sharp visual_studio visual_studio_blend animation