Converting Sitefinity 5 VB Project
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.
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
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.
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.