Last post Mar 15, 2017 08:28 AM by dennis_chen_canada
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.
I search and people said in MS site that this is bug in VS 2012 and been fixed.
Is this bug happened in VS 2015 or I need to install and update ?
p.s. I try all followings but no luck:
- 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.)
Thanks a lot
Mar 15, 2017 01:33 AM|Chris Zhao|LINK
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.
Mar 15, 2017 08:28 AM|dennis_chen_canada|LINK
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.