As I continue to play with the new Windows Phone 7 bits I found myself a bit annoyed this morning. I have created a shell of an application and I wanted to move some of the more business centric logic out of the main project and into a secondary one. To do this I simply created a new Class Library project inside my same solution. Once I had created this project I tried to add a project reference (not binary) from my new class library (which is targeting the .net 3.5 framework) to my WP7 project.
However, as soon as I selected the project I received the following dialog:
After reading this a few times I am still not 100% sure what the hell this is saying, but I think it is saying that only phone/silverlight projects can be added as project reference. If this is the case this just SUCKS…
Now, I was able to add reference to the project as a binary reference but this is not exactly what I had wanted to do.
Does anyone know if this is just a CTP limitation or is this the way it will always be?
Till next time,
05-24-2010 6:09 AM