Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit a03ad30

Browse files
committed
Fix path to nuget contents for #8
Building with nuget on mac is very picky about the paths in .nuspec files. Awhile back we updated all the paths to remove the `./` leading specifier however it looks like the custom msbuild task and associated .targets file were missed in this cleanup. This caused the files to be omitted from the nuget packaging step, even though nuget doesn't seem to want to throw an error when this happens. This should fix the issue. This also bumps the nuget/component versions to release the fix.
1 parent cca7c9c commit a03ad30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
var TARGET = Argument ("t", Argument ("target", "Default"));
1010

11-
var NUGET_VERSION = "23.4.0";
12-
var COMPONENT_VERSION = "23.4.0";
11+
var NUGET_VERSION = "23.4.0.1";
12+
var COMPONENT_VERSION = "23.4.0.1";
1313
var AAR_VERSION = "23.4.0";
1414

1515
// FROM: https://dl.google.com/android/repository/addon.xml

vector-drawable/nuget/Xamarin.Android.Support.Vector.Drawable.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
</metadata>
1919
<files>
2020
<!-- Include .targets file to setup AndroidResGenExtraArgs property to add -no-version-vectors to the aapt.exe call -->
21-
<file src="./vector-drawable/buildtask/bin/Release/Xamarin.Android.Support.Vector.Drawable.targets" target="build" />
22-
<file src="./vector-drawable/buildtask/bin/Release/Xamarin.Android.Support.Tasks.VectorDrawable.dll" target="build" />
21+
<file src="vector-drawable/buildtask/bin/Release/Xamarin.Android.Support.Vector.Drawable.targets" target="build" />
22+
<file src="vector-drawable/buildtask/bin/Release/Xamarin.Android.Support.Tasks.VectorDrawable.dll" target="build" />
2323

2424
<file src="output/Xamarin.Android.Support.Vector.Drawable.dll" target="lib/MonoAndroid403" />
2525
</files>

0 commit comments

Comments
 (0)