问题
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:
- Close VS and delete the Bin and Obj folders.
- Clear Browser History.
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