How to connect to tfs from VSCode 1.17 - tfs

I have tried to connect to TFS on my VSCode 1.17.2 by installing Visual studio team services.
Please help me to solve the problem

I test the latest VS Code Version 1.22.2 and everything works as expected.
There is a thread talking about the issue here : https://github.com/Microsoft/vsts-vscode/issues/245
It seems an environment issue based on BrianFarnhill's conclusion:
So based on that I've come to the conclusion that the issue I have
here is nothing related to you guys or your extension, but something
to do with this environment for my customer and it impacting on all
extensions.
So, you can try to troubleshoot the issue based on the discussion in that thread.
If that still not work, you can download the latest VS Code Version 1.22.2, then configure it following the guide here, then check if it works for you.
You can also reference my answer in another thread to do that.

Related

Old Version of Newtonsoft.JSon being Used in Docker

I have an application where I have removed my references to the Newtonsoft.Json library and used instead Swashbuckle.ASpNetCore.Newtonsoft version 6.1.4. When I run this locally everything works great. Swagger loads, I am able to query my API with no issues and the world is a nice place. I deploy this code to an Azure Server in Docker and where everything there was working great before, now I have problems. Swagger will not load and my API doesn't work at all, because the application doesn't even start. It would appear that something, somewhere is looking for Newtonsoft.Json version 12.0.0.0 because this is the error I get in the logs.
Any ideas would be greatly appreciated.
In case anyone else has this issue in the future, here is the solution in my case. The Coverlet NuGet package was causing this error. I removed the package and the problem went away.

Uno Platform - xamarin No Virtual method getTargetState()

I recently updated Visual Studio 2019 to 16.9. When it updated- there was a message indicating that the Android SDK was updated. When I go to run the IOS version of my Uno Project- it runs fine. However- when I go to run it on the Android version- I have had a few issues. At first it would not compile- but after doing some web searches I found I needed to reenable AAPT. I am now able to compile it- but I get an exception when I run the app on my android device. It says no virtual method getTargetState()- and then lists the library as the picture shows. I checked Nuget for any package updates and applied them- but still have the same error. It is showing a method missing- that presumably was there earlier. I am not sure how to resolve this- so any help would be appreciated.
I started thinking about what Leo Zhu said above and it made me think- there was no update to the package mentioned. Maybe there was a breaking change in the package that was installed? So- I downgraded it to 2.2.0.3- and it is working again. One point to make is I was using the latest alpha release- so a breaking change is not surprising. I hope this helps someone else that encounters this issue or a similar issue.

Smartface Creating an iOS plugin

I've installed the CLI tools.
Now what do you do in order to make a plugin.
I've tried looking at the guides however I can't figure out exactly what to do?
I'm also puzzled as to where you create the plugin whether It's on The Command Prompt or Node.js or the Smartface Studio itself.
To create a plugin, you need native environment from the system. In your case, XCode.
My reccomendation to learn plugins is this tutorial by Smartface Team: https://www.smartface.io/developer/guides/plugins/hello-world-with-ios-plugin/
This is the most basic plugin you could write, but it still shows the fundamentals of plugin writing for Smartface.
P.S. You will need a Mac to develop iOS plugins (just to be sure that you know that).
Hope that helps! :)
EDIT
I was revisiting this question and I realized that I was very vague...
To answer your question, you have to develop your plugin in Native Environment (as I said), and when you build it's package, you have to put it in the same directory of the other files you'll need (PluginConfig and all of that), and run, in command prompt, the command to make the output.zip file.
Now it's better :)

Can't update calabash server version

Having a problem updating the Calabash server version.
The problem is that I can run basic tests that check for elements... However, once I try to "touch" buttons calabash returns
RuntimeError: Could not parse response ''; the app has probably crashed
The origin of the problem, I believe, is that my server version is old/incompatible. Not rocket science:
WARN: The server version is not compatible with gem version. Please
update your server.
https://github.com/calabash/calabash-ios/wiki/B1-Updating-your-Calabash-iOS-version
gem version: '0.14.3'
min server version: '0.14.3'
server version: '0.9.169'
The link is outdated, but I followed all steps in https://github.com/calabash/calabash-ios/wiki/Updating-your-Calabash-iOS-version many times.
And still when I check the version it is 0.9.169
irb(main):006:0> server_version['version']
"0.9.169"
Any help would be greatly appreciated!
Thanks
Finally solved it!
It turns out that it all had to do with the calabash component in my Xamarin project.
When I first started experimenting with tests few month ago I added the calabash component (image below)
When I started adding some more tests now, I still had the same component. This component is up to date as far as I can tell. I then tried to remove it and add it again but I could no longer find it.
Turns out that now it is called "Xamarin Test Cloud Agent". I installed that component and DONE.
Hope this helps anyone.

Where is Worklight-Ant.jar?

I've seen some documentation saying it was possible to use ant tasks to generate worklight builds.
That documentation tells me that to use that feature I must find a worklight-ant.jar.
That is my problem, I don't find that jar anywhere. Not on my worklight studio installation nor in my (another) worklight server running on a WAS Liberty profile.
I've found on that server something close, I've found a worklight-ant-builder.jar and a worklight-ant-deployer.jar.
Unfortunately that doesn't have some classes required for the build, like com.ibm.team.build.ant.task.ArtifactFilePublisherTask.
Another good point was that I've found on my server the applicationcenterdeploytool.jar: from /ApplicationCenter/tools and the json4j.jar from /ApplicationCenter/tools.
I'm using WL6.2.
What am I missing? Can anyone help me please?
worklight-ant.jar is now delivered as part of the Worklight CLI installation. Download the CLI here (Download button > CLI):
http://www.ibm.com/developerworks/mobile/worklight
Once the CLI has been installed, you can find the worklight-ant-builder.jar file in the installation directory/public dir. For example, in OSX, the default location is:
/Applications/IBM/Worklight-CLI/public/worklight-ant-builder.jar
Hope this helps.
The documentation I was using at the time of that post was out of date.
The updated documentation is here:
http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.help.doc%2Fdevref%2Fr_ant_tasks_for_building_and_dep.html
On my comments there is a reference for a post that explains the correct way to call the ant to build the worklight.

Resources