Monday, August 23, 2010

Deserialization failed: The 'DataType' attribute is not declared. Line 3020, position 20

http://connect.microsoft.com/VisualStudio/feedback/details/405739/vs-2008-rs-2008-error-deserialization-failed-the-datatype-attribute-is-not-declared

The workaround
the bug:
<-ParameterValues>
         <-ParameterValue>
            <-Value DataType="Integer">1
            <-Label>All
         <-/ParameterValue>
         <-ParameterValue>
            <-Value DataType="Integer">0
            <-Label>T/R
         <-/ParameterValue>
         <-ParameterValue>
            <-Value DataType="Integer">-1
            <-Label>SCD
         <-/ParameterValue>
        <-/ParameterValues>

solution (remome all : DataType="Integer"):

<-ParameterValues>
         <-ParameterValue>
            <-Value>1
            <-Label>All
         <-/ParameterValue>
         <-ParameterValue>
            <-Value>0
            <-Label>T/R
         <-/ParameterValue>
         <-ParameterValue>
            <-Value>-1
            <-Label>SCD
         <-/ParameterValue>
        <-/ParameterValues>

No comments: