This is a weird problem and I am really at a loss as to how it is happening. I recently added push to our application and it was really pretty simple. I had the coding done quickly and uploaded my code.
I started getting reports from people of a runtime error on our build server's automatic deployment.
I jumped on and the error message said this: "The assembly
‘IdeaBlade.EntityModel.Push.SL’ must be included in your XAP to use NotificationService from Silverlight. This assembly was not found."
I had seen this error in dev so I knew what the issue was. I had also fixed this error in dev and it was surprising to see it again.
I went and looked at the main xap and sure enough it was not in there. I went to the project and copy local was set to true. I looked in my xap on my dev machine and it was it was there. So it was copying to the xap in dev but not in production.
This is the first issue I have had like this where a dll was not getting set in a xap even though copy local was set to true. I have been putting this on the back burner and keep coming back to it hoping that after a little bit of time I will have an epiphany and see what is going on but no luck.
I looked at the csproj file and the xml looks exactly like IdeaBlade.EntityModel with the Push.dll added. I also tried specific version and non specific version and it still didnt work. I tried setting my dev to build in release mode and no change.
Has anyone seen this before?