I have developed any projects in VC# Express Beta 1 and now i try opening and compiling the projects in VC# Express Beta 2, but while compiling, happened any errors! Any ideas why I would get this?!
Error 60 The "GenerateResource" task failed unexpectedly.
System.Runtime.Serialization.SerializationException: Type could not be read from the data in line 129, position 5.
The type's internal structure may have changed. Either implement ISerializable on the type or provide a type converter
that can provide a more reliable conversion format, such as text or an array of bytes.
The conversion exception was: Member 'm_codePage' in class 'System.Text.ASCIIEncoding' is not present in the serialized
stream and is not marked with System.Runtime.Serialization.OptionalFieldAttribute.---> System.Xml.XmlException:
Type could not be read from the data in line 129, position 5. The type's internal structure may have changed.
Either implement ISerializable on the type or provide a type converter that can provide a more reliable conversion format,
such as text or an array of bytes. The conversion exception was: Member 'm_codePage'
in class 'System.Text.ASCIIEncoding' is not present in the serialized stream and is not marked with
System.Runtime.Serialization.OptionalFieldAttribute.
Line 129, position 5. ---> System.Runtime.Serialization.SerializationException: Member 'm_codePage'
in class 'System.Text.ASCIIEncoding' is not present in the serialized stream and is not marked
with System.Runtime.Serialization.OptionalFieldAttribute.
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.GetMemberTypes(String[] inMemberNames, Type objectType)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName,
String[] memberNames,
BinaryTypeEnum[] binaryTypeEnumA,
Object[] typeInformationA,
Int32[] memberAssemIds,
ObjectReader objectReader,
Int32 objectId,
BinaryAssemblyInfo assemblyInfo,
SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler,
__BinaryParser serParser,
Boolean fCheck,
IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream,
HeaderHandler handler,
Boolean fCheck,
IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
at System.Resources.ResXDataNode.GenerateObjectFromDataNodeInfo(DataNodeInfo dataNodeInfo,
ITypeResolutionService typeResolver)
at System.Resources.ResXDataNode.GetValue(ITypeResolutionService typeResolver)
at System.Resources.ResXResourceReader.ParseDataNode(XmlReader reader, Boolean isMetaData)
at System.Resources.ResXResourceReader.ParseXml(XmlReader reader)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception e)
at Microsoft.Build.Tasks.ProcessResourceFiles.ProcessFile(String inFile, String outFile)
at Microsoft.Build.Tasks.ProcessResourceFiles.Run( TaskLoggingHelper log,
AssemblyName[] assemblies,
ArrayList inputs,
ArrayList outputs,
Boolean sourcePath,
String language,
String namespacename,
String filename,
String classname)
at Microsoft.Build.Tasks.GenerateResource.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask,
Hashtable projectItemsAvailableToTask,
BuildPropertyGroup projectPropertiesAvailableToTask)
C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 1500 9