如何解析图像与引用的错误太小 [英] How do I resolve an image is too small error from references

查看:77
本文介绍了如何解析图像与引用的错误太小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个.Net核心项目。右键单击引用并选择还原包后,我得到4图像太小。错误



双击错误将我带到Microsoft.DotNet.Common.Targets文件的第262行:



I'm working on a .Net core project. After right-clicking on References and selecting "Restore Packages" I get 4 "image is too small." errors

Double clicking the error brings me to line 262 of the Microsoft.DotNet.Common.Targets file:

<Dnx
  RuntimeExe="$(SDKToolingExe)"
  Condition="'$(_DesignTimeHostBuild)' != 'true'"
  ProjectFolder="$(MSBuildProjectDirectory)"
  Arguments="$(_BuildArguments)"
  />





我的尝试:



尝试在线研究错误信息,但尚未找到任何有用的信息。一切都指向实际的图像文件大小。



我在VS和DotNetCore上运行修复选项



What I have tried:

Tried researching the error message online, haven't found anything useful yet. Everything point to an actual image file size.

I've run the repair options on VS and DotNetCore

推荐答案

(SDKToolingExe)
Condition ='
(SDKToolingExe)" Condition="'


(_ DesignTimeHostBuild)'!='true'
ProjectFolder =
(_DesignTimeHostBuild)' != 'true'" ProjectFolder="


(MSBuildProjectDirectory)
Arguments =
(MSBuildProjectDirectory)" Arguments="


这篇关于如何解析图像与引用的错误太小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆