zoukankan      html  css  js  c++  java
  • Unable to update auto-refresh reference 'microsoft.codedom.providers.dotnetcompilerplatform.dll'.

    Unable to update auto-refresh reference 'microsoft.codedom.providers.dotnetcompilerplatform.dll'. 
    Cannot find assembly 'D:JENKINS_HOMELISA 6.0 CMSSolutionpackagesMicrosoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.8lib et45Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll'.

    Warning: Unable to update auto-refresh reference

    Hi all,

    I finally tracked down the final answer for my problem and will post here for any who experience the same issues.

    Solution Explorer > Right Click the website project node > Property Pages > References

    This lists the references the build process keeps track of.  Some of them will have 'Auto Update' for the version field.  This appears to be directed by a file in the Bin folder attached to the .dll in question.  The file has an extension of '.refresh'.  Inside that file there is a path that the build process tries to refresh during a build.

    The path in that file should point to a folder in the current website project.  In my case I did some odd copy or moves of website files, and then I deleted the old project folder.  But my .refresh files were still pointing to the deleted project folder, and not pointing to my current project folder.  Actually, had I not deleted the old project folder I would have never realized my .refresh folders were not addressing my current project folder.

    When I updated the applicable .refresh files by changing just the project folder name (inside a fairly long string), the 'Unable to update auto-refresh reference' warnings ended and now my build process is checking the proper folder during builds.  You'll know which .refresh files to update by noting the error report and which referenced files are listed there.

    Best Regards,

    Alan

    解决方法:

    需要检查指定目录下,是否有后缀名为refresh的文件。如果有的话,删除。

    或者在Jenkins复制文件之前,先清空目录

  • 相关阅读:
    一文了解Python中的判断语句
    想成为Python全栈开发工程师必须掌握的技能
    Python中变量的命名
    Python中变量的基本使用
    Java使用IO流读取TXT文件
    怎样用 I/O流读取txt文件?
    ORACLE数据库数据被修改或者删除恢复数据(闪回)
    字节流,读取 a.txt 文件内容,并打印出来
    使用js设置input标签只读 readonly 属性
    MyEclipse 选中属性或方法后 相同的不变色
  • 原文地址:https://www.cnblogs.com/chucklu/p/8872173.html
Copyright © 2011-2022 走看看