+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Converting Sitefinity 5 VB Project

Converting Sitefinity 5 VB Project

4 posts, 0 answered
  1. Jae Hong
    Jae Hong avatar
    29 posts
    Registered:
    07 May 2012
    08 May 2012
    Link to this post
    Hi There,

    I searched a thread and followed instructions on the link below:
    http://www.sitefinity.com/devnet/kb/sitefinity-4-x/converting-a-sitefinity-4-0-project-to-vb.aspx 

    However, it keep showing the message below when I build the project.
    ------ Build started: Project: SitefinityWebAppVB, Configuration: Debug Any CPU ------
      No way to resolve conflict between "System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
      SitefinityWebAppVB -> C:\Program Files (x86)\Telerik\Sitefinity 5.0\Projects\CSIntranet5VB\bin\SitefinityWebAppVB.dll
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

    Also, I cannot use 'Edit in Visual Studio' menu in Project Manager. It says the file does not exist.

    Is there any way to convert it perfectly???
    Thanks for help.
  2. Jae Hong
    Jae Hong avatar
    29 posts
    Registered:
    07 May 2012
    10 May 2012
    Link to this post
    I just noticed that confliction was caused by 'System.Windows.dll' (.NET ver 2.0.5.0).
    Everything works fine if I remove the dll file from bin folder.
    Could anybody explain why VB project conflict with this dll file??

    Thanks
  3. Arno
    Arno avatar
    249 posts
    Registered:
    08 Sep 2010
    30 Oct 2012
    Link to this post
    Thanks for posting this. I ran into this in Sitefinity 5.2 after following the same instructions. It seems that System.Windows.dll included with Sitefinity includes a reference to System.Runtime.Serialization version 2.0.5.0. I guess some other dll we're referencing contains a (reference to a) newer version, and that's causing the conflict. I first just removed the reference to System.Windows.dll in Visual Studio, but that did not make a difference. Then I removed the file like you suggested and the warning went away. I'm not sure if this can cause problems later. It would be great if Telerik can explain/confirm.
  4. Jae Hong
    Jae Hong avatar
    29 posts
    Registered:
    07 May 2012
    05 Dec 2012 in reply to Arno
    Link to this post
    This issue has been resolved after I added System.Runtime.Serialization.
    After I update Sitefinity to 5.2.3800.0, I included System.windows.dll from project bin folder and added System.Runtime.Serialization.dll (C:\Program Files(x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\) and everything goes fine.
4 posts, 0 answered