मैं अपने विट्स एंड अंत में दो घंटे से अधिक समय तक संघर्ष कर रहा हूं।ASP.NET अस्थायी फ़ाइलों को कैश करने में समस्या
एएसपी.नेट अस्थायी फ़ाइलें कैश में अभी भी मेरी असेंबली की पुरानी प्रति है और नतीजतन, मैं अपना ऐप चलाने में सक्षम नहीं हूं।
मैं वास्तव मेंसे HomePageViewModel
से मेरी कक्षाओं में से एक का नाम बदल दूंगा। तो, जब मैं अपने अनुप्रयोग चलाने, यह अभी भी कैश से पुराने विधानसभाओं कोई फर्क नहीं पड़ता कि मुझे क्या करना चुनता है, और यह रिपोर्ट:
a) Closed Visual Studio
b) Stopped IIS using the Internet Services
Manager (inetmgr.exe) tool.
c) Stopped the World Wide Publishing Service from
the Services applet in the Control Panel
d) Deleted all files from the %tmp%\Temporary
ASP.NET Files folder
e) Deleted all files from the %windir%\temp folder
f) Deleted all files from the %windir%\Microsoft.NET\
Framework\v4.0.30319\Temporary ASP.NET Files folder
g) Deleted all files from the %windir%\Microsoft.NET\
Framework64\v4.0.30319\Temporary ASP.NET Files folder
h) Started the WWW service (the one stopped in step c)
and IIS from inetmgr.exe.
i) Opened and started debugging my ASP.NET MVC Web
application project
:
2014-06-25 21:17:30,840 [13] ERROR ExceptionLogger
Error: System.Web.HttpCompileException (0x80004005):
c:\Users\computer\AppData\Local\Temp\Temporary ASP.NET
Files\root\0ee70bca\3973e798\App_Web_index.cshtml.a8d08dba.na12ukjv.0.cs(30):
error CS0234: The type or namespace name 'HomePage' does
not exist in the namespace 'MyProduct.Web.Presentation.
ViewModels' (are you missing an assembly reference?)
मैं अब कई बार निम्नलिखित किया है
प्रोजेक्ट गुणों में, मैंने स्थानीय आईआईएस के बजाय IISExpress में चलाने के लिए प्रोजेक्ट को कॉन्फ़िगर किया है।
मैं 64-बिट विंडोज 7 होम प्रीमियम चला रहा हूं।
क्या मुझे कुछ और करने की ज़रूरत है?
जब आप अपना ऐप चलाने का प्रयास करते हैं तो आपको क्या त्रुटि या अपवाद मिल रहा है? – Khan
@ खान धन्यवाद, मैंने त्रुटि जानकारी शामिल करने के लिए प्रश्न अपडेट किया है। –