-
Notifications
You must be signed in to change notification settings - Fork 586
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
[Ready] Provide full fidelity of build options in Xamarin helpers #1702
[Ready] Provide full fidelity of build options in Xamarin helpers #1702
Conversation
To be usable in the new FAKE 5 the module needs to be ported to netcore. We have documentation around this here. Let me know if you need help there. |
@matthid yeah, I'm struggling with the netcore migration a bit. I don't really know F#, so it's likely something simple. If you could take a look, that would be 💯 Basically, I followed the guidance as best I could, but there are two things I couldn't complete:
|
I think the only thing missing is to add the new module to the netcore solution file and to make it compile. Otherwise it looks good. Marking as Obsolete just means adding |
@matthid making some progress on this, but confused why the netcore project files are multitargeting both NS1.6 and NS2.0. Shouldn't it just be one or the other? 1.6 is causing me headaches because the existing code uses |
Yes having only netstandard20 is fine. We have netstandard16 because once we had that we didn't throw it away and another goal of FAKE 5 is to make the modules available in regular code more easily (so it makes sense for modules to support more frameworks than fake5 needs). Also feel free to extend the contribution guide with that fact as others might come across similar situations as well. |
Agreed, targeting lowest netstandard possible makes sense, but targeting multiple does not. By virtue of building for 1.6, the library can be consumed on a 2.0 platform. Anyway, I've removed 1.6 from the Xamarin project. Hoping this build currently in progress is a winner. |
In theory you are correct in practice having 20 in addition can lower the number or required dependencies for the consuming project... |
@matthid er, hmm, travis build failed but doesn't appear related to my changes....? |
bbbe0f5
to
93bb007
Compare
I tried to force a rebuild, but it has failed just the same. Maybe it is something I've done....? |
I have seen similar errors when the fake-netcore.sln file is invalid. Did you edit via 'dotnet sln fake-netcore.sln add newproj.fsproj' or by hand? |
I did it with VS. I'll review the file changes ASAP. |
💥 Hopefully all good now, @matthid |
This PR adds full fidelity of build options to the Xamarin helpers. In other words, any relevant options available in
MSBuildParams
are now available in bothiOSBuildParams
andAndroidBuildParams
. As an example of why this is useful, I am trying to use binary loggers for all my build pipelines, including Android and iOS builds. This will allow me to do so.