In your code you are trying to save the default properties of the file by doing a m_file->Properties->SavePropertiesAsync. The Publisher property is a property of the VideoProperties, so when you try to set the Publisher property, you should try to
do a vp->SavePropertiesAsync() to get the correct behavior.
Here's the code that should work for you:
//...code as before
vp->Publisher = ref new String(L"TestPublisher");
//return m_file->Properties->SavePropertiesAsync();
vp->SavePropertiesAsync();
}).then([this](task<void> tvoid)
//...code as before
Windows Store Developer Solutions, follow us on Twitter:
@WSDevSol|| Want more solutions? See our blog