issue with assembly reference
Hello, I have downloaded the migration tool,
www.sitefinity.com/.../sitefinity-migration-tool.aspx
and have been following the instructions line by line. My issue is baffling - because it's such an easy step. From the documentation...
• Expand the References node of this project and fix all the missing references by pointing them to DLL files in the /bin folder of your main 3.7 website project
• Right-click on the MigrationExportService project and select Build. You will get a file named MigrationExportService.dll in MigrationExportService/bin/Debug
Hi Mexner,
Could you check the target .NET version of your MigrationExportService project and the version against which is compiled your Sitefinity 3.7 project. They should match - e.g. both should be 4.0. If your Sitefinity project is for .NET 4.0 then you can change the target version of your MigrationExportService to 4.0 (eventually by adding/removing a reference System.Web.ApplicationServices) and try again.
Kind regards,Hi Lubomir,
I have done that. My 3.7 site is .NET 4.0. When I attempt to target the migrationExportService to .NET 4.0 - it errors out (See screen shot).
If I take my 3.7 SF site to .NET 3.5 and take the migrationExportService to .NET 3.5, i get the errors you saw in the video from my original post.
Thanks,
Hi Mexner,
Please build the tool against .NET 4.0. Add a reference to System.Web.ApplicationServices.
Greetings,Thanks Lubomir, that worked.
Will you be releasing a version of the Sitefinity v. 3.7 Migration Tool for both .Net 3.5 as well as .Net 4.0 due to the breaking changes in .Net 4.0 regarding assembly references?
When I compiled my solution against .Net v. 4.0, I got the following build error messages:
C:\Software\Telerik\280162_SitefinityMigration-0-7-Beta\MigrationExportService\MigrationExportService.cs(294,54): warning CS0618: 'Telerik.Cms.Web.UI.DynamicHyperLink' is obsolete: 'This control is obsolete. Please use Telerik.Cms.Engine.WebControls.DynamicHyperLink instead'
C:\Software\Telerik\280162_SitefinityMigration-0-7-Beta\MigrationExportService\MigrationExportService.cs(301,25): warning CS0618: 'Telerik.Cms.Web.UI.DynamicHyperLink' is obsolete: 'This control is obsolete. Please use Telerik.Cms.Engine.WebControls.DynamicHyperLink instead'
C:\Software\Telerik\280162_SitefinityMigration-0-7-Beta\MigrationExportService\MigrationExportService.cs(301,105): warning CS0618: 'Telerik.Cms.Web.UI.DynamicHyperLink' is obsolete: 'This control is obsolete. Please use Telerik.Cms.Engine.WebControls.DynamicHyperLink instead'
Please advise.
Hi Samir Vaidya,
These are not errors, these are warnings. You can safely ignore them.
All the best,