-
Notifications
You must be signed in to change notification settings - Fork 542
Update Xamarin.Messaging and renamed Xamarin paths #22803
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
base: main
Are you sure you want to change the base?
Changes from all commits
e95449c
85be1fb
d15a40f
2a6bd9f
aae304d
57bfacb
2fa0656
8d6b95f
adefc6b
49d35fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,16 @@ Copyright (C) 2011-2013 Xamarin. All rights reserved. | |
DependsOnTargets="_SayHello" | ||
BeforeTargets="_CleanDebugSymbols;_CleanAppBundle;_DetectAppManifest;_DetectSdkLocations;_GenerateBundleName" /> | ||
|
||
<!-- Default context path values for remote builds --> | ||
<!-- When building from VS, these values will be passed directly from the IDE --> | ||
<Target Name="EnsureMessagingContext" BeforeTargets="_SayHello"> | ||
<PropertyGroup> | ||
<BasePath Condition="'$(BasePath)' == ''">~/Library/Caches/maui/PairToMac</BasePath> | ||
<LogsPath Condition="'$(LogsPath)' == ''">~/Library/Logs</LogsPath> | ||
<LocalBasePath Condition="'$(LocalBasePath)' == ''">%LOCALAPPDATA%\maui\iOS\PairToMac</LocalBasePath> | ||
Comment on lines
+35
to
+37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where are these values read/used? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the Messaging libraries, but we don't want to hardcode values in Messaging, so we set them from either those targets or from VS. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does that code handle expanding |
||
</PropertyGroup> | ||
</Target> | ||
|
||
<PropertyGroup> | ||
<CreateAppBundleDependsOn> | ||
GetBundleResourceWithLogicalNameItems; | ||
|
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.
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.
Note that in the
path.Contains (dotnetPacksIdentifier)
I'm looking for "dotnet/packs", whereas in thepath.Substring (path.IndexOf (packsIdentifier))
I'm using just "packs". That's why I have two variables, dotnetPacksIdentifier and packsIdentifier.I did this to be more sure that a given pack is indeed a dotnet pack. It felt safer to look for "dotnet/packs" in the path instead for just "packs".
Do you think that just looking for "packs" is safer enough?
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.
Ah, I see, my issue was mostly that culture-aware comparisons aren't necessary, so this instead then: