יום רביעי 18 נובמבר 2009 16:45When I install the November CTP on a Windows 2008 R2 box (UAC=off), and try to reference Microsoft.ComplexEventProcessing.EventTypeAttribute I get:
The type or namespace name 'EventTypeField' could not be found (are you missing a using directive or an assembly reference?)
I don't have the problem when I test the same code on a Windows 7 box. Anyone have any pointers of things to look for that I must not have installed?
יום רביעי 18 נובמבר 2009 17:21Robert,
I believe that the EventTypeField attribute was dropped with the release of the November CTP (along with the attendant requirement to specifically decorate event types as such); you should be able to remove the [EventTypeField] attributes from your code and rebuild the project without any issues.
The only reason I can figure you're not running into issues on a Windows 7 box is that there's an older (possibly August CTP) lying around that's being picked up by accident.
יום רביעי 18 נובמבר 2009 18:02Yep, that must be it, Mark. When I look in object explorer between both win7 vs win2k8r2, the win2k8r2 side is missing EventTypeField.
It just seems odd that the windows 7 and windows 2008 have the same verison of this file: v2.0.50727