[英]Project`s dlls missing after publish asp .net web project
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. 我已经在两周前更新了Visual Studio 2017,但是在发布asp .net Web项目后发现Project的dll丢失了。 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>bin\Release\PublishOutput</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup>
I`ma new user for SO, if I have any incorrect operation, please let me know. 我是SO的新用户,如果我有任何不正确的操作,请告诉我。 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 . 我在MSDN上遇到过类似的问题。 I could reproduce this issue as you description on the Visual Studio 2017 15.3.0 and later. 当您在Visual Studio 2017 15.3.0及更高版本上进行描述时,我可以重现此问题。
When we build the ASP.NET web project, for example, the project name is WebApplicationTest
, after build this project. 例如,当我们构建ASP.NET Web项目时,在构建该项目后,项目名称为WebApplicationTest
。 The WebApplicationTest.dll
will generated at WebApplicationTest\\bin
folder. WebApplicationTest.dll
将在WebApplicationTest\\bin
文件夹中生成。
However, this WebApplicationTest.dll will be deleted after you publish this web project. 但是,发布此Web项目后,将删除此WebApplicationTest.dll。 I test this on the previous version 15.2 and Visual Studio 2015, it works fine, that dll file still exists after publish. 我在以前的版本15.2和Visual Studio 2015上对此进行了测试,它工作正常,发布后该dll文件仍然存在。
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. 因此,我已经将此问题提交给Visual Studio开发人员社区(此问题仍在调查中),您可以按照自己的意见进行操作,并查看此问题的反馈。
https://developercommunity.visualstudio.com/content/problem/96746/visual-studio-153-publish-aspnet-web-projects-will.html https://developercommunity.visualstudio.com/content/problem/96746/visual-studio-153-publish-aspnet-web-projects-will.html
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.