视觉工作室.带*的AssemblyVersion不起作用 [英] Visual studio. AssemblyVersion with * don't work

查看:192
本文介绍了视觉工作室.带*的AssemblyVersion不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能在程序集版本中使用*

I can't use * in assembly version

将文本表示为UTF-16代码单元的序列.浏览.NET 这种类型的框架源代码,请参见参考源.

Represents text as sequence of UTF-16 code units.To browse the .NET Framework source code for this type, see the Reference Source.

指定的版本字符串包含通配符,而不是通配符 与确定性兼容.从版本中删除通配符 字符串,或禁用此编译的确定性

The specifed version string contains wildcards, which are not compatible with determinism. Either remove wildcards from the version string, or disable determinism for this compilation

推荐答案

我想您已经可以使用它了,并且已经不能使用了.

I guess you were able to use it earlier and can't anymore.

原因-Visual Studio进行了一些更改,因为新的项目文件现在对于确定性"属性默认为真".

Reason - There have been some changes to Visual Studio as the new project files now default to 'True' for 'Deterministic' attribute.

解决方案-正如汉斯·帕桑特(Hans Passant)所说,请手动编辑项目文件.也照他说的做.

Solution - as Hans Passant says, edit project file by hand. Cons to doing it, also as he says.

来源- https://marinovdh.wordpress.com/2018/10/22/68/

这篇关于视觉工作室.带*的AssemblyVersion不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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