This is a migrated thread and some comments may be shown as answers.

Latest AppBuilder Extension for Visual Studio blocked by Windows Defender

9 Answers 85 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
MoriartyX64
Top achievements
Rank 1
MoriartyX64 asked on 07 Aug 2015, 06:13 AM

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

Sort by
0
Eric
Top achievements
Rank 1
answered on 07 Aug 2015, 12:34 PM

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....

0
Tina Stancheva
Telerik team
answered on 07 Aug 2015, 04:27 PM
Hi guys,

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.

 
0
Eric
Top achievements
Rank 1
answered on 07 Aug 2015, 04:30 PM

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.

0
Tina Stancheva
Telerik team
answered on 07 Aug 2015, 04:38 PM
Hi Eric,

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.

 
0
Eric
Top achievements
Rank 1
answered on 07 Aug 2015, 04:41 PM
Hi Tina,

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,
0
Tina Stancheva
Telerik team
answered on 07 Aug 2015, 05:25 PM
Hello Eric,

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.

 
0
Gregory
Top achievements
Rank 1
answered on 07 Aug 2015, 07:02 PM
Exactly the same problem here
0
Accepted
Tina Stancheva
Telerik team
answered on 12 Aug 2015, 01:35 PM
Hi guys,

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.

 
0
MoriartyX64
Top achievements
Rank 1
answered on 12 Aug 2015, 06:09 PM
Thanks for the update, Tina. The update of v2015.3.811.2 seems to work fine on two tested machines, being Windows 7 as well as Windows 10.
Tags
Report a bug
Asked by
MoriartyX64
Top achievements
Rank 1
Answers by
Eric
Top achievements
Rank 1
Tina Stancheva
Telerik team
Gregory
Top achievements
Rank 1
MoriartyX64
Top achievements
Rank 1
Share this question
or