.net核心的csproj格式的完整文档在哪里? [英] Where is full documentation about the csproj format for .net core?

查看:152
本文介绍了.net核心的csproj格式的完整文档在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Is there a full documentation about the csproj format for .net 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>

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

I found the additions for .net 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中包含的任务的文档为 MSBuild 的源代码,即 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格式的完整文档在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆