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

Problem when trying to build in cloud and running simulator

1 Answer 76 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shalene
Top achievements
Rank 1
Shalene asked on 08 Jan 2016, 11:20 AM

Hello

I was using the Appbuilder VS Extension earlier today without any issues.

I have come to use it again later and I am unable to get the simulator
to work and when I go to build solution in the cloud, this error screen
comes up. (telerikerror.JPG)

 -----------------------------------------------------------------------------------------------------------------

Output

[2016-01-07 19:35:14.843] Log (Info,Medium): The Windows Phone SDK is
installed on this system. You can build and deploy Windows Phone
applications on devices.
[2016-01-07 19:35:15.574] Log (Info,Medium): AppBuilder for Visual
Studio version 2015.1.116.1. AppBuilder server location
https://platform.telerik.com/appbuilder.
[2016-01-07 19:35:15.099] Log (Exception,High):
System.IO.FileNotFoundException: Could not load file or assembly
'Microsoft.VisualStudio.DeviceConnectivity.Interop.11.0,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or
one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.DeviceConnectivity.Interop.11.0,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Server stack trace:
   at Telerik.BlackDragon.Client.Mobile.WindowsPhone.Connectivity.DatastoreManager..ctor(UInt32 localeId)
   at Telerik.BlackDragon.Client.Mobile.WindowsPhone.WP8ConnectionProvider.GetPlatform()
   at Telerik.BlackDragon.Client.Mobile.WindowsPhone.WP8ConnectionProvider.<GetDeviceConnection>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]:
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at
Telerik.BlackDragon.Client.Mobile.WindowsPhone.WP8DeviceDiscovery.<GetConnectedWindowsPhoneDeviceAsync>d__13.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

[2016-01-07 19:35:22.568] Log (Warn,Medium): AppBuilder Update
Available: An update is available. To be able to run any operations in
the cloud, you need to update the extension to the latest version.
Do you want to download and install the update now? If you click No, you
can go to the Visual Studio Gallery and manually apply the update
later.
[2016-01-07 19:35:32.161] Log (Info,Medium): Requesting Telerik Platform user authentication...
[2016-01-07 19:35:39.777] Log (Info,Medium): The user '[Name]' logged in to Telerik Platform.
[2016-01-07 19:35:40.523] Log (Exception,High):
System.ComponentModel.Composition.CompositionException: The composition
produced a single composition error. The root cause is provided below.
Review the CompositionException.Errors property for more detailed
information.

1) Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

Resulting in: An exception occurred while trying to create an instance
of type
'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel'.

Resulting in: Cannot activate part 'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel'.
Element:
Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel
--> 
Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel
-->  AssemblyCatalog
(Assembly="Telerik.BlackDragon.Client.Mobile.Android.Core,
Version=2015.1.116.1, Culture=neutral, PublicKeyToken=28c6af4ce7dade13")

Resulting in: Cannot get export
'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel
(ContractName="BuildWizardPageItem")' from part
'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel'.
Element:
Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel
(ContractName="BuildWizardPageItem") --> 
Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel
-->  AssemblyCatalog
(Assembly="Telerik.BlackDragon.Client.Mobile.Android.Core,
Version=2015.1.116.1, Culture=neutral, PublicKeyToken=28c6af4ce7dade13")

at
System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine
engine, ComposablePart part, ExportDefinition definition)
at
System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart
part, ExportDefinition export, Boolean isSharedPart)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
   at System.ComponentModel.Composition.Primitives.Export.get_Value()
   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
   at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass4`2.<CreateStronglyTypedLazyOfTM>b__0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Telerik.BlackDragon.Client.ImportMetadataExtensions.<>c__DisplayClass1`2.<ToMetadataView>b__0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.WizardPlatformViewModelBase.<LoadItemsAsync>d__2.MoveNext()
[2016-01-07 19:35:41.064] Log (Exception,High):
System.ComponentModel.Composition.CompositionException: The composition
produced a single composition error. The root cause is provided below.
Review the CompositionException.Errors property for more detailed
information.

1) Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

Resulting in: An exception occurred while calling the
'OnImportsSatisfied' method on type
'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel'.

Resulting in: Cannot activate part
'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel'.
Element:
Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel
--> 
Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel
-->  AssemblyCatalog
(Assembly="Telerik.BlackDragon.Client.Mobile.Core.UI,
Version=2015.1.116.1, Culture=neutral, PublicKeyToken=28c6af4ce7dade13")

Resulting in: Cannot get export
'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel

(ContractName="Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel")'
from part
'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel'.
Element:
Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel

(ContractName="Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel")
--> 
Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel
-->  AssemblyCatalog
(Assembly="Telerik.BlackDragon.Client.Mobile.Core.UI,
Version=2015.1.116.1, Culture=neutral, PublicKeyToken=28c6af4ce7dade13")

Resulting in: Provide value on 'Telerik.BlackDragon.Client.UI.Markup.ImportExtension' threw an exception.

Resulting in: An exception occurred while trying to create an instance
of type
'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog'.

Resulting in: Cannot activate part 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog'.
Element: Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog
-->  Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog
-->  AssemblyCatalog (Assembly="Telerik.BlackDragon.IceniumPackage,
Version=2015.1.116.1, Culture=neutral, PublicKeyToken=28c6af4ce7dade13")

Resulting in: Cannot get export
'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog
(ContractName="Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog")'
from part
'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog'.
Element: Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog

(ContractName="Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog")
-->  Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog
-->  AssemblyCatalog (Assembly="Telerik.BlackDragon.IceniumPackage,
Version=2015.1.116.1, Culture=neutral, PublicKeyToken=28c6af4ce7dade13")

at
System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine
engine, ComposablePart part, ExportDefinition definition)
at
System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart
part, ExportDefinition export, Boolean isSharedPart)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
   at System.ComponentModel.Composition.Primitives.Export.get_Value()
at
Telerik.BlackDragon.Client.Composition.Internal.ExportFactoryImport.<>c__DisplayClassa`1.<CreatePartLifetimeContextCreator>b__7()
   at Telerik.BlackDragon.Client.Composition.Internal.ExportFactoryInternal`1.CreateExport()
at
Telerik.BlackDragon.Client.Mobile.Build.Commands.BuildMenuCommandBase.ExecuteCommandForProjectCore(IceniumProjectNode
project)
   at Telerik.BlackDragon.Client.Mobile.DeploymentCommandBase.ExecuteCommandForProject(IceniumProjectNode project)
   at Telerik.BlackDragon.Client.Commands.CurrentProjectMenuCommand.Execute()
   at Telerik.BlackDragon.Client.Authentication.Controllers.AuthorizationController.ExecutePendingCommand()
at
Telerik.BlackDragon.Client.Authentication.Controllers.AuthorizationController.<InitializeUserDataAsync>d__11.MoveNext()

 

--------------------------------------------------------------------------------------------------------------------------------------

I have updated the AppBuilder Extension to the latest version 2015.4.1125.2

The issue still remains.

Even if I create a new App, edit nothing in it and try to run the build in cloud I get the same error message.

 ----------------------------------------------------------------------------------------------------------------------------------------

 

Now, after closing VS and trying to open the newly created App I get this error message (attached pic).

Then the project will not load and it says it's incompatible. (telerikerror2JPG)

 

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 13 Jan 2016, 07:32 AM
Hello Shalene,

As discussed in your support ticket on the same matter, it seems that you are using TunnelBear, which has prevented our product from downloading a configuration file. In addition, it has changed the contents of the original configuration file, which is causing the issue on your side.

In the support ticket, we have shared the original versions of the corrupted files so that you can replace them on your machine. Further, you will also need to disable TunnelBear when working with AppBuilder or at least, add our product as an exception.

I hope this helps.


Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder extension for Visual Studio
Asked by
Shalene
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or