在TFS中查找在生产环境中运行的遗留应用程序的源代码 [英] Find the source code to a legacy application running in production in TFS

查看:71
本文介绍了在TFS中查找在生产环境中运行的遗留应用程序的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是在StackOverflow中发布的重复,但我可能没有在那里包含足够的单词来实际显示问题。无论如何,我总是在休息室得到更多真正的帮助。



我有一个遗留的应用程序在生产中运行,其中已有很长的作者和不存在的文档。我试图在Team Foundation Server中找到源代码并且无法找到它。也就是说,没有解决方案,项目或.cs文件具有可执行文件的名称,我也已经删除了涉及所有AssemblyInfo.cs文件。



任何人都可以给我可以通过搜索或查找已编译的exe名称解决方案的方式进行搜索?我也面临来自多个作者的TFS多个地方的同名源文件。



我尝试过的方法:



我尝试在解决方案名称,项目名称,源文件名中查找可执行文件名,并在许多项目的AssemblerInfo.cs中查找。

解决方案

在.csproj文件中指定了可执行文件名,没有扩展名:

< AssemblyName> my_program< / AssemblyName> ; 





将项目标识为可执行文件而不是例如一个图书馆,它还应该有:

< OutputType> WinExe< / OutputType> 





请注意,可执行文件在构建后可能已重命名。可执行文件通常(但并非总是)将其原始文件名与其版本信息一起存储。您可以在窗口浏览器中查看:

https://i.stack.imgur.com /YOGRS.png [ ^ ]


This is a 'duplicate' posted in StackOverflow, but I may not have included enough words there to actually have the question appear. I always get more real help here in the Lounge than there anyway.

I have a legacy app running in production with a long gone author and non-existent documentation. I am trying to track down the source in Team Foundation Server and have not been able to find it. To wit, no solution, project or .cs file has the executable's name and I have struck out wading through all the AssemblyInfo.cs files as well.

Can anyone give me a way to search or a place to look in a solution for the compiled exe name? I also am facing source files of the same name in multiple places throughout TFS from multiple authors.

What I have tried:

I have tried finding the executable name in the solution names, the project names, source file names, and looked in AssemblerInfo.cs for many of the projects.

解决方案

The executable file name is specified, without extension, in the .csproj file:

<AssemblyName>my_program</AssemblyName>



To identify the project as an executable rather than e.g. a library, it should also have:

<OutputType>WinExe</OutputType>



Note that it's possible that the executable has been renamed after it was built. Executables often, but not always, have their original file name stored with their version info. You can check this in the window explorer:
https://i.stack.imgur.com/YOGRS.png[^]


这篇关于在TFS中查找在生产环境中运行的遗留应用程序的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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