The latest AppBuilder Extension for Visual Studio, v2015.3.805.2, seems to be blocked by Windows Defender.
Steps in order to reproduce the problem:
1. Update the extension through Visual Studio
2. Restart Visual Studio and open a previously working solution
3. A dialog appears, stating that the project could not be opened due to an incompatible version
What actually happened in the background is that Windows Defender seems to quarantine the Telerik.BlackDragon.Common.dll, located in the %APPDATA% folder, as it considers it to be a "VirTool:Win32/VBInject" virus infection. See the attached screenshot for more details.
This was reproducible not only on my system, but on a colleagues' as well. Both are running Windows 8.1, and we're running VS2015 and VS2013 respectively.
Current workaround seems to be to restore the quarantined items through Windows Defender and all will work well again. Assuming this is indeed a false positive.
9 Answers, 1 is accepted
Same for me and my colleagues. All running windows 8.1
I tried uninstalling and re Installing, but now the installer wont work for the same reason.
Our IT department can't disabled this, and we don't have permissions, so currently no one can work....
Please accept my apology for the inconvenience this issue is causing in your development process.
I can confirm we identified an issue with Microsoft Security Essentials and Microsoft Windows Defender which are giving false positives about this particular assembly. These antiviruses are locking the Telerik.BlackDragon.Common.dll assembly and thus preventing the load of the AppBuilder extension.
We are already working on a fix but in the meantime I would suggest adding the assembly to the whitelist of the antivirus. This, of course, is just a temporary workaround and we will provide a proper solution as soon as possible.
@Eric - if your system administrators can't whitelist the assembly, until we resolve the issue, you can try using the In-Browser client of AppBuilder. There are 2 workflows you can follow to open your project inside the web client:
- Configure your project for collaboration and clone it in the In-Broswer client as described in this tutorial
- Zip all project files and import them in the In-Broswer client as described here
Regards,
Tina Stancheva
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
Thanks Tina,
Unfortunately, the browser version gives me an error when i try to publish the iOS version so we're kind of stuck right now until this gets resolved.
Server exception
Project "Participant.tmp.proj" (default targets):
ios Build Tooling revision 2015.08.06.2r
Error: [xcode-build] Compile /Users/builder/BpcTooling/Cordova3/3.8.0/CorePlugins/org.apache.cordova.inappbrowser/src/ios/CDVInAppBrowser.m:
Error: [xcode-build] Compile /Users/builder/BpcTooling/Cordova3/3.8.0/CorePlugins/org.apache.cordova.statusbar/src/ios/CDVStatusBar.m: /Users/builder/BpcTooling/Cordova3/3.8.0/CorePlugins/org.apache.cordova.statusbar/src/ios/CDVStatusBar.m:182:40: warning: implicit conversion from enumeration type 'UIInterfaceOrientation' (aka 'enum UIInterfaceOrientation') to different enumeration type 'UIDeviceOrientation' (aka 'enum UIDeviceOrientation') [-Wenum-conversion] /Users/builder/BpcTooling/Cordova3/3.8.0/CorePlugins/org.apache.cordova.statusbar/src/ios/CDVStatusBar.m:204:44: warning: implicit conversion from enumeration type 'UIInterfaceOrientation' (aka 'enum UIInterfaceOrientation') to different enumeration type 'UIDeviceOrientation' (aka 'enum UIDeviceOrientation') [-Wenum-conversion] /Users/builder/BpcTooling/Cordova3/3.8.0/CorePlugins/org.apache.cordova.statusbar/src/ios/CDVStatusBar.m:373:52: warning: implicit conversion from enumeration type 'UIInterfaceOrientation' (aka 'enum UIInterfaceOrientation') to different enumeration type 'UIDeviceOrientation' (aka 'enum UIDeviceOrientation') [-Wenum-conversion]
Error: [xcode-build] Compile /Users/builder/BpcTooling/Cordova3/3.8.0/CorePlugins/org.apache.cordova.device/src/ios/CDVDevice.m:
Error: [xcode-build] Compile /tmp/builds/0BD0awwfsbaa9uf07B/app/Plugins/cordova-plugin-local-notifications-master/src/ios/APPLocalNotification.m: /tmp/builds/0BD0awwfsbaa9uf07B/app/Plugins/cordova-plugin-local-notifications-master/src/ios/APPLocalNotification.m:651:25: error: use of undeclared identifier 'UIApplicationRegisterUserNotificationSettings'
Error: Error: Can't remove "/tmp/builds/0BD0awwfsbaa9uf07B/provisions/51e560f5-b0a9-49a0-af31-eb6b03d8de8a.mobileprovision": EACCES, unlink '/tmp/builds/0BD0awwfsbaa9uf07B/provisions/51e560f5-b0a9-49a0-af31-eb6b03d8de8a.mobileprovision'
Done building project "Participant.tmp.proj" -- FAILED.
Also working with IT to break protocol.
Can you submit a support ticket and attach the project or give me the account email under which you've imported the app. This will allow me to examine the app on our side and try to provide a solution.
Regards,
Tina Stancheva
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
Thanks for looking into this. The project is under my account im posting with. I don't know how to PM you my registered email address.
thanks again,
The build failure is caused by the LocalNotifications plugin you're using. I would instead recommend that you used the Telerik Verified LocalNotification plugin as it can successfully build for all platforms. This article lists the steps you can follow to install a Telerik Verified plugin in your application. Before you follow them, however, please remove the cordova-plugin-local-notifications-master folder from underneath the Plugins folder.
If you need to somehow modify the plugin's implementation, you can also add it as a custom plugin under the Plugins folder after you download it from its repository. However, if you don't need to modify the source code of the plugin, I would recommend that you install it from the Package Manager. Give this a try and let me know if it helps.
Regards,
Tina Stancheva
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
We released a hotfix that targets the issue with the antivirus solutions, including Microsoft Security Essentials and Windows Defender, which erroneously report
DLL
files from the AppBuilder extension for Visual Studio package as viruses. Please upgrade your AppBuilder extension and let us know if you encounter any further issues with the installation.Regards,
Tina Stancheva
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.