Comments (10)
will check if I could restore the Multi-targetting, that should solve your issue
from qlnet.
Thanks
from qlnet.
If I enable netstandard 2.0 got troubles in FastActivator class : DynamicMethod ILGenerator and LocalBuilder
from qlnet.
I did this, changing the TargetFramework and adding the package.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<VersionPrefix>1.12.0</VersionPrefix>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<DefineConstants>$(DefineConstants);QL_NEGATIVE_RATES</DefineConstants>
<AssemblyName>QLNet</AssemblyName>
<PackageId>QLNet</PackageId>
<PackageVersion>1.12.0</PackageVersion>
<Authors>Andrea Maggiulli</Authors>
<Company />
<Description>A free/open-source library for quantitative finance</Description>
<Copyright>Copyright (c) 2008-2021 Andrea Maggiulli ([email protected])</Copyright>
<PackageLicenseUrl>https://github.com/amaggiulli/QLNet/blob/develop/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>http://github.com/amaggiulli/qlnet</PackageProjectUrl>
<PackageTags>QLNet QuantLib quantitative finance financial</PackageTags>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.7.0" />
</ItemGroup>
</Project>
Like I said I would have committed this as a branch, but seem to be blocked.
from qlnet.
yea that works , have to add back :
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> <PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.0.1" /> </ItemGroup>
from qlnet.
Cool
from qlnet.
now I have to fight with nuget/github deployement for multi-target 😄 , will ask you to verify once done thanks
from qlnet.
but why bother with multi deployment, with net standard it can go anywhere, no?
from qlnet.
Well, main reason is that I don't want to lose net6.0 optimizations, also I see many open source projects have dropped netstandard in favor of being full dotnet core since it is less limiting in what you can do.
Anyway, as netstandard2.0 is supported (via .net 4.6.2 still being in the live lifecycle), I will restore the multi-target to fix the issue you and maybe others could have.
from qlnet.
Well that makes sense, and I learnt something, thanks.
from qlnet.
Related Issues (20)
- [REFACTO] Generalized Leg
- [BUG] GetHashCode of Date class - absent implementation HOT 1
- [BUG] Optimization method based on line search may return function value that does not correspond to current value HOT 2
- [FEATURE] Cleanup Project solution HOT 5
- [BUG] Missing bank holidays in calendar for Denmark
- Question: is it possible to use QLNet for generic MC pricing? HOT 2
- Thread aware calculation of LazyObject HOT 5
- [BUG] False exception cause bootstrap failed because ts_.instruments_.Sort() does not work in Class:Iterativebootstrap, Method:initialize() HOT 1
- Use dotnet format instead of astyle HOT 1
- [BUG] Error in ActualActualISMA daycounter for long/short final periods HOT 5
- Question: Discrepancy between holidays in QLNet and QuantLib 1.21
- Fix .NET 7 compilation warnings
- [BUG] HOT 2
- Update Callable bonds with tests
- Add Bond Equivalent Yield calculation
- Add Compounded Then Simple calculation
- Determine early close date for US bond market calendar
- Update to .NET 8 HOT 3
- Update and refactor Asian engines
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 qlnet.