Last post Jan 19, 2015 01:44 AM by Angie xu - MSFT
Jan 16, 2015 10:04 AM|tsvsega|LINK
Visual Studio 2013 website in a virtual directory. I have a global theme on my local machine and on the target Server 2012 in aspnet_client-->system_web-->4_0_30319-->appTheme folder.
If I just build or rebuild the project I get a clean compile. Publishing this is the problem.
1) It will publish via FTP if I do not select the precompile option (but that leaves source code on server). 2) It will copy if I do not have the pages theme directive in the webconfig. 3) It will publish with precompile if I install the theme in the App_Themes
folder in the project. 4) it will NOT publish if I set the precompile option and do not have theme in the project, even though the theme is in the global themes folder, the directive is in the webconfig, and I can compile. This generates the error:"Theme
‘appTheme’ cannot be found in the application or global theme directories."
Having to put it in every virtual directory would defeat the point of the global them.
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Jan 19, 2015 01:44 AM|Angie xu - MSFT|LINK
Welcome to asp.net forum.
You can select FTP to publish your application, In that case, the instructions for some of the following steps are different. The
Service URL and Site/application fields are replaced by a
Target Location field, in which you enter the FTP or FTPS URL. If anonymous logon is allowed, you do not need to enter a user name and password. If you need passive mode, edit the publish profile (.pubxml) file and change the value
of the FtpPassiveMode element to true. For information about passive mode, see
FTP-Deployed Web Site Projects
In addition, some other deployment strategies are also available for you, further information:
Please let me know if there is anything that I can do to help.