I'm designing Web Pages in ASP.NET with Visual Studio 2010. The compiler works from the temporary files of previous compilations. This means that each time that I make a change in my Css files, or changing the resource files I'm working with - VS compiles my webpage with the previous data.
我正在使用Visual Studio 2010在ASP.NET中设计Web页面。编译器使用以前编译的临时文件。这意味着每次我对我的Css文件进行更改,或者更改我正在使用的资源文件时 - VS都会使用以前的数据编译我的网页。
I'm rather new to ASP.NET, and I'm sure there's something I'm missing here or unfamiliar with, because it is impossible to work fluently like this.
我对ASP.NET很陌生,我确信这里有一些我不知道或不熟悉的东西,因为这样就不可能流利地工作了。
Only when I locate the temporary files, delete them, and recompile the project - only then it is working. But I have to be very careful which files I'm deleting.
只有当我找到临时文件时,删除它们,然后重新编译项目 - 只有它才有效。但我必须非常小心我要删除哪些文件。
Is there a way to overcome this problem? or to delete the proper files in a single command?
有没有办法克服这个问题?或者在一个命令中删除正确的文件?
Help! :)
1 个解决方案
#1
0
Few things I do to reflect the changes and not to see this problem.
我做的很少的事情来反映变化,而不是看到这个问题。
- Close cassini whenever you start new. A previous running instance of cassini often causes the error.
- The first should work, in any case it does not than clear the browser cache. Stylesheets and Scripts are often cached by browsers.
每当你开始新的时候关闭卡西尼。以前运行的cassini实例经常会导致错误。
第一个应该工作,无论如何它不会清除浏览器缓存。 Stylesheets和Scripts通常由浏览器缓存。
A recommendation:- Try to run new instances of your app in private browsing. You will not see the problems you normally do when in private browsing.
建议: - 尝试在隐私浏览中运行应用的新实例。在私密浏览时,您不会看到通常会遇到的问题。
#1
0
Few things I do to reflect the changes and not to see this problem.
我做的很少的事情来反映变化,而不是看到这个问题。
- Close cassini whenever you start new. A previous running instance of cassini often causes the error.
- The first should work, in any case it does not than clear the browser cache. Stylesheets and Scripts are often cached by browsers.
每当你开始新的时候关闭卡西尼。以前运行的cassini实例经常会导致错误。
第一个应该工作,无论如何它不会清除浏览器缓存。 Stylesheets和Scripts通常由浏览器缓存。
A recommendation:- Try to run new instances of your app in private browsing. You will not see the problems you normally do when in private browsing.
建议: - 尝试在隐私浏览中运行应用的新实例。在私密浏览时,您不会看到通常会遇到的问题。