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_HOME\LISA 6.0 CMS\Solution\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.8\lib\net45\Microsoft.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复制文件之前,先清空目录
Unable to update auto-refresh reference 'microsoft.codedom.providers.dotnetcompilerplatform.dll'.的更多相关文章
- 这台计算机上缺少此项目引用的 NuGet 程序包-缺少的文件是 ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props
		
异常处理汇总-开发工具 http://www.cnblogs.com/dunitian/p/4522988.html 协助开发里面总有几个是极简爱好者,但是呢删了不该删的就会影响项目开发,下面看下完 ...
 - 未能找到 CodeDom 提供程序类型“Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider,
		
未能找到 CodeDom 提供程序类型“Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft ...
 - 未能找到 CodeDom 提供程序类型“Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf385
		
网上说的解决方案有两个,第一:什么删除目录下的.java文件, 这个方法 对我没效果:第二:删除.csproj文件中.DotNetCompilerPlatform.CSharpCodeProvid ...
 - 未能加载文件或程序集“Microsoft.CodeDom.Providers.DotNetCompilerPlatform
		
"/"应用程序中的服务器错误. 未能加载文件或程序集"Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Versio ...
 - 【ASP.NET】The CodeDom provider type “Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider” could not be located
		
一般是asp.net的项目在启动的时候会报这个错误. 页面显示成: 我推测的原因是由于project的build的输出属性改了, 非bin目录下, 导致这个问题. 解决这个问题的方案有两个: 1. 改 ...
 - git pull fails “unable to resolve reference” “unable to update local ref”
		
问题 由于有人rebase了分支,或者不知道怎么搞的.其他人拉取代码的时候,发现拉不下来. >git fetch error: cannot lock ref 'refs/remotes/ori ...
 - Unable to update the EntitySet 'T_JsAPI' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.
		
前几天使用EF6的Db First模式改造了支付中心的数据访问层,废弃了ado.net. 同时,使用T4把实体类生成到了model层的PO目录下. 今天在db里新建了一张表,在edmx文件里更新模型( ...
 - [转]使用Maven添加依赖项时(Add Dependency)时,没有提示项目可用,并且在Console中,输出:  Unable to update index for central|http://repo1.maven.org/maven2 。
		
使用Maven添加依赖项时(Add Dependency)时,没有提示项目可用,并且在Console中,输出: Unable to update index for central|http://re ...
 - Invalidate,Update与Refresh的区别
		
在做Windows Forms开发的时候,免不了需要手动刷新窗口,以重绘所需更改的控件,或其它什么的.当出现这类需求时,你有三个选择,使用Invalidate,Update或者Refresh方法. I ...
 
随机推荐
- UI设计四要素
			
信息.样式.布局.交互. +层次: UI所有的工作都可以从这几个方面入手.
 - Objective-C中copy 、retain以及ARC中新加入的strong、weak关键字的含义
			
copy: 创建一个引用计数为1的对象,然后释放旧的对象 retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的引用计数为 1 Copy其实是建立了一个相同的对象,而retain不是: ...
 - TWaver3D特效系列之环境映射
			
随着TWaver3D的快速发展,越来越多的各种功能都在不断加强,包括性能的极大提升(可以参考这里),3D编辑器的易用性和功能持续增强(欢迎大家申请试用),各种特效的增加,特效是本文的主角. 对于UI技 ...
 - [Python3网络爬虫开发实战] 1.1-Python3的安装
			
既然要用Python 3开发爬虫,那么第一步一定是安装Python 3.这里会介绍Windows.Linux和Mac三大平台下的安装过程. 1. 相关链接 官方网站:http://python.org ...
 - 谈谈TCP中的TIME_WAIT
			
所以,本文也来凑个热闹,来谈谈TIME_WAIT. 为什么要有TIME_WAIT? TIME_WAIT是TCP主动关闭连接一方的一个状态,TCP断开连接的时序图如下: 当主动断开连接的一方(Initi ...
 - 1.ARM嵌入式体系结构与接口技术(Cortex-A8版)
			
第1章 嵌入式系统基础知识 ---->1.1嵌入式系统的概述 -------->1.1.1嵌入式系统简介 -------->1.1.2嵌入式系统的特点 -------->1.1 ...
 - 阿里云服务器Ubuntu 16.04 3安装mysql
			
.更新系统 apt-get update [注意:要在root用户下] .安装mysql-server apt-get install mysql-serverapt-get install mysq ...
 - WIKIOI  1319 玩具装箱
			
1319 玩具装箱 题目描述 Description P教授要去看奥运,但是他舍不下他的玩具,于是他决定把所有的玩具运到北京.他使用自己的压缩器进行压缩,其可以将任意物品变成一堆,再放到一种特殊的一维 ...
 - HDU 4903  (模拟+贪心)
			
Fighting the Landlords Problem Description Fighting the Landlords is a card game which has been a he ...
 - codevs1127 接水问题
			
题目描述 Description 学校里有一个水房,水房里一共装有m 个龙头可供同学们打开水,每个龙头每秒钟的供水量相等,均为1. 现在有n 名同学准备接水,他们的初始接水顺序已经确定.将这些同学按接 ...