Azure Git部署无法找到文件[Project].dll.授权失败



我们有一个ASP。BitBucket中的。NET web应用程序项目,它使用Telerik Reporting引用了一个类库。Telerik Reporting有一个相关的许可证。licx文件)。

Azure部署失败,提示:

CSC : error CS1566: Error reading resource '[Project].dll.licenses' -- 'Could not find file 'D:homesiterepositorysrc[Project]objRelease[Project].dll.licenses'.'
Failed exitCode=1, command="D:Program Files (x86)MSBuild14.0BinMSBuild.exe" "D:Home[PathTo].csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="D:localTemp8d2bd89fc1c1e79";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release /p:SolutionDir="D:home[PathTo]"

这个存在的问题*.dll。在TeamCity中没有使用msbuild创建的obj目录中的许可证文件和链接的MSDN论坛帖子似乎通过安装额外的工具来解决这个问题-但我不相信这将是Azure中的一个选项?

许可证。类库中的licx文件也被设置为嵌入式资源,如果设置不正确,显然会出错。

我们可以通过从存储库中删除licenses.licx文件(并忽略它)来解决这个问题。

相关内容

最新更新