Compiler errors 少编问题

Compiler errors 少编问题,compiler-errors,less,Compiler Errors,Less,我正在使用VisualStudio2012和WebEssential2012和Less生成的css与预期不同 //style.less .selector{ max-height: calc(100vh - 200px) } 在style.css中,它生成如下内容 //style.css .selector{ max-height: calc(-100vh); } 有什么想法吗?您必须按照类似问题中的建议使用“”函数 .selector{ max-hei

我正在使用
VisualStudio2012
WebEssential2012
Less
生成的
css
与预期不同

//style.less

 .selector{
     max-height: calc(100vh - 200px)
 }
在style.css中,它生成如下内容

//style.css
.selector{
      max-height: calc(-100vh);
}
有什么想法吗?

您必须按照类似问题中的建议使用“”函数

.selector{
     max-height: calc(100vh ~"-" 200px);
}

你的答案可能重复。你可以检查日期,看哪一个是重复的。你链接到的评论说你链接的线程是我链接的线程的复制品。