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 丢失


- 在 C# 中异步处理项目队列 2022-01-01
- 在 LINQ to SQL 中使用 contains() 2022-01-01
- 使用 rss + c# 2022-01-01
- 带问号的 nvarchar 列结果 2022-01-01
- Azure Active Directory 与 MVC,客户端和资源标识同一 2022-01-01
- 是否可以在 .Net 3.5 中进行通用控件? 2022-01-01
- 为什么 C# 中的堆栈大小正好是 1 MB? 2022-01-01
- Windows 喜欢在 LINUX 中使用 MONO 进行服务开发? 2022-01-01
- C# 通过连接字符串检索正确的 DbConnection 对象 2022-01-01
- CanBeNull和ReSharper-将其用于异步任务? 2022-01-01