Rougamo icon indicating copy to clipboard operation
Rougamo copied to clipboard

ilweaver, aop at compile time

Results 10 Rougamo issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/14025507/185920480-2201a5ad-bd13-4ac4-9b22-254161e06715.png)

enhancement

这个库真是宝藏,作者nb。 但是使用中发现一个小问题: 使用了库后,会导致项目的热重载功能失效。请问有无解决办法,(没有也问题不大) ![image](https://user-images.githubusercontent.com/32633109/236713377-015600d6-cfbe-4d53-ac1b-4142c2999740.png)

enhancement

提示System.NotSupportedException 编译报错堆栈: 1>MSBUILD : error : Fody: An unhandled exception occurred: 1>MSBUILD : error : Exception: 1>MSBUILD : error : Failed to execute weaver C:\Users\Diego\.nuget\packages\rougamo.fody\2.3.0\build\..\weaver\Rougamo.Fody.dll 1>MSBUILD : error : Type:...

如题,只能看到反汇编代码

enhancement

> `public class TryCatchAttribute : MoAttribute` > `public class TryCatchAttribute : MoAttribute` 我设置了这样两条特性,`TryCatchAttribute` 可以正常使用 但是 `TryCatchAttribute` **出错**。 代码上他们长这样 ``` [TryCatch] public int Do(int t = 5) { throw new(""); }...

enhancement

根据微软的文档配置生成的 snupkg,在上传到 nuget.org 后,会出现下面的错误提示 ![image](https://github.com/inversionhourglass/Rougamo/assets/11787429/39878428-9e84-4c42-9cdc-1acec5571bf6) 微软的文档: https://learn.microsoft.com/zh-cn/nuget/create-packages/symbol-packages-snupkg snupkg对应的代码:https://github.com/weilence/Light/blob/main/src/Light.EntityFrameworkCore.Transactional/TransactionalAttribute.cs 因为出现了这个问题后,经过排查确认是 Rougamo 导致的,所以才把这个文件单独放一个 csproj 猜测可能跟 #36 有关系?

enhancement

``` [Log] private void LoadData() { string[,] values = new string[1, 1]; } ```

bug

blazor webassembly和auto模式中的客户端部分,使用的是WebAssemblyHost,它不是反省主机, 肉夹馍4.0.1目前测试没法在blazor webassembly中使用,这个可以加上吗 另外blazor的依赖注入跟asp.net core的依赖注入有差别,并且分server、webassembly和auto模式,参考: https://learn.microsoft.com/zh-cn/aspnet/core/blazor/fundamentals/dependency-injection?view=aspnetcore-8.0

dependency injection

// 在程序集级别进行代理,所有标记了 ObsoleteAttribute 的方法都将应用 ObsoleteProxyMoAttribute [assembly: MoProxy(typeof(ObsoleteAttribute), typeof(ObsoleteProxyMoAttribute))]

question

非常高兴从 @gaozhou 那里得知 Rougamo 可以支持 Unity,同时提供了具体操作步骤。 但由于个人对 Unity 一窍不通,所以无法封装出一个开箱即用的 Package。如果有朋友熟悉 Unity,且对 Rougamo 感兴趣,可以尝试根据操作步骤封装一个开箱即用的 Package 并分享出来。 具体操作步骤,请参考 https://github.com/inversionhourglass/Rougamo/issues/86#issuecomment-2378505655

help wanted