This happened because I was trying to write to the context of the incoming message in my pipeline. Although I built my solution and deployed it, the compiler would skip over the line where I was setting the context.
- Right click on the project, and hit Clean
- Gac your assembly and restart
I guess this happened because the compiler had gone crazy after so many BizTalk restarts and assembly GACs. Thought about putting a short note on this incase someone might be trying to find out about it.
Happy building 🙂