I am trying to create an instance of StorageFile in my class library...
var localFolder = ApplicationData.Current.LocalFolder; StorageFile destinationFile =
I had the same issue.The problem was system namespace is missing in the namespace header.I just included system in the namespace and it worked. hope it helps.