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

发布于 2024-12-19 17:59:09 字数 196 浏览 4 评论 0原文

我们重新分支了代码的发布版本以创建新的开发分支。由于我在分支的父级下明确定义了一个项目,因此它没有设置新的“工作文件夹”。因此,我的“GetLatestVersion”覆盖了我正在处理的所有代码。

那么,我怎样才能获得我的项目的最后一次成功构建呢?它存在于我的机器上的什么位置?如果 VS2010 可以启动最后一次成功的构建,那么它必须保存在某个地方......

We re-branched our release version of code to create a new Development branch. 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.

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...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

濫情▎り 2024-12-26 17:59:09

最后一次成功的构建将位于项目的输出路径位置,默认情况下如下所示:

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

其中 ConfigurationName 是 Debug、Release 或自定义配置。检查“构建”选项卡中项目属性中的路径。

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. Check the path in your project properties in the Build tab.

画中仙 2024-12-26 17:59:09

如果打开应用程序项目的属性并选择“构建”选项卡,您可以看到输出路径。如果路径是相对路径(默认),如屏幕截图中所示,那么您将在项目文件存储的位置找到该文件夹​​。

在此处输入图像描述

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.

enter image description here

述情 2024-12-26 17:59:09

在我尝试构建并出现构建错误(进而清除了 bin\Debug 文件夹)之后,我在这里找到了 ASP.NET Web 应用程序的“最后一次成功构建”。 (我一直不明白为什么微软在遇到构建失败时有“你想运行上次成功的构建吗?”选项的功能...

C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET文件\根\feeb4296\a2914fb6\程序集\dl3\e116d84d\f9632d40_e7aecc01

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. (I never understood why Microsoft had the feature "Do you want to run the last successful build?" option when you encounter a build failure...

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文