-
情况是这样的:我将Rougamo(v1.4.1)引入到一个公共库上,并且将公共库中使用到Rougamo的类加上了ExcludeFromCodeCoverageAttribute;然后将公共库打包到nuget上,其他项目再引入公共库,从而使用公共库中的Rougamo的功能。
现在的问题是:引入公共库的项目在teamcity上build的时候发现Fody的Code Coverage为0,从而降低…
-
根据微软的文档配置生成的 snupkg,在上传到 nuget.org 后,会出现下面的错误提示
![image](https://github.com/inversionhourglass/Rougamo/assets/11787429/39878428-9e84-4c42-9cdc-1acec5571bf6)
微软的文档: https://learn.microsoft.com/zh-c…
-
无论是直接依赖工程还是发布nupkg,都无法AOP成功。
官方发布版本就可以AOP成功。
-
[CusMoAttribute]
public bool Test(ref T value, ushort packetId, ReadOnlySpan bytes)
{
return false
}
AOP成功后运行到此函数抛出异常
System.InvalidProgramException: Common Language Runtime detected an inval…
-
这个库真是宝藏,作者nb。
但是使用中发现一个小问题: 使用了库后,会导致项目的热重载功能失效。请问有无解决办法,(没有也问题不大)
![image](https://user-images.githubusercontent.com/32633109/236713377-015600d6-cfbe-4d53-ac1b-4142c2999740.png)
-
参考:
https://learn.microsoft.com/zh-cn/dotnet/core/compatibility/serialization/8.0/publishtrimmed
发布时报错如下:
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 优化程序集的大小失败。通过将 PublishTrimmed 属性设置为 false 可禁用优化。 ZLJ.Web.Bl…
-
```c#
public abstract class MoAttribute : Attribute, IMo
{
public virtual AccessFlags Flags { get; set; }
public virtual string? Pattern { get; set; }
public virtual Feature Features { get…
-
#### 问题描述及重现代码:
当参照freesql官网文档推荐,为了实现事务控制,写了 `TransactionalAttribute .cs`, 其中该attr 引用了`Rougamo` ,此时如果在任意的controller的任意Action上标注'[Transactional]' , 会导致在全部controller中调试中修改代码的热重载功能失效。很影响使用体验.
--如果注…
-
-