Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/305.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Visual Studio中用于版本控制的自动更改文件_C#_Visual Studio_Versioning - Fatal编程技术网

C# Visual Studio中用于版本控制的自动更改文件

C# Visual Studio中用于版本控制的自动更改文件,c#,visual-studio,versioning,C#,Visual Studio,Versioning,嘿 因此,我正在使用VS2013在C#中开发一些类库,我希望有一个文件(“Changes.txt”),在开发时在其中放置一些条目,如: new feature that bakes an egg.. new feature that cooks a potato.. 当我发布库时,它会放在文件的顶部,比如: Version 3.4.4456.12986 released on 15-04-2015 new feature that bakes an egg.. new feature that

因此,我正在使用VS2013在C#中开发一些类库,我希望有一个文件(“Changes.txt”),在开发时在其中放置一些条目,如:

new feature that bakes an egg..
new feature that cooks a potato..
当我发布库时,它会放在文件的顶部,比如:

Version 3.4.4456.12986 released on 15-04-2015
new feature that bakes an egg..
new feature that cooks a potato..
Version 3.3.3221.85776 released on 10-04-2015
support for add new cook items..

通过这种方式,我很容易跟踪每个版本中的内容。

您可以将文本文件添加到项目中。然而,内容是一项手工工作。问题是什么?您最终无法自动生成该文件—该文件来自git存储库历史记录,例如,通过使用imho,源代码控制下的可分支主干可以更好地支持您完成任务