如何将框架导入添加到.csproj
文件中?
在 project.json 中,它看起来像:
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"portable-net45+win8"
]
}
}
现在我在.csproj
文件中看到的是:
<TargetFramework>netcoreapp1.0</TargetFramework>
如何添加“导入”?
答案 0 :(得分:4)
好的,我明白了。我错过了一行更新为1.1 ...
awk -v OFS=',' '
/^=+$/{f=!f; next}
f {print NR, $0; if (/unique string/) exit}
' file