Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brad Wickett 18 posts 78 karma points
    26 days ago
    Brad Wickett
    0

    Lately the Preview function has been throwing the following error:

    enter image description here

    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=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references.

    Thanks,

    Brad

  • Brad Wickett 18 posts 78 karma points
    5 days ago
    Brad Wickett
    0

    Anyone? Has anyone else seen this problem?

  • Dave de Moel 100 posts 453 karma points c-trib
    5 days ago
    Dave de Moel
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft