I can't Publish my website anymore

最后都变了- 提交于 2019-12-24 05:58:29

问题


I am trying to publish my site from Visual Studios 2008 Web Developer SP1. I do first a clean build then I rebuild it.

I then go and try to publish it. I get one warning that seems to make it fail

Warning 1   Error updating JScript IntelliSense: C:\Users\bob\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\25YI099T\jquery-fds90[1]..js: Object doesn't support this property or method @ 2139:1    E:\Projects\Dir\Version 2\trunk\Site\Views\Shared\Site.Master   1   1   

I don't understand why I am getting some Intellisense error when trying to publish it. I was able to publish my site yesterday just fine but now I get this and it seems to stop the publish.


回答1:


  1. Close VS and delete the Bin and Obj folders.
  2. Clear Browser History.
  3. Clear out the following:

    • ClearFolder(oShell.ExpandEnvironmentStrings("%APPDATA%") & "\Microsoft\VisualStudio\9.0\ProjectAssemblies")
    • ClearFolder(oShell.ExpandEnvironmentStrings("%APPDATA%") & "\Microsoft\VisualStudio\9.0\Recent")
    • ClearFolder(oShell.ExpandEnvironmentStrings("%USERPROFILE%") & "\Local Settings\Application Data\ApplicationHistory")
    • ClearFolder(oShell.ExpandEnvironmentStrings("%USERPROFILE%") & "\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies")
    • ClearFolder(oShell.ExpandEnvironmentStrings("%WINDIR%") & "\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files")


来源:https://stackoverflow.com/questions/2079029/i-cant-publish-my-website-anymore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!