-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Please add instructions for updating docs and creating Nuget files #2960
Comments
I would really love to see some documentation on how you generate the docs too!
@adrianknight89 have you read this blog post from @davidortinau? https://blog.xamarin.com/building-xamarin-forms-nuget/
Just got stuck with this again today! Do you guys (Xamarin team) also struggle with this a lot or do you have an easy fix for us? I will also share what I found out today, maybe it will help you with the Xamarin.Forms.Build.Tasks.csproj has a target named |
@bruzkovsky Thanks for that link. I hadn't seen it before! I think it does have some instructions regarding docs. I'll go over that post tonight. Still, I'd say this issue is still valid as it should be easier for us to find information. Sometimes, it's difficult to jump from URL to URL without getting lost somewhere. Also, we need how-tos on handling compilation issues. P.S. I'll try running git clean. :) |
I am totally with you! |
More info on
|
@davidortinau I was reading the Nuget blog of yours. Also, I believe |
I'd also like to know this |
FYI. Looks like updating docs is no longer necessary according to @samhouts as that process is now handled by a separate team. I'll keep this ticket open since there is discussion (and work to be done) on other things. |
I just created this PR AFAICT the issue with FixXFCoreAssembly is an msbuild quirk For some reason the msbuild engine determines that it doesn't need to generate the Xamarin.Forms.Core.dll which then causes the FixXFCoreAssembly to fail |
@PureWeen Thanks for fixing that particular issue. :) |
We do not use I create this bat file for myself to simplify the testing of customer reproductions. I checked it in because it's generally useful. I update it as I discover it's out of date. And as it's not the official nuget generation script it will often be out of date. I'll suffix it with a |
We use these open-source tools – mdoc and docfx for our API Documentation (along with some proprietary CI stuff, that enables localization and load-balancing, etc and a custom template for the docs.microsoft.com "look"). The script that turns the docs into Intellisense is already visible in the Xamarin.Forms repo.
Currently the API docs are not open-source so I don't have anything immediate to share... however we are well along in the process of making this available, at which point we'll include some contribution guidelines. |
There is some instruction overlap on Readme.md, Contributing.md, and https://blog.xamarin.com/beginners-guide-contributing-xamarin-forms/ which can be removed. Would love to see an update to these files to remove repetitive information such as not using the
private
modifier for local fields and methods.Also, please add instructions for updating docs when a new API is added or an existing one is updated.
It'd also be nice to know how you're generating Nuget files so that we could make them locally for testing purposes. Sometimes, it's difficult to use the Gallery app when it keeps crashing because of the way the landing page is structured. (For example, switching to TabbedPage format and pushing pages on the stack crashes).
Finally, building the solution and/or individual projects in VS 2017 sometimes creates compilation errors especially with respect to
XamlGTask
,XamlCTask
,FixXFCoreAssembly
, etc.. What are some things the team is doing to fix them? Would like to see instructions around this also.The text was updated successfully, but these errors were encountered: