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

Cannot Remove Visual Studio Project Dependency on Telerik

4 Answers 522 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 25 Feb 2016, 03:26 PM

I was exploring Telerik AppBuilder in a work solution to show my client.  They were debating on a deployment manager and ended up going with SOTI.  I then tried to remove the Telerik dependency from the solution and am absolutely unable to do so.

 

The project was created with cordova & ionic command lines and then AppBuilder was added from within visual studio.  My client doesn't have Telerik and doesn't want Telerik.  How do I remove the dependency to it.  I can't even add JavaScript classes on right-click - they become "Telerik JavaScript" files.

 

This is ridiculous - you have to allow people to NOT choose you, otherwise you become responsible for corrupting their codebase.  Not only that, but this reflects badly on my reputation when it looks like I've damaged their repository.

4 Answers, 1 is accepted

Sort by
0
Rick
Top achievements
Rank 1
answered on 25 Feb 2016, 05:04 PM
I forgot to mention that uninstalling Telerik AppBuilder from Visual Studio causes the solution to fail to load its project because of the pre-existing dependency on Telerik AppBuilder.  I can no longer develop in this code base unless Telerik is installed.
0
Dimitrina
Telerik team
answered on 01 Mar 2016, 10:07 AM
Hello Rick,

I am sorry to hear you have such experience. As it comes to the VS Extension for AppBuilder, it can open solutions through the .abproject file generated when creating a new app with AppBuilder. Once the solution is opened in VS, then an SolutionName.iceproj file is generated which is indeed dependent on our extention. Do you eventually try to open it, does it still exist in the folder of the solution? Would you please share more details on how do you open the solution now?

I would suggest you to:
- remove all the project files generated by AppBuilder, then 
- clear AppBuilder's Cache - you'll find it under the %localappdata%\Telerik\BlackDragon folder. Please remove the entire Cache folder.
- Clear Visual Studio cache for the installed extension - for VS 2013 you will find it under %localappdata%\Microsoft\VisualStudio\12.0\Extensions. 

In case there is still an issue, then would y
ou please create a new solution and include all the actual files and folders you would like to use without the AppBuilder specific project files?

As to the issue with adding JavaScript classes on right-click, I tried adding New Item -> JavaScript in Visual Studio and such was included as an empty file with name JavaScript1.js. Would you please share some more details on how do you add it? How have you created the solution you add it into? Do you still use Visual Studio?

Looking forward to hearing from you.

Regards,
Dimitrina
Telerik
 

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

 
0
Rick
Top achievements
Rank 1
answered on 01 Mar 2016, 04:22 PM

Thank you for your response.  I had a response all written out, but windows decided to update and I lost it all, so this is the short reply:

1.  I removed all .ice* and .ab* files, and cleared the AB cache

2.  Telerik is not installed on this box

3.  When opening the solution it is marked as INCOMPATIBLE

4.  If I install Telerik AppBuilder into Visual Studio, the solution opens correctly

5.  My client does not want AB for this solution, but it won't remove itself as a solution dependency

Ignore the right-click issue for now.  I just want the solution to open without Telerik AB installed

0
Ivan
Telerik team
answered on 02 Mar 2016, 09:56 AM
Hello,

In order to help you remove the AppBuilder dependency we need to know how the Visual Studio solution was created.
Reviewing the described behaviour I assume that you created an AppBuilder project inside Visual Studio and then added the files generated by the cordova and ionic command line. Am I correct?
If this is the case this project can be opened only by the AppBuilder Extension for Visual Studio.
In order to remove the dependency you will need to:
1. Create a new non-AppBuilder project inside Visual Studio.
2. Add the files generated by the cordova and ionic command line.
3. Delete all the *ice and .ab files.

If you have any questions or remarks, please do not hesitate to contact us again.

Regards,
Ivan
Telerik
 

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

 
Tags
Installer and VS Extensions
Asked by
Rick
Top achievements
Rank 1
Answers by
Rick
Top achievements
Rank 1
Dimitrina
Telerik team
Ivan
Telerik team
Share this question
or