Visual Studio 2015缺少核心程序集/命名空间?(Visual Studio 2015 missing core assemblies/namespaces?)
有人可以向我解释如何使用/准确访问vs内置类,如此处列出的MusicProperties或ImageProperties? https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.fileproperties.aspx
即使我安装了最新的Windows 10 sdk,我的视觉工作室也不会识别它的命名空间,如需求表中所列:“Universal,引入版本10.0.10240.0”。
我是否必须明确使用winForms或WPF等来访问特定的库?
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?
原文:https://stackoverflow.com/questions/36007954
最满意答案
我认为这可能适合你:
echo -e "key1\n123\nkey2\n456" | sed 'N;s/\n/ /'
I think this might work for you:
echo -e "key1\n123\nkey2\n456" | sed 'N;s/\n/ /'
相关问答
更多-
下列中不属于面向对象的编程语言的是?[2022-05-30]
a -
我认为这可能适合你: echo -e "key1\n123\nkey2\n456" | sed 'N;s/\n/ /' I think this might work for you: echo -e "key1\n123\nkey2\n456" | sed 'N;s/\n/ /'
-
这似乎是做你所要求的: % awk 'BEGIN { IFS = OFS = "\t" } { for (column = 3; column <= NF; ++column) { if ($column == ".") { $column = $2 } } print } ' test.tsv 1 A A C A 2 ...
-
grep可以这样做: grep -Po '.*\)|\d+' file 这条线也有效: grep -Po '.*?(?= \d)|\d+' file 测试: kent$ cat f TIME (HR) 0 6 12 18 24 36 48 60 72 84 96 108 120 kent$ grep -Po '.*\)|\d+' f TIME (HR) 0 6 12 18 24 36 48 60 72 84 96 108 120 grep could do: grep -Po '.*\)|\d+ ...
-
如果要将TIMESTAMP 投影 ( 选择 )为UNIX格式,请使用UNIX_TIMESTAMP(date) SELECT UNIX_TIMESTAMP(date) FROM tableName UNIX_TIMESTAMP() MySQL文档 SQLFiddle演示 if you want to project (select) TIMESTAMP into UNIX format, use UNIX_TIMESTAMP(date) SELECT UNIX_TIMESTAMP(date) FROM ta ...
-
UNIX中的可选命令(Optional commands in UNIX)[2022-10-12]
这是shell的select命令派上用场的地方。 我会假设你正在使用bash PS3="Enter a choice: " select answer in Quit Order; do case $answer in Quit) echo "Thanks for playing."; exit ;; Order) # select is like an infinite loop: you need to break out of it ... -
Unix:链接命令(Unix: chaining commands)[2023-07-22]
执行时启动的进程( cd ../; cd C)具有自己的环境,因此具有其自己的当前工作目录。 这可以在下面证明: dogface@computer ~/A/B $ ( cd .. ; pwd ; cd C; pwd ) /home/dogface/A /home/dogface/A/C dogface@computer ~/A/B $ pwd /home/dogface/A/B 现在尝试没有'('和')'... dogface@computer ~/A/B $ cd .. ; cd C dogface ... -
另一种方法是使用awk awk -F'\t' '{print $1, $2, $3}' filename 其中-F是字段分隔符。 awk会将文件分成相应的字段,您需要做的就是打印字段。 $ 1是第一个字段等。要跳过字段,请省略它。 awk '{print $1, $3}' filename 只会打印第一个和第三个字段。 Another way is to use awk awk -F'\t' '{print $1, $2, $3}' filename where -F is the fi ...
-
使用第一个unix_timestamp将列中的每一行转换为日期(Transform every row in a column to date, using first unix_timestamp)[2022-01-27]
格式应完全由输入字符串覆盖。 换一种说法 - 格式的长度可以与输入字符串相等或更短,但不能更长。 28/04/2017 00:00:00 ||||||||||||||||||| dd/MM/yyyy HH:mm:ss select from_unixtime(to_unix_timestamp('28/04/2017 00:00:00', 'dd/MM/yyyy HH:mm:ss')) 2017-04-28 00:00:00 28/04/2017 00:00:00 |||||||||| dd/MM/ ... -
我倾向于使用awk 。 script.awk { x = count[$1,$2,$3,$4]++; line[$1,$2,$3,$4,x] = $0 } END { for (key in count) { kc = count[key] if (kc > 1) { for (i = 0; i < kc; i++) { ...