Skip to main content

Search

Search

Visual Studio 2012 Compatibility?

Comments

3 comments

  • Avatar
    Legacy Poster
    Tried adding this to my app.config file:

    [code]
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    [/code]

    Get these 4 Messages
    Message 1
    Could not find schema information for the attribute 'useLegacyV2RuntimeActivationPolicy'.

    Message 2
    Could not find schema information for the element 'supportedRuntime'.

    Message 3
    Could not find schema information for the attribute 'version'.

    Message 4
    Could not find schema information for the attribute 'sku'.

    Also getting this warning:

    Warning
    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Seagull.BarTender.Print, Version=10.0.0.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7, processorArchitecture=x86", "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.

    My Target CPU is set to AnyCPU.
    0
  • Avatar
    Raul Soto
    Set the Target CPU to 32 bit.

    Raul Soto
    Technical Support Representative
    425-641-1408
    0
  • Avatar
    Legacy Poster
    I set it to x86 and that seemed to fix it. Schema dotNetConfig20.xsd, dotNetConfig30.xsd, dotNetConfig35.xsd, dotNetConfig40.xsd do not have the below in the XML. However DotNetConfig.xsd did but was not checked in XML Schemas set to automatic.

    [code]
    <xs:element name="startup" vs:help="configuration/startup">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="supportedRuntime" vs:help="configuration/startup/supportedRuntime">
    <xs:complexType>
    <xs:attribute name="version" type="xs:string" use="optional" />
    <xs:attribute name="sku" type="xs:string" use="optional" />
    </xs:complexType>
    </xs:element>
    <xs:element name="requiredRuntime" vs:help="configuration/startup/requiredRuntime">
    <xs:complexType>
    <xs:attribute name="version" type="xs:string" use="optional" />
    </xs:complexType>
    </xs:element>
    </xs:choice>
    <xs:attribute name="useLegacyV2RuntimeActivationPolicy" type="xs:string" use="optional" />
    </xs:complexType>
    </xs:element>
    [/code]

    So not sure if you will need this since change to x86 below was not needed.

    [code]
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    [/code]




    [quote name='Raul S - Seagull Support' timestamp='1346083295' post='3151']
    Set the Target CPU to 32 bit.

    Raul Soto
    Technical Support Representative
    425-641-1408
    [/quote]
    0

Please sign in to leave a comment.