visual studio 2010 - Issues with RESX files on VS2010 targeting 3.5 framework -


Here is a story that I recently went and possible answer (?) I wanted to share this information because I It is not yet searching on Stakeoverflow.

I upgraded my solution to VS 2008, WinXP, 32bit to VS2010, Win7, 64bit.

When I am modifying WinForms which generate new RESX files, or update RESX files, I am running into problems.

Debug build with VS2010 was not a problem. Although for release mode I have to use a delay-signing process, now errors in the process new RESX files that are generated with VS2010. (Again note that the old rx file does not display this behavior)

(Corrasonz target) Search.resx (176,5): error RG0000: could not load file or assembly xxx . Control, version = 1.5 0, culture = neutral, public key token = 7 CFFC 7 abass 048 'or a strong name validation of its dependency failed. (HRESULT: 0x8013141a A) Line 176, position 5.

Here is some information found on the web

I was wondering if the other PayPal escaped in this and what kind of work he followed? There will be no alternative solution, waiting for the VS 2010 SP1 to come out.

Unfortunately, I am using 3rd Party Assemblies which can be compiled as 32 bits. (I'm not in control of their manufacturing process)

- 8/11/2010 Some additional information

The control itself has not been signed or has not been signed late but the control is using a constituent from an assembly which is signed by a delay, both the assemblies are in the same solution.

When I change the Consumer Assembly to target the 4.0 framework, the problem is resolved. When I target 3.5 framework, we get an error.

The problem we issue inside

  & lt; Data Name = "imageList1.ImageStream" mimetype = "Application / X-microsoft.net.object.binary.base64" & gt; & Lt; Price & gt; [Bunch of binary data here] & lt; / Value & gt; & Lt; / Data & gt;  

We have confirmed that & lt; Data / & gt; ImageList related to the tag (see above) and then only removing the references given in the Design Designer:

  // initialize this.imageListSuperHeroes = New system Windows.Forms.ImageList (this.components); // control that references the ImageList this.btnAwesome.ImageKey = "superman.gif"; This.btnAwesome.ImageList = this.imageListSuperHeroes;  

Add image contexts (use personal images!) To control and update deleted contexts with your form rather than "project resource file" instead of "local resources" / P>

  this.btnAwesome.Image = Global :: PMPPlus.Properties.Resources.Superman;  

It has been decided for us and hopefully it helps you to move forward in the right direction. If not, then slip * .resx around to see which bad & lt; Data / & gt; You have to screw.

Related links:

Some actions that did not conform to our needs:

  • Target another platform and structure
  • < Li> Use Corflags in the screw with your C: \ Program Files \ Microsoft SDK \ Windows \ v7 .0a \ Bin Directory

Our Setup

< Ul>
  • Older environment: Windows XP 32-bit
  • New environment: General setup: VS2010 + Target Framework: 3.5+ Target platform: x86
  • Windows 7 64-bit

  • Comments

    Popular posts from this blog

    Eclipse CDT variable colors in editor -

    AJAX doesn't send POST query -

    wpf - Custom Message Box Advice -