Reputation: 21
I am learning WPF right now and building a simple application to generate an Ulam Spiral. Right now I want to implement my own spinner when the program is calculating the spiral. My plan is to create a UserControl as the spinner and then display it in the main window.
However, when I am testing the spinner in the main window, I got "Given assembly name or codebase is invalid" error. I've tested using a completely empty solution, it worked. But, if I use it in my project, it does not work. I tried cleaning and rebuilding the solution, it still does not work. I don't understand what I'm doing wrong.
Can somebody help me? I'm attaching the whole solution here. I'm really frustrated right now.
Upvotes: 0
Views: 196
Reputation: 2605
I run your code doing the following:
'
from your project's name to be Ulams Spiral
instead of Ulam's Spiral
(following this suggestion)MainWindow.xaml
-> Replace <local:Spinner />
with <local:UlamSpinner />
Upvotes: 1