Expression > 论坛主页 > Expression Blend + SketchFlow > Blend 2 SP 1 problem with isolated storage
提出问题提出问题
 

问题Blend 2 SP 1 problem with isolated storage

  • 2008年11月12日 16:29Ralf Dobslaw 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi,
     
    We build an own silverlight library that is able to write a text file in isolated storage.
    Blend prompts MissingMethodException for IsolatedStorageFile.FileExists.

    I added code to prevent accessing isolated storage at design time and the problem disapeared.

    Is that a bug or is that a known limitation that IsolatedStorageFile is a runtime class only?

    thanks in advance.

    Ralf

全部回复

  • 2008年11月15日 22:05Unni Ravindranathan MSFT版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Yes, there are few types (WebClient, IsolatedStorage, etc.) that won't work correctly on the design surface, and you are doing the right thing here (preventing the code from running on the Blend design surface).

    Thanks,
    Unni