1
我打開了一個項目並將其框架從4.5更改爲4.0(由於某些愚蠢的公司限制)。在將框架從4.0更改爲4.5後運行我的.net項目時出現問題
There was a mismatch between the processor architecture of the project being built
"MSIL" and the processor architecture of the reference "My.DataAccessLayer.DimensionDB",
"x86". This mismatch may cause runtime failures. Please consider changing the targeted
processor architecture of your project through the Configuration Manager so as to align
the processor architectures between your project and references, or take a dependency on
references with a processor architecture that matches the targeted processor architecture of your project.
這是一個警告。當我運行無論如何,它給了我下面的錯誤: -
The type or namespace name 'Membership' does not exist in the namespace 'Microsoft.AspNet' (are you missing an assembly reference?)
The type or namespace name 'Membership' does not exist in the namespace 'Microsoft.AspNet' (are you missing an assembly reference?)
等
我將高度讚賞任何幫助。
感謝
你確定這些都是問題,而不僅僅是警告?你應該可以繼續運行。 –
你說得對。這是一個警告。當我運行時,出現了我剛剛粘貼的錯誤。 – Steve