wpfを使用しているc#.net 4.0アプリケーションで動作していて、xp prof sp3のPC上のアプリケーションでエラーCS0002(以下のトレースを参照)があります。他のマシンでもうまく走っています(xp prof sp3も勝ちます)。 解決策の検索に多くの時間を費やした後、次に何をすべきかわからず、maybeeが助けてくれるでしょう。cs0002リソースからメッセージ文字列をロードできません。
TEMPおよびTMP環境設定のc:\ windows \ temp dirおよびtemp dirのアクセス権を確認したところ、すべてのディレクトリに完全にアクセスできます。 PCはXP SP 3を獲得しており、すべてのアップデートをインストールしています。私は管理者としてコードを実行しています。
ご意見がありましたらお知らせください。ありがとう。
Unable to generate a temporary class (result=1).
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
error CS0002: Unable to load message string from resources.
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at NHibernate.Cfg.Configuration..ctor(SettingsFactory settingsFactory)
at MyNHibernateSession.OpenSession()
は、cをコピーすることによってこの問題を解決:\ WINDOWS \ microsoft.netこの問題を搭載したPCへの別のPCからDIR。その後、それは動作します.... –