繁体   English   中英

Visual Studio项目文件中的__MvcPagesVersion__是什么?

[英]What is __MvcPagesVersion__ for in Visual Studio project file?

我在VS 2013中创建了一个MVC / Web API项目。当我尝试使用Monodevelop打开该解决方案时,它失败并显示错误“版本字符串中必须有2、3或4个组件”。 这是因为.csproj文件中的引用,例如<Reference Include="System.Net.Http.Formatting, Version=__MvcPagesVersion__, ..."> ... </Reference>

如何修复这些引用,以便可以使用Monodevelop进行编译? 从这些引用中删除Version字符串是否安全?

刚才遇到了类似的问题。 __MvcPagesVersion__必须是Visual Studio在* .csproj文件中使用的占位符。 我梳理了无法在Xamarin Studio中加载的csproj文件,并将对__MvcPagesVersion__所有引用__MvcPagesVersion__为“ 5.2.0.0”,不带引号。 然后,我重新加载了该项目,现在一切似乎都对我有用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM