cAlgo Visual Studio extension

Created at 05 Mar 2016, 15:55
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SO

sodergren.emil

Joined 05.03.2016

cAlgo Visual Studio extension
05 Mar 2016, 15:55


Hello!

I downloaded the cAlgo Visual Studio Extension by Spotware. As I'm using Visual Studio 2015, I found out that the extension only works for older versions of VS.

In the Visual Studio Gallery's comments section, another user had the same problem. Someone responded that it's an easy fix - "modify the 'extension visxmanifest' document". I tried to do so, but I can't get it to work. The same error message still appears during installation.

Do anyone know how to solve it? I'd be very thankful for any help I can get.

Best regards, Emil


@sodergren.emil
Replies

gainer
06 Mar 2016, 07:56

Hi

The vsix is simply a zipped file

Unzip it in a folder as "VSExtension", then enter in the folder and you'll see the file "extension.vsixmanifest", open it with a normal text editor and add the references to the visual studio community edition between the eligible products

 

      <VisualStudio Version="11.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="12.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="13.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="14.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="15.0">
        <Edition>Community</Edition>
      </VisualStudio>

      

This is the complete code, you can also copy and past it in the extensione.vsixmanifest in place of the current one

 

<?xml version="1.0" encoding="utf-8"?>

<Vsix Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
  <Identifier Id="2c72cc50-6c69-4b16-b1f4-ab470673f284">
    <Name>cBots and Custom Indicators</Name>
    <Author>Spotware</Author>
    <Version>1.4</Version>
    <License>EULA.txt</License>
    <Description xml:space="preserve">Building cBots and Custom Indicators in Visual Studio</Description>
    <Locale>1033</Locale>
    <InstalledByMsi>false</InstalledByMsi>
    <SupportedProducts>
      <VisualStudio Version="10.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="11.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="12.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="11.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="12.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="13.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="14.0">
        <Edition>Community</Edition>
      </VisualStudio>
      <VisualStudio Version="15.0">
        <Edition>Community</Edition>
      </VisualStudio>
    </SupportedProducts>
    <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.0" />
  </Identifier>
  <References>
    <Reference Id="Microsoft.VisualStudio.MPF" MinVersion="10.0">
      <Name>Visual Studio MPF</Name>
    </Reference>
  </References>
  <Content>
    <VsPackage>VSExtension.pkgdef</VsPackage>
  </Content>
</Vsix>

 

Now from within the directory, zip again all the files in a new "VSExtension.vsix" (be carefull to include all the files, but NOT the directory)

Double click on the new vsix you just created within your directory... and it's done!

Wait for the installatione, then try it: within cAlgo select the "Edit in Visual Studio" option from the left drop down arrow menu near the name of one of your cBots/Indicators and after a while, it will appear in Visual Studio 2015 Community Identifier

That's all and have a good job!


@gainer

ChasBrownTH
29 May 2016, 20:10

RE:

Marvellous, that worked perfectly !  Thank you so very much. ;)

re. The vsix is simply a zipped file

 


@ChasBrownTH

cAlgo9
29 Dec 2016, 11:10

Hi Paul,

  The link to VSExtension.vsix (90.19 kb) is broken. 

Thanks!


@cAlgo9

david.barbakadze@gmail.com
29 Dec 2016, 11:29

So, where do we download extension from?


@david.barbakadze@gmail.com