[msbuild] Make MessagingVersion overridable from the environment.

This makes it easier to consume a locally built version of Xamarin.Messaging
when build and testing locally.
This commit is contained in:
Rolf Bjarne Kvinge 2024-10-02 15:34:31 +02:00
Родитель 34d1fca7f6
Коммит 5c70c26274
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -10,8 +10,12 @@
interesting ways. So in order to get the exact version, they're interesting ways. So in order to get the exact version, they're
enclosed in brackets. enclosed in brackets.
Lists of versions can be found here:
https://dev.azure.com/azure-public/vside/_artifacts/feed/xamarin-impl/NuGet/Xamarin.Messaging.Client/
--> -->
<MessagingVersion>[2.1.15]</MessagingVersion> <MessagingVersion Condition="'$(MessagingVersion)' == ''">[2.1.15]</MessagingVersion>
<HotRestartVersion>[1.1.7]</HotRestartVersion> <HotRestartVersion>[1.1.7]</HotRestartVersion>
</PropertyGroup> </PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)../Directory.Build.props" /> <Import Project="$(MSBuildThisFileDirectory)../Directory.Build.props" />