Project`s dlls missing after publish asp .net web project(发布 asp .net web 项目后项目的 dll 丢失)
问题描述
两周前我更新了我的 Visual Studio 2017,但在发布我的 asp .net Web 项目后发现项目的 dll 丢失了.我记得它以前一直在那里.所以我想知道这是预期的行为还是问题?
此外,发布类型是文件系统发布.
更新:
以下是我的发布资料:
<?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><属性组><WebPublishMethod>文件系统</WebPublishMethod><PublishProvider>文件系统</PublishProvider><LastUsedBuildConfiguration>发布</LastUsedBuildConfiguration><LastUsedPlatform>任何 CPU</LastUsedPlatform><SiteUrlToLaunchAfterPublish/><LaunchSiteAfterPublish>True</LaunchSiteAfterPublish><ExcludeApp_Data>假</ExcludeApp_Data><publishUrl>binReleasePublishOutput</publishUrl><DeleteExistingFiles>False</DeleteExistingFiles></属性组>
我是SO的新用户,如果我有任何错误的操作,请告诉我.提前致谢.
所以我想知道这是预期的行为还是问题?
我在
所以我已经把这个问题提交给Visual Studio开发者社区了(这个问题还在调查中),你可以关注你的评论并查看这个问题的反馈.
https://developercommunity.visualstudio.com/content/problem/96746/visual-studio-153-publish-aspnet-web-projects-will.html
希望这会有所帮助.
I have updated my Visual Studio 2017 two weeks ago, but I found the Project`s dll's are missing after publishing my asp .net web project. I remember it was always there before. So I want to know if this is an expected behavior or a issue?
Besides, publish type is file system publish.
Update:
Below is my Publish Profile:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod>
<PublishProvider>FileSystem</PublishProvider>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>binReleasePublishOutput</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup>
I`m a new user for SO, if I have any incorrect operation, please let me know. Thanks in advance.
So I want to know if this is an expected behavior or a issue?
I have encountered the similar issue on MSDN. I could reproduce this issue as you description on the Visual Studio 2017 15.3.0 and later.
When we build the ASP.NET web project, for example, the project name is WebApplicationTest
, after build this project. The WebApplicationTest.dll
will generated at WebApplicationTestin
folder.
However, this WebApplicationTest.dll will be deleted after you publish this web project. I test this on the previous version 15.2 and Visual Studio 2015, it works fine, that dll file still exists after publish.
So I have already submit this issue to the Visual Studio Developer Community (This issue is still under investigation), you can follow with your comments and check the feedback of this issue.
https://developercommunity.visualstudio.com/content/problem/96746/visual-studio-153-publish-aspnet-web-projects-will.html
Hope this helps.
这篇关于发布 asp .net web 项目后项目的 dll 丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:发布 asp .net web 项目后项目的 dll 丢失


基础教程推荐
- SSE 浮点算术是否可重现? 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- rabbitmq 的 REST API 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01