Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Lately the Preview function has been throwing the following error:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1703: An assembly with the same identity 'System.Runtime, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references.
Anyone? Has anyone else seen this problem?
Last time I hit that error there were some caching issues going on on my development machine, deleting all bin and obj folders in the project resolved the issues for me. Also make sure System.Runtime is not referenced more that ones in any .config files in your solution and that you don't have duplicate namespace imports in any custom classes.
I personally have not experienced any problems with the preview.
Thanks. The odd thing is the exact same Umbraco instance runs fine on my local box, but throws this error in preview on the server. There are no custom references in any of the .config file, as we are running a clean Umbraco instance.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted