-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building libraries in pre netstandard-2.0 configurations #1919
Comments
That is expected becuase we always build our ref libraries for i think there is no harm in building it, but we can add some conditions to additionalbuildTargetFrameworks to not build if vertical build version is higher. @ViktorHofer ur thoughts ? |
@marek-safar did you try add --restore to the arguments? It could be the case that you just haven't had restored for the older netstandard configurations, hence the references can't be resolved and RAR complains. |
Ideally we would always build all configurations during the build. I would hesitate stepping into the opposite direction. |
I think I run --restore but would have to try again to be sure. I'd expect when we have the |
That's right, if the framework is passed in that only that one should be build except for netstandard2.0 and netstandard2.1 as we depend on refs for those on netcoreapp builds. My statement was about the default build which should build all frameworks/configuration if no option is specified. We aren't there yet as that would slow down the default build too much but we wanna get there. |
I don't think that should be the goal and will be very painful with expanding matrix of platforms and I'd argue for exact opposite. Which is by default build only the single configuration if no extra options are used. |
@Anipik can you please take a look and decide if we work needs to be done here? Thanks |
i will take a look |
When building libraries in pre-netstandard-2.0 configurations for example netstandard1.3
the build fails with following build error (it still builds 2.0 configuration)
Note: this builds successfully but still builds some 2.1 artefacts
The text was updated successfully, but these errors were encountered: