diff --git a/build-tools/create-vsix/create-vsix.csproj b/build-tools/create-vsix/create-vsix.csproj
index 57869f2496a..dfbcd97eec2 100644
--- a/build-tools/create-vsix/create-vsix.csproj
+++ b/build-tools/create-vsix/create-vsix.csproj
@@ -7,7 +7,7 @@
{94756FEB-1F64-411D-A18E-81B5158F776A}
Library
Xamarin.Android.Sdk
- Xamarin.Android.Sdk
+ Xamarin.Android.Sdk-OSS
v4.6
False
False
diff --git a/build-tools/create-vsix/create-vsix.targets b/build-tools/create-vsix/create-vsix.targets
index 97c476fda3c..e7159c0bac1 100644
--- a/build-tools/create-vsix/create-vsix.targets
+++ b/build-tools/create-vsix/create-vsix.targets
@@ -1,9 +1,6 @@
-
-
-
-
+
@@ -81,7 +78,7 @@
$(ProductVersion).$(_XACommitCount)
@@ -94,57 +91,34 @@
false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Replacements="@PACKAGE_VERSION@=$(ProductVersion);@PACKAGE_VERSION_BUILD@=$(XAVersionCommitCount);@PACKAGE_HEAD_REV@=$(XAVersionHash);@PACKAGE_HEAD_BRANCH@=$(XAVersionBranch)">
-
+
- <_Branch>$(_XABranch.Replace ('/', '-'))
+ <_Branch>$(XAVersionBranch.Replace ('/', '-'))
<_Branch>$(_Branch.Replace ('\', '-'))
+
+ ..\..\bin\Build$(Configuration)\$(AssemblyName)-$(ProductVersion).$(XAVersionCommitCount)_$(XAVersionBranch)_$(XAVersionHash).vsix
+
+
+
diff --git a/build-tools/scripts/BuildEverything.mk b/build-tools/scripts/BuildEverything.mk
index ad2e642955c..a7bfc61b598 100644
--- a/build-tools/scripts/BuildEverything.mk
+++ b/build-tools/scripts/BuildEverything.mk
@@ -130,7 +130,14 @@ _BUNDLE_ZIPS_EXCLUDE = \
create-vsix:
$(foreach conf, $(CONFIGURATIONS), \
- MONO_IOMAP=all MONO_OPTIONS=--arch=64 msbuild $(MSBUILD_FLAGS) build-tools/create-vsix/create-vsix.csproj /p:Configuration=$(conf) /p:CreateVsixContainer=True ; )
+ MONO_IOMAP=all MONO_OPTIONS=--arch=64 msbuild $(MSBUILD_FLAGS) /p:Configuration=$(conf) /p:CreateVsixContainer=True \
+ build-tools/create-vsix/create-vsix.csproj \
+ $(if $(VSIX),"/p:VsixPath=$(VSIX)") \
+ $(if $(PRODUCT_COMPONENT),/p:IsProductComponent="$(PRODUCT_COMPONENT)") \
+ $(if $(PACKAGE_VERSION),/p:ProductVersion="$(PACKAGE_VERSION)") \
+ $(if $(PACKAGE_HEAD_BRANCH),/p:XAVersionBranch="$(PACKAGE_HEAD_BRANCH)") \
+ $(if $(PACKAGE_VERSION_REV),/p:XAVersionCommitCount="$(PACKAGE_VERSION_REV)") \
+ $(if $(COMMIT),/p:XAVersionHash="$(COMMIT)") ; )
package-oss-name:
@echo ZIP_OUTPUT=$(ZIP_OUTPUT)