Comments (8)
never heard of "development dependency" before.. so I will have to investigate this first
from methodboundaryaspect.fody.
do you mind make the required change and provide a pull request? :-)
from methodboundaryaspect.fody.
I think he means that the MethodBoundayAspect.csproj should contain the package references as explained in the basicfodyaddin README.md:
<ItemGroup>
<PackageReference Include="Fody" Version="3.0.3" PrivateAssets="None" />
<PackageReference Include="FodyPackaging" Version="3.0.3" PrivateAssets="All" />
</ItemGroup>
The PrivateAssets=...
attributes (also) control how the resulting nupkg will look
from methodboundaryaspect.fody.
we try to separate the weaver stuff and the OnMethodBoundary base class into separate assemblies. Then we could remove the dependency to fody for the latter one.
from methodboundaryaspect.fody.
Um, there is no dependency on Fody or Cecil from MethodBoundaryAspect.dll - that is fine.
I think it is enough to modify the nuget package spec like shown in comment by damageboy.
There is also a spec page on this at https://blog.nuget.org/20170316/NuGet-now-fully-integrated-into-MSBuild.html
from methodboundaryaspect.fody.
We also want to use a lower Target Framework (e.g. 4.5.2) for our base class. That is only possible by separating the base class and runtime attributes from the weaving code. The weaving code is dependent on FodyCecil, why it has to be at lease 4.6.
from methodboundaryaspect.fody.
ah ok, fair enough ;)
I had to go back to v0.35 to get .net4.5.2 support on a project where I was not able to set .net 4.6.2 as the base because of contract stuff
from methodboundaryaspect.fody.
I made released a new version (1.0.41) right now. It should be possible to use the aspect under .NET 4.5.1. I did also mark the packages a developmentDependency.
Could you check, if it is working for you and reopen the issue, if not?
from methodboundaryaspect.fody.
Related Issues (20)
- Unable to set debug breakpoint in methods with sequence points HOT 4
- v2.0.148 nuget publish failed HOT 4
- How to access ILogger 'injected' property to 'log' on exception? HOT 4
- Aspect doesn't work for extension methods HOT 1
- Decorating "async void" method throws weaver exception for aspect with OnException override HOT 9
- How to debug/get more info about `Sequence contains no matching element` error? HOT 2
- The package causes wrong version of 'System.Private.CoreLib' to be referenced in my app HOT 23
- Is CompileTimeValidate() supported? HOT 2
- Can MethodBoundaryAspect.Fody be used to apply aspects to third-party NuGet packages without modifying their source code? HOT 2
- Throwing "Failed to execute weaver" exception on 1 (out of 19) VB project HOT 1
- InvalidOperationException is thrown by .Single call when there's an aspect inheritance HOT 2
- Support for AsyncVoidMethodBuilder, AsyncValueTaskMethodBuilder and AsyncIteratorMethodBuilder HOT 1
- Can an asynchronous interceptor abstract class be provided for out of the box use
- Support for Double? HOT 2
- Is there a way to apply aspect only when in Release mode?
- Not able to read attributes from Properties HOT 1
- C#11 introduce Attribute with Generics. Do you have any plan? HOT 5
- Exception logging only on highest call stack level? HOT 1
- Async & InvalidProgramException : Common Language Runtime detected an invalid program. HOT 7
- Dotnet versions are out of date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from methodboundaryaspect.fody.