Creating a VSIX extension in Oxygene

There are templates for Microsoft C# and Microsoft VB, but not for Oxygene.
Is this possible?

It’s possible, but we don’t currently have a template. Easiest way to get one right now, is to create a new C# project for this, rename it .elements, put this in the global property group:

    <AllowGlobals>False</AllowGlobals>
    <AllowLegacyWith>False</AllowLegacyWith>
    <AllowLegacyOutParams>False</AllowLegacyOutParams>
    <AllowLegacyCreate>False</AllowLegacyCreate>
    <AllowUnsafeCode>False</AllowUnsafeCode>

Remove the C# Import target from the project and add ours:

  <Import Project="$(MSBuildExtensionsPath)\RemObjects Software\Elements\RemObjects.Elements.Echoes.Legacy.targets" />

(Note: Legacy is required for VSIP projects due to the msbuild nature of them).

That’s it.

1 Like

Also, Water can import/convert .csprojs, might help with that.

Note that since VSIX project, for now, needs to have the Legacy.targets Carlo mentioned, so if you use the importer, you’ll need to manually change that afterwards, still.