Visual Studio 2008, WinForms designer type conversion?

The only thing that readily springs to mind is that you have some sort of circular reference. Perhaps in this case that is due to the reference to the Service and the other project with classes reference Does you project need to interact with the service project?

The only thing that readily springs to mind is that you have some sort of circular reference. Perhaps in this case that is due to the reference to the Service and the other project with classes reference. Does you project need to interact with the service project?

Thanks for the answer, I have checked the references and found no circularity, indeed I believe it wouldnt build if this was the case. – user344836 Oct 21 '09 at 10:28.

Why it happens I cannot tell you. (I think it has something to do with the Visual Studio trying to create an instance of the interface during design time to expose it in the property grid but I am probably wrong. I am not a GUI guy and 99% of my work is in the middle tier.

) To fix it I create actual methods (not a property) to get and set the variable.

Thanks for the answer. You are right, sorry I should have said, that this property is exposed from a control, and that visual studio is trying to create a value in the designer, even though I have put the browsable false attribute to indicate it shouldnt show up in the property window. I guess I can use methods to access these things, but it does look a bit like a Visual Studio bug – user344836 Oct 21 '09 at 10:29.

I have a winforms project containing usercontrols, that use types from another project which is reference by add project. I have checked the references, and they are all fine, there is only one reference from the UI project to the services, and that is by adding a project reference. I can get around this problem by either deleting the resx file, or by in the designer, setting the erroring line that uses resx to null.

However I ship so much time doing this everytime. Ive googled to death and checked through here with no joy.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions