.net核心的csproj格式的完整文档在哪里?

编程入门 行业动态 更新时间:2024-10-16 00:22:44
本文介绍了核心的csproj格式的完整文档在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否有有关核心项目的csproj格式的完整文档?

Is there a full documentation about the csproj format for core projects?

我一直在寻找一种在构建之前复制文件的方法. 经过一番搜索后,我找到了解决方案,但找不到相关的文档.它会覆盖文件吗?还有其他选择吗...

I was looking for a way to copy files before building. After some searching I found a solution, but I can't find the documentation for this. Does it overwrite files? Are there extra options, ...

<Target Name="CopyMyFiles" BeforeTargets="Build"> <Copy SourceFiles="../../someFile.js" DestinationFolder="dest/" /> </Target>

我在此处找到了核心,但是与复制无关. 这是否意味着副本与msbuild无关? 在此处中记录了目标元素 但是我没有任何关于复制的信息.某处有可能的任务清单吗?

I found the additions for core here, but there is nothing about copy. Does that mean copy is somehting from msbuild? The target element is documented here But I don't find anything about copy. Is there a list of possible tasks somewhere?

推荐答案

MSBuild中包含的任务的文档为此处,并带有专门针对复制任务的页面. 遗憾的是,.NET SDK的许多功能尚未记录,可能仅在特殊情况下有用.我发现自己正在查看 MSBuild 的源代码,即.NET MSBuild SDK 和 Web SDK 经常查看它是如何构建的,以及使用它可以完成的工作-例如在研究此答案时.

The documentation for the tasks included in MSBuild is here, with a page specifically on the copy task. Sadly, there are many features of the .NET SDK that aren't documented and probably only useful in special scenarios. I find myself looking at the source code of MSBuild, the .NET MSBuild SDK and the Web Sdk quite often to see how it is built and what can be done using it - e.g. while researching this answer.

更多推荐

.net核心的csproj格式的完整文档在哪里?

本文发布于:2023-11-07 23:47:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567765.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:核心   完整   格式   文档   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!