-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
added a documentation for webrequest #291
added a documentation for webrequest #291
Conversation
Thanks! It looks good.
Yes, please. |
Will take a look at the identation this evening. |
@SergejDK You can add this sample in the AllControls sample directly I think. |
Ok, should not be a Problem. |
MacOs, iOS and GTK need to be tested. |
On Mac, iOs and GTK I get:
@TimLariviere do you know why? |
Did not change anything, now it works on iOS, macOS and GTK. |
@SergejDK Yes, I saw this one when I tested the macOS node of AllControls. I'll take a look later to see if I can find why you were having an error with FSharpValueOption. |
The issue with the nullreference is in XF itself. |
The Travis build fails because it can not download fsharp data into the Android project. Any ideas ? |
Yes, the samples don't use NuGet/packages.config. This is kinda counter-intuitive. For example: FSharp.Core in Android So, to add FSharp.Data for Android, you can add a line in the group Also remove the unused packages.config. |
Thanks! |
<Reference Include="FSharp.Core"> | ||
<HintPath>../../../packages/androidapp/FSharp.Core/lib/netstandard1.6/FSharp.Core.dll</HintPath> | ||
</Reference> | ||
<Reference Include="FSharp.Data"> | ||
<HintPath>../../../packages/androidapp/FSharp.Data.3.0.0/lib/netstandard2.0/FSharp.Data.dll</HintPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Paket doesn't add the version number in the path
<HintPath>../../../packages/androidapp/FSharp.Data.3.0.0/lib/netstandard2.0/FSharp.Data.dll</HintPath> | |
<HintPath>../../../packages/androidapp/FSharp.Data/lib/netstandard2.0/FSharp.Data.dll</HintPath> |
@@ -78,6 +78,7 @@ | |||
<AndroidResource Include="Resources\drawable-xhdpi\icon.png" /> | |||
<AndroidResource Include="Resources\drawable-xxhdpi\icon.png" /> | |||
<None Include="Assets\AboutAssets.txt" /> | |||
<Content Include="packages.config" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this line and the associated file (if still there)? Thanks
@@ -8,6 +8,7 @@ | |||
<EmbeddedResource Include="Baboon_Serengeti.jpg" /> | |||
<EmbeddedResource Include="styles.css" /> | |||
<PackageReference Include="FSharp.Core" /> | |||
<PackageReference Include="FSharp.Data" Version="3.0.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Versioning is centralized in the Packages.targets
file at the root of the repository.
In this file, you only need to include the package (without version)
Then in the Packages.targets
, you can add the version, just like the other packages.
<PackageReference Include="FSharp.Data" Version="3.0.0" /> | |
<PackageReference Include="FSharp.Data" /> |
learned a lot ! Thank you 👍 |
@SergejDK The sample works great! |
Thank you. I'm merging it now. |
This is a fantastic addition to the docs |
Documentation for making a webrequest is added in the documentation.
Is there a need for the example application?
fix #66