Is this bug happened in VS 2015 or I need to install and update ?
Thanks.
p.s. I try all followings but no luck:
<div></div>
- to set it to release-debug-release as work-around in VS 2012
- to check/un-checked "remove files on destination" option
- to right-click a *.cs file (because no way to select *.dll file) & select "publish this.cs" & it said 'success' in Web Publish Activity window. But not work.
(as above : to right-click a *.cshtml file & select "publish this.cs" & it said 'success' in Web Publish Activity window. It works.)
The issue appears if your solution configuration doesn't match the project configuration (e.g. Release|x86 vs. Release|Any CPU). As a workaround you can make them the same for that solution configuration and it should resolve the issue.
None
0 Points
2 Posts
visual studio 2015 web deploy fail but message is success
Mar 14, 2017 07:19 AM|dennis_chen_canada|LINK
Thanks for any help in advance.
A. I try to right-click/publish/web-deploy/preview/publish (everything is ok and message said "1 success").
B. But, no any file (cshtml, dll) is copy from my VS to IIS server.
C. If I manually copy the file to server, it worked.
env :
I search and people said in MS site that this is bug in VS 2012 and been fixed.
https://connect.microsoft.com/VisualStudio/feedback/details/746321/publish-web-application-fails
Is this bug happened in VS 2015 or I need to install and update ?
Thanks.
p.s. I try all followings but no luck:
<div></div>- to set it to release-debug-release as work-around in VS 2012
- to check/un-checked "remove files on destination" option
- to right-click a *.cs file (because no way to select *.dll file) & select "publish this.cs" & it said 'success' in Web Publish Activity window. But not work.
(as above : to right-click a *.cshtml file & select "publish this.cs" & it said 'success' in Web Publish Activity window. It works.)
<div></div>Thanks a lot
All-Star
17652 Points
3510 Posts
Re: visual studio 2015 web deploy fail but message is success
Mar 15, 2017 01:33 AM|Chris Zhao|LINK
Hi Dennis_chen_canada,
The issue appears if your solution configuration doesn't match the project configuration (e.g. Release|x86 vs. Release|Any CPU). As a workaround you can make them the same for that solution configuration and it should resolve the issue.
reference: http://stackoverflow.com/a/12393154
Best Regards,
Chris
None
0 Points
2 Posts
Re: visual studio 2015 web deploy fail but message is success
Mar 15, 2017 08:28 AM|dennis_chen_canada|LINK
Hi Chris,
Thanks for reply.
I reviewed that posting in stackoverflow and try every single solution. But no luck.
It seems that people are talking about VS 2012 but my VS is 2015 update 3.
I will post question more over there.
Thanks.
Dennis