-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add Converters property to directory props to build converters from source for sample app #152
Conversation
@Arlodotexe I think the crux of the errors is this one maybe?
I think it's getting tripped up by a uap target, but I don't understand why this is different than anything else we've done. It has to be something with the reference to the Converters project directly by the sample app? And this causing an issue on Uno/Linux with the build? |
After installing the .NET 7 SDK in Codespaces (see #153), I can repro the build issue trying to run the sample app in Codespaces. Looks like the same message. |
I tried to limit the TargetFrameworks using |
Thanks @michael-hawker, found and fixed an issue with the We'll need this tooling fix, and we'll need to adjust our CI in this repo to run When we've resolved that, we'll hit this error instead:
|
@Arlodotexe we don't do the TargetFrameworks ps1 call in the tooling submodule repo (where it builds fine), do we think we should be doing that here? (will try it though) |
1536a7e
to
5c30846
Compare
Edit: NVM - Apparently submodule wasn't updated all the way for some reason, repushed... |
Looks like it's outputting something for the converters here:
So they should be building. But not sure why it can't find the converter in there. |
065b122
to
8d3a62c
Compare
Rolling back a tiny bit on the submodule pointer to not include the new titlebar stuff, as that's adding even more issues I think? |
Found and fixed this one issue: 039638c Though I'm still not sure why it's failing to build the samples 🤔. Removing the |
Seeing this in the logs:
That shouldn't be affecting our ability to build individual sample projects, though. Something going on with the dependency? |
Did a binary search on the git history to find where this started. The issue would have been showing earlier if not for the bug we eventually fixed in this PR. The tfms just weren't getting enabled in CI because of this bug. I fixed it that commit, then it uncovered this issue we're having. I continued rewinding git in a binary search and manually applied the fix over it as I went to find where the problem was introduced. This issue stops if you rewind before this PR and manually apply the bugfix linked above, meaning that PR is the cause of the issue. From that PR:
Well... the Roslyn ticket I linked was for .NET Core. We're still on xamarin for MacOS. We have a NET 7 branch ready to go, but we aren't ready to commit to dropping Xamarin just yet (maybe soon?). For now, we'll just remove this ProjectReference on MacOS. |
039638c
to
3eb8ffa
Compare
Rebased on |
Will update and see what happens after #160 has cleaned-up the tooling submodule |
3eb8ffa
to
ab52f99
Compare
@Arlodotexe updated on top of #160, just has the change to the build to only build for |
ab52f99
to
d337445
Compare
Right without the TFM change we were getting this original error:
|
@nickrandolph said we should be on MSBuild.Sdk.Extras 3.0.44 so trying an update to that as well. |
Not sure why GitHub isn't picking up the latest commit to run suddenly... going to try closing and re-opening |
2e14ed6
to
d47a033
Compare
We should merge in CommunityToolkit/Tooling-Windows-Submodule#118 and then update this pointer for that before merging just to keep things clean, but otherwise we should be all set now... At least we've confirmed exactly what the issue was and that it's an issue in the underlying dotnet tooling on linux. |
Update tooling submodule pointer to `main`
d47a033
to
6a4ae3e
Compare
Cleaned-up this PR, tooling pointing to main with fix from 118, so we should be good to go here. FYI @Arlodotexe |
Didn't add explicit comment here, but end reason for failure on linux was duplicated ProjectReference between app head and the generated includes, this worked fine on windows, but there appears to be bug with that scenario on linux (or at least Ubuntu) with the tooling, see: dotnet/msbuild#2688 |
Separating out from #138
Follow-on from CommunityToolkit/Tooling-Windows-Submodule#99
138 isn't building in linux for some reason related to converters, but everything works fine locally. Figured would try splitting this out first to see if that changes anything.