简体   繁体   中英

Visual Studio 2015 missing core assemblies/namespaces?

Can someone explain to me how to use/accuire access to vs built-in classes like MusicProperties or ImageProperties listed here? https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.fileproperties.aspx

My visual studio doesnt recognize it`s namespace even though I have installed latest windows 10 sdk, as listed in the requirements table: "Universal, introduced version 10.0.10240.0".

Do I have to use explicitly winForms or WPF etc to have access to specific libraries?

You have to create an Universal app or Windows Runtime app to be able to access that namespace.

Pick any of these (note that some project types can have another subset of features enabled):

新项目对话框

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM