ListPopulating event broken


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I was doing some refactoring of my project, rearranging the projects and such. That is a joy as always. I had it all rearranged, no errors, it compiled and everything and then added a few existing files from a test project. BOOM. 44 ListPopulating event handlers are now reporting errors. In all cases they report (method name differs, but other than that they are the same):



Error 42: Method 'Private Sub cboAnalysisType_ListPopulating(e As MicroFour.StrataFrame.UI.ListPopulatingEventArgs)' cannot handle Event 'Public Event ListPopulating(e As MicroFour.StrataFrame.UI.ListPopulatingEventArgs)' because they do not have the same signature.





Now unless I'm going blind, those signatures sure look the same to me. Any ideas what might be going on? I'm stuck until this gets fixed.



Thanks!
Replies
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I got mine fixed. It was related to references. I was moving around classes first, then setting references when I found errors. When I did this with the Microfour.StrataFrame.UI assembly after adding the classes (as soon as it was added) I'd get the compile errors. When I made sure all the references were set first, then added the classes, no problems.



Of course, I had the freedom to revert to a previous revision. I doubt you have that freedom. But maybe this info will spark a brilliant thought on your end!
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yep, we're going to try removing and re-adding the references again on our end as well.  For the time being, we just commented out the errors because they were on non-essential forms and we wanted to continue making progress.  So, when we go back to working with those forms, we'll be re-addressing the problem, at which time, we'll play with the references some more.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
This happened to me again. This time I had set the references, so either that had nothing to do with it...or there are more than one ways this can break. Did you ever resolve this? If so, how? Does VS 2008 help with this?



Thanks!
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Did you ever resolve this? If so, how? Does VS 2008 help with this?

This is more of a .NET and designer related issue versus an SF issue.  However, since we have been on 2008 we have not experienced this.  But that could just be coincidental BigGrin

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Yep, I realize this is a .net issue. I just opened the solution in VS2008 and there is no problem...so I guess I'm using VS2008 now! Bloody VS...Long live VS! Tongue
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
LOL...funny how that works, huh? BigGrin
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Greg McGuffey - 18 Years Ago
Greg McGuffey - 18 Years Ago
StrataFrame Team - 18 Years Ago
Greg McGuffey - 18 Years Ago
Greg McGuffey - 18 Years Ago
                         Yep, we're going to try removing and re-adding the references again on...
StrataFrame Team - 18 Years Ago
                             This happened to me again. This time I had set the references, so...
Greg McGuffey - 17 Years Ago
                                 [quote]Did you ever resolve this? If so, how? Does VS 2008 help with...
Trent L. Taylor - 17 Years Ago
                                     Yep, I realize this is a .net issue. I just opened the solution in...
Greg McGuffey - 17 Years Ago
                                         LOL...funny how that works, huh? :D
Trent L. Taylor - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search