Visual Studio namespace error

  • 28 January 2009
  • 4 replies
  • 1 view

Badge +2

I have been working with K2 on a dev box for several months with no config problems. On Monday I started getting namespace errors for any build. I get the error even for a brand new workflow with a single activity. My configuration included Office 2003, Outlook Express and InfoPath 2007.


Earlier that same day, my IT admin installed Outlook and Visio 2007. They inadvertently uninstalled Office 2003 and had to reinstall Word and Excel 2003.


I uninstalled Visio 2007 thinking that might be the problem, but did not help.


I read http://k2underground.com/forums/thread/24126.aspx, but was reluctant to re-install .NET components that have been working just fine.


The errors look like this for a workflow with a single mail event.


Error 1 A namespace does not directly contain members such as fields or methods F:K2 DevelopmentProjectsDemo2Demo2ExtenderProjectsCSWinWF-4012594a13a84393b2815a2530a12899EventItem_32fb1e28d40b476799064c55e9bb138e.xoml 1 1 CSWinWF-4012594a13a84393b2815a2530a12899


Ideas?


4 replies

Badge +9
Out of curiosity, is .NET framework 3.5 installed?
Badge +2

According to K2 doc, .NET 3.5 is not supported. 


 My configuration is:


.NET Compact Framework 1.0 SP3 Developer


.NET Compact Framework 2.0 SP2


.NET Framework 2.0 Service Pack 1


.NET Framework 3.0 Service Pack 1


Everything was working just fine with this config until this week.

Badge +2

K2 support helped me fix this.


I re-installed following and problem was fixed.


- .NET 2.0  and .NET 3.0


- VS 2005: WCF+ WPF extensions, WWF extenstions and Web deploy

Badge +9
Glad to hear that it got solved.  A repair of the .NET 2.0 framework would have been my second suggestion.

Reply