Hello @Abby Baratta ,
Welcome to Microsoft Q&A forum.
Please try to clean your project cache first.
Delete the bin
, obj
and the hidden .vs
folder in your solution/project folder, rebuild your project.
It was working smoothly until earlier today when I was messing around with adding a sub that runs on load.
I think this is the key information. Not sure what you have done, maybe something like files, assemblies, frameworks, packages were added, modified and cause this issue.
If you check your project, maybe structure, referenced packages/assemblies, and project file(.csproj file), can you find any wrongly set configurations, or invalid configurations?
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.