简体   繁体   English

在哪里可以找到上一次成功的构建?

[英]Where can I find the last successful build?

We re-branched our release version of code to create a new Development branch. 我们重新分支了代码的发行版本,以创建一个新的Development分支。 Since I had a project explicitly defined beneath the parent of the branch, it did NOT set the new "working folder". 由于我在分支的父项下有一个明确定义的项目,因此它没有设置新的“工作文件夹”。 Therefore, my "GetLatestVersion" overwrote all of the code that I was working on. 因此,我的“ GetLatestVersion”覆盖了我正在处理的所有代码。

So, how can I get the last successful build for my project? 那么,如何获得项目的最后成功构建? Where does it exist on my machine? 它在我的机器上哪里存在? If VS2010 can launch the last successful build, it's got to be saved someplace... 如果VS2010可以启动上一次成功的构建,则必须将其保存在某个地方...

The last successfull build will be in your project's output path location, which looks like this by default: 上一次成功的构建将在项目的输出路径位置,默认情况下如下所示:

path\to\your\project\[ConfigurationName]\bin

where ConfigurationName is Debug, Release, or a custom configuration. 其中ConfigurationName是Debug,Release或自定义配置。 Check the path in your project properties in the Build tab. 在“构建”选项卡中检查项目属性中的路径。

If you open the properties of your application project and select the Build tab you can see the output path. 如果打开应用程序项目的属性并选择“构建”选项卡,则可以看到输出路径。 If the path is relative (the default) like it is in the screen shot then you'll find the folder in the location your project files are stored. 如果路径是相对的(默认),如屏幕快照中所示,那么您将在项目文件的存储位置找到该文件夹​​。

在此处输入图片说明

This is where I found the "last successful build" of my ASP.NET web application, AFTER I tried to build and had build errors, which in turn wiped out the bin\\Debug folder. 在这里,我找到了ASP.NET Web应用程序的“上次成功构建”,在尝试构建并出现构建错误之后,该错误又清空了bin \\ Debug文件夹。 (I never understood why Microsoft had the feature "Do you want to run the last successful build?" option when you encounter a build failure... (当您遇到构建失败时,我从来不明白为什么Microsoft具有“是否要运行上一个成功的构建?”选项的功能...

C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\root\\feeb4296\\a2914fb6\\assembly\\dl3\\e116d84d\\f9632d40_e7aecc01 C:\\ Windows \\ Microsoft.NET \\ Framework \\ v2.0.50727 \\ Temporary ASP.NET Files \\ root \\ feeb4296 \\ a2914fb6 \\ assembly \\ dl3 \\ e116d84d \\ f9632d40_e7aecc01

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM