Comments (8)
Mh, but locally it works? Can you show me your build steps and the Build Task in Detail? If I had to point to something, I would say NuGet issues...
from flexbutton.
@robinmanuelthiel Sure, ill be back in the office monday :)
from flexbutton.
@robinmanuelthiel This is the build process in VSTS -
from flexbutton.
Tried to reproduce it but for me it works. Can you please export your build definition shown in the screenshot below, so I can import it into my VSTS account?
from flexbutton.
A customer of mine had a similar issue. Turned out, that he updated the NuGet package from 0.4.0
to 0.5.0
but his Project.Android.csproj
file still referenced the old version.
We changed
<Reference Include="Flex, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Forms.Controls.FlexButton.0.4.0\lib\monoandroid10\Flex.dll</HintPath>
</Reference>
<Reference Include="Flex.Android, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Forms.Controls.FlexButton.0.4.0\lib\monoandroid10\Flex.Android.dll</HintPath>
</Reference>
to
<Reference Include="Flex, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Forms.Controls.FlexButton.0.5.0\lib\monoandroid10\Flex.dll</HintPath>
</Reference>
<Reference Include="Flex.Android, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Forms.Controls.FlexButton.0.5.0\lib\monoandroid10\Flex.Android.dll</HintPath>
</Reference>
and the build worked again. Can you check, if that works for you aswell?
from flexbutton.
{"options":[{"enabled":true,"definition":{"id":"5d58cc01-7c75-450c-be18-a388ddb129ec"},"inputs":{"branchFilters":"[\"+refs/heads/*\"]","additionalFields":"{}"}},{"enabled":false,"definition":{"id":"a9db38f9-9fdc-478c-b0f9-464221e58316"},"inputs":{"workItemType":"2031874","assignToRequestor":"true","additionalFields":"{}"}}],"variables":{"BuildConfiguration":{"value":"Release"},"KeyStore_PWD":{"value":null,"isSecret":true},"system.debug":{"value":"true","allowOverride":true}},"retentionRules":[{"branches":["+refs/heads/*"],"artifacts":[],"artifactTypesToDelete":["FilePath","SymbolStore"],"daysToKeep":10,"minimumToKeep":1,"deleteBuildRecord":true,"deleteTestResults":true}],"properties":{},"tags":[],"metrics":[{"name":"CurrentBuildsInQueue","scope":"refs/heads/master","intValue":0},{"name":"CurrentBuildsInProgress","scope":"refs/heads/master","intValue":0},{"name":"CanceledBuilds","scope":"refs/heads/master","intValue":0,"date":"2018-04-17T00:00:00.000Z"},{"name":"FailedBuilds","scope":"refs/heads/master","intValue":1,"date":"2018-04-17T00:00:00.000Z"},{"name":"PartiallySuccessfulBuilds","scope":"refs/heads/master","intValue":0,"date":"2018-04-17T00:00:00.000Z"},{"name":"SuccessfulBuilds","scope":"refs/heads/master","intValue":1,"date":"2018-04-17T00:00:00.000Z"},{"name":"TotalBuilds","scope":"refs/heads/master","intValue":2,"date":"2018-04-17T00:00:00.000Z"}],"_links":{"self":{"href":"https://cardiffcouncilict.visualstudio.com/cb6a55df-bd0b-4370-8556-8c9a0168b86d/_apis/build/Definitions/12?revision=51"},"web":{"href":"https://cardiffcouncilict.visualstudio.com/_permalink/_build/index?collectionId=d014de0d-6854-478f-9016-157edf6f54de&projectId=cb6a55df-bd0b-4370-8556-8c9a0168b86d&definitionId=12"},"editor":{"href":"https://cardiffcouncilict.visualstudio.com/_permalink/_build/definitionEditor?collectionId=d014de0d-6854-478f-9016-157edf6f54de&projectId=cb6a55df-bd0b-4370-8556-8c9a0168b86d&definitionId=12"}},"buildNumberFormat":"1.1.0$(BuildID)","jobAuthorizationScope":1,"jobTimeoutInMinutes":120,"jobCancelTimeoutInMinutes":5,"process":{"phases":[{"steps":[{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"Version Assemblies","timeoutInMinutes":0,"condition":"succeeded()","refName":"VersionAssemblies1","task":{"id":"5b4d14d0-3868-11e4-a31d-3f0a2d8202f4","versionSpec":"2.*","definitionType":"task"},"inputs":{"sourcePath":"CardiffMobileApp/CardiffMobileApp.Android/Properties","filePattern":"AndroidManifest.xml","versionSource":"buildNumber","customNumberVariable":"myBuildNumber","versionFormat":"custom","customBuildRegex":"(?:\\d+\\.\\d+\\.)(\\d+)","replaceVersionFormat":"custom","customReplaceRegex":"versionCode=\"\\d+","buildRegexIndex":"1","replacePrefix":"versionCode=\"","replacePostfix":"","failIfNoMatchFound":"false"}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"Use NuGet 4.4.1","timeoutInMinutes":0,"condition":"succeeded()","task":{"id":"2c65196a-54fd-4a02-9be8-d9d1837b7c5d","versionSpec":"0.*","definitionType":"task"},"inputs":{"versionSpec":"4.4.1","checkLatest":"false"}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"NuGet restore","timeoutInMinutes":0,"condition":"succeeded()","task":{"id":"333b11bd-d341-40d9-afcf-b32d5ce6f23b","versionSpec":"2.*","definitionType":"task"},"inputs":{"command":"restore","solution":"**/*.sln","selectOrConfig":"select","feedRestore":"","includeNuGetOrg":"true","nugetConfigPath":"","externalEndpoints":"","noCache":"false","packagesDirectory":"","verbosityRestore":"Detailed","searchPatternPush":"$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg","nuGetFeedType":"internal","feedPublish":"","allowPackageConflicts":"false","externalEndpoint":"","verbosityPush":"Detailed","searchPatternPack":"**/*.csproj","configurationToPack":"$(BuildConfiguration)","outputDir":"$(Build.ArtifactStagingDirectory)","versioningScheme":"off","includeReferencedProjects":"false","versionEnvVar":"","requestedMajorVersion":"1","requestedMinorVersion":"0","requestedPatchVersion":"0","packTimezone":"utc","includeSymbols":"false","toolPackage":"false","buildProperties":"","verbosityPack":"Detailed","arguments":""}},{"environment":{},"enabled":false,"continueOnError":true,"alwaysRun":false,"displayName":"NuGet restore **\\*.sln","timeoutInMinutes":0,"condition":"succeeded()","refName":"NuGetCommand2","task":{"id":"333b11bd-d341-40d9-afcf-b32d5ce6f23b","versionSpec":"0.*","definitionType":"task"},"inputs":{"solution":"$(Parameters.restorePkgSolution)","nugetConfigPath":"","restoreMode":"restore","noCache":"false","nuGetRestoreArgs":"","verbosity":"-","nuGetVersion":"4.0.0.2283","nuGetPath":""}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"Build Xamarin.Android Project CardiffMobileApp/CardiffMobileApp.Android/CardiffMobileApp.Android.csproj","timeoutInMinutes":0,"condition":"succeeded()","refName":"XamarinAndroid3","task":{"id":"27edd013-36fd-43aa-96a3-7d73e1e35285","versionSpec":"1.*","definitionType":"task"},"inputs":{"project":"CardiffMobileApp/CardiffMobileApp.Android/CardiffMobileApp.Android.csproj","target":"","outputDir":"$(build.binariesdirectory)/$(BuildConfiguration)","configuration":"$(BuildConfiguration)","createAppPackage":"true","clean":"true","msbuildLocationMethod":"version","msbuildVersion":"15.0","msbuildLocation":"","msbuildArchitecture":"x86","msbuildArguments":"","jdkSelection":"JDKVersion","jdkVersion":"1.8","jdkUserInputPath":"","jdkArchitecture":"x64"}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"Build Unit Test Projects","timeoutInMinutes":0,"condition":"succeeded()","refName":"MSBuild4","task":{"id":"c6c4c611-aa2e-4a33-b606-5eaba2196824","versionSpec":"1.*","definitionType":"task"},"inputs":{"solution":"CardiffMobileApp.Tests/CardiffMobileApp.Tests.csproj","msbuildLocationMethod":"version","msbuildVersion":"latest","msbuildArchitecture":"x86","msbuildLocation":"","platform":"","configuration":"$(BuildConfiguration)","msbuildArguments":"/p:OutputPath=\"$(build.binariesdirectory)/$(BuildConfiguration)/test-assembly\"","clean":"false","maximumCpuCount":"false","restoreNugetPackages":"false","logProjectEvents":"false","createLogFile":"false"}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"Build UI Test Projects","timeoutInMinutes":0,"condition":"succeeded()","refName":"ClonedMSBuild41","task":{"id":"c6c4c611-aa2e-4a33-b606-5eaba2196824","versionSpec":"1.*","definitionType":"task"},"inputs":{"solution":"CardiffMobileApp.UITest/CardiffMobileApp.UITest.csproj","msbuildLocationMethod":"version","msbuildVersion":"latest","msbuildArchitecture":"x86","msbuildLocation":"","platform":"","configuration":"$(BuildConfiguration)","msbuildArguments":"/p:OutputPath=\"$(build.binariesdirectory)/$(BuildConfiguration)/test-assembly\"","clean":"false","maximumCpuCount":"false","restoreNugetPackages":"false","logProjectEvents":"false","createLogFile":"false"}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"Signing and aligning APK file(s) $(build.binariesdirectory)/$(BuildConfiguration)/*.apk","timeoutInMinutes":0,"condition":"succeeded()","refName":"AndroidSigning6","task":{"id":"80f3f6a0-82a6-4a22-ba7a-e5b8c541b9b9","versionSpec":"1.*","definitionType":"task"},"inputs":{"files":"$(Parameters.appFiles)","jarsign":"true","keystoreFile":"CardiffMobileApp/CardiffMobileApp.Android/MyCardiffKeyStore.keystore","keystorePass":"$(KeyStore_PWD)","keystoreAlias":"MyCardiffKeyStore","keyPass":"$(KeyStore_PWD)","jarsignerArguments":"-verbose -sigalg MD5withRSA -digestalg SHA1","zipalign":"true","zipalignLocation":""}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":false,"displayName":"Unit Tests","timeoutInMinutes":0,"condition":"succeeded()","refName":"VSTest8","task":{"id":"ef087383-ee5e-42c7-9a53-ab56c98420f9","versionSpec":"2.*","definitionType":"task"},"inputs":{"testSelector":"testAssemblies","testAssemblyVer2":"**\\*unittest*.dll\n!**\\obj\\**","testPlan":"","testSuite":"","testConfiguration":"","tcmTestRun":"$(test.RunId)","searchFolder":"$(build.binariesdirectory)/$(BuildConfiguration)/test-assembly","testFiltercriteria":"","runOnlyImpactedTests":"False","runAllTestsAfterXBuilds":"50","uiTests":"true","vstestLocationMethod":"version","vsTestVersion":"latest","vstestLocation":"","runSettingsFile":"","overrideTestrunParameters":"","pathtoCustomTestAdapters":"","runInParallel":"False","runTestsInIsolation":"False","codeCoverageEnabled":"False","otherConsoleOptions":"","distributionBatchType":"basedOnTestCases","batchingBasedOnAgentsOption":"autoBatchSize","customBatchSizeValue":"10","batchingBasedOnExecutionTimeOption":"autoBatchSize","customRunTimePerBatchValue":"60","dontDistribute":"False","testRunTitle":"","platform":"","configuration":"","publishRunAttachments":"true","rerunFailedTests":"False","rerunType":"basedOnTestFailurePercentage","rerunFailedThreshold":"30","rerunFailedTestCasesMaxLimit":"5","rerunMaxAttempts":"3"}},{"environment":{},"enabled":false,"continueOnError":false,"alwaysRun":false,"displayName":"Xamarin Test Cloud","timeoutInMinutes":0,"condition":"succeeded()","refName":"XamarinTestCloud8","task":{"id":"049918cb-1488-48eb-85e8-c318eccaaa74","versionSpec":"1.*","definitionType":"task"},"inputs":{"app":"$(build.binariesdirectory)/$(BuildConfiguration)/*.apk","dsym":"","teamApiKey":"733bef6d73a4297ea96ce5c2a573ad88","user":"[email protected]","devices":"1a0a2077","series":"master","testDir":"$(build.binariesdirectory)/$(BuildConfiguration)/test-assembly","parallelization":"none","locale":"en_US","userDefinedLocale":"","testCloudLocation":"**/packages/**/tools/test-cloud.exe","optionalArgs":"","publishNUnitResults":"true"}},{"environment":{},"enabled":false,"continueOnError":false,"alwaysRun":false,"displayName":"Test with Visual Studio App Center","timeoutInMinutes":0,"condition":"succeeded()","task":{"id":"ad5cd22a-be4e-48bb-adce-181a32432da5","versionSpec":"1.*","definitionType":"task"},"inputs":{"app":"$(build.binariesdirectory)/$(BuildConfiguration)/*.apk","artifactsDir":"AppCenterTest","enablePrepare":"true","framework":"uitest","appiumBuildDir":"","espressoBuildDir":"","espressoTestApkPath":"","calabashProjectDir":"","calabashConfigFile":"","calabashProfile":"","calabashSkipConfigCheck":"false","uitestBuildDir":"$(build.binariesdirectory)/$(BuildConfiguration)/test-assembly","uitestStoreFile":"","uitestStorePass":"","uitestKeyAlias":"","uitestKeyPass":"","uitestToolsDir":"$(Build.Repository.LocalPath)/packages/Xamarin.UITest.2.2.2/tools/","signInfo":"","xcuitestBuildDir":"","xcuitestTestIpaPath":"","prepareOpts":"","enableRun":"true","credsType":"serviceEndpoint","serverEndpoint":"9e3cf4c4-4598-43d1-98a9-524cf6e4f43e","username":"","password":"","appSlug":"Cardiff-Council/MyCardiff_Android","devices":"41b2cec3","series":"master","dsymDir":"","locale":"en_US","userDefinedLocale":"","loginOpts":"","runOpts":"","async":"false","cliLocationOverride":"","debug":"false"}},{"environment":{},"enabled":true,"continueOnError":false,"alwaysRun":true,"displayName":"Publish Artifact: drop","timeoutInMinutes":0,"condition":"succeededOrFailed()","refName":"PublishBuildArtifacts7","task":{"id":"2ff763a7-ce83-4e1f-bc89-0ae63477cebe","versionSpec":"1.*","definitionType":"task"},"inputs":{"PathtoPublish":"$(build.binariesdirectory)/$(BuildConfiguration)","ArtifactName":"drop","ArtifactType":"Container","TargetPath":"\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)","Parallel":"false","ParallelCount":"8"}}],"name":"Phase 1","refName":"Phase_1","condition":"succeeded()","target":{"executionOptions":{"type":0},"allowScriptsAuthAccessOption":false,"type":1},"jobAuthorizationScope":"projectCollection","jobCancelTimeoutInMinutes":1}],"type":1},"repository":{"properties":{"cleanOptions":"0","labelSources":"0","labelSourcesFormat":"$(build.buildNumber)","reportBuildStatus":"true","gitLfsSupport":"false","skipSyncSource":"false","checkoutNestedSubmodules":"false","fetchDepth":"0"},"id":"03ade363-d0a9-43c3-a6d3-43d1f70b8253","type":"TfsGit","name":"CardiffMobileApp","url":"https://cardiffcouncilict.visualstudio.com/Cardiff%20App/_git/CardiffMobileApp","defaultBranch":"refs/heads/master","clean":"false","checkoutSubmodules":false},"processParameters":{"inputs":[{"aliases":[],"options":{},"properties":{},"name":"restorePkgSolution","label":"Solution to restore packages","defaultValue":"**\\*.sln","required":true,"type":"filePath","helpMarkDown":"The path to the Visual Studio Solution file"},{"aliases":[],"options":{},"properties":{},"name":"appFiles","label":"App File","defaultValue":"$(build.binariesdirectory)/$(BuildConfiguration)/*.apk","required":true,"type":"filePath","helpMarkDown":"Relative path from repo root of the files(s). Wildcards can be used. For example,
**\\bin\\*.apk for all APK files in bin subfolder."}]},"quality":1,"authoredBy":{"displayName":"Coates, Sarah","url":"https://app.vssps.visualstudio.com/Ac9917343-ebb7-47c8-9578-506f8c0d5060/_apis/Identities/c186e31d-a8cf-4add-8e34-2b5574a54db3","_links":{"avatar":{"href":""}},"id":"c186e31d-a8cf-4add-8e34-2b5574a54db3","uniqueName":"[email protected]","imageUrl":"https://cardiffcouncilict.visualstudio.com/_api/_common/identityImage?id=c186e31d-a8cf-4add-8e34-2b5574a54db3","descriptor":"aad.ZTY5YzFkYjgtM2I1Ni03YzFlLWI4NmQtN2M3NjE5NGJlZDMy"},"drafts":[],"queue":{"_links":{"self":{"href":"https://cardiffcouncilict.visualstudio.com/_apis/build/Queues/8"}},"id":8,"name":"Hosted VS2017","url":"https://cardiffcouncilict.visualstudio.com/_apis/build/Queues/8","pool":{"id":4,"name":"Hosted VS2017","isHosted":true}},"id":12,"name":"MyCardiff.Android-CI","url":"https://cardiffcouncilict.visualstudio.com/cb6a55df-bd0b-4370-8556-8c9a0168b86d/_apis/build/Definitions/12?revision=51","uri":"vstfs:///Build/Definition/12","path":"\\","type":2,"queueStatus":0,"revision":51,"createdDate":"2018-03-27T11:18:31.670Z","project":{"id":"cb6a55df-bd0b-4370-8556-8c9a0168b86d","name":"Cardiff App","description":"Project for the Cardiff App","url":"https://cardiffcouncilict.visualstudio.com/_apis/projects/cb6a55df-bd0b-4370-8556-8c9a0168b86d","state":"wellFormed","revision":165,"visibility":0}}
from flexbutton.
Build looks good. This should be fixed with #20 (comment)
from flexbutton.
@robinmanuelthiel ahh thanks for that I'll give it a go.
from flexbutton.
Related Issues (20)
- Image stays dark after pressed HOT 3
- Setting Icon throwing System.NullReferenceException: Object reference not set to an instance of an object. HOT 2
- NullReferenceException when using global Style HOT 3
- Support Multiple parameters for CornerRadius
- Please update to Xamarin.Forms 4
- Not working on Xamarin.Forms 4.0.0 HOT 2
- Icon Crashing on Xamarin.Forms 4.0.0 HOT 6
- not fire ClickedCommand or TouchedUpCommand HOT 2
- FlexButton won't work on iOS when using it on Xamarin Forms Project HOT 4
- A few suggestions HOT 4
- 【bug】focus status changed when clicked the flexbutton HOT 2
- IconOrientation.Top don't work in button from NuGet HOT 2
- [Android] TouchedDownCommand NullReferenceException HOT 1
- Buttons don't center in Grid HOT 1
- Feature request: Property to change icon size
- SVG Icon's doesn't work
- CornerRadius not working in Xamarin.iOS current versions (somewhat workaround inside) HOT 2
- Click event is called repeatedly when using flexbutton inside a TitleView HOT 1
- AndroidX Support HOT 1
- Rounded Corners on IOS not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexbutton.