Show/Hide Toolbars

XSharp

When you install XSharp, you will find the following folders on your machine:

 

Folder

Setup component

Contents

C:\Program Files (x86)\XSharp

Main

Main installation folder

Assemblies

Main

The runtime assemblies that are selectable in the Add Reference dialog inside Visual Studio.
Please note that this is a subset of the folders in the Redist Folder. For deploying your apps, please use the files in the Redist folder. In a future version, this folder may contain so called reference assemblies (assemblies with only meta data and no code).

Bin

main

The command line compiler, the Script interpreter and Vulcan XPorter.

Debug

main

Debug versions of the runtime DLLs and SDK DLLs (FOX only).

Extension

main

The components that must be installed inside Visual Studio for the X# project system and Language support.

If you want to reinstall the project systems you should run the deployvs<num>.cmd  files in the Uninst folder. These files were created at install time and match your specific configuration of Visual Studio versions.

Help

main

The PDF, CHM help files and the Visual Studio help.

Images

main

Some images.

Include

main

XSharpDefs.xh and other header files needed by X#.

MsBuild

main

The MsBuild integration for XsProj files.

NetCore31

main

A version of the X# compiler and script engine for .Net Core 3.1 (FOX only).

ProjectSystem

main

VSIX files to install the project system and debugger inside Visual Studio.
Only use these when the X# support team tells you to do so.

Redist

main

Files that you may want to include with your application compiled with X#.

Templates

main

Contains the templates for the VO Compatible editors for Windows, Servers and Menus.

Tools

main

Tools that are used during installation.

Uninst

main

The uninstaller and some cmd files generated during installation to register your X# Extension inside Visual Studio.
It also contains cmd files created at install time to help generating native images for the X# compiler.
The cmd files with the numbers 1-6 are used to install into different versions of Visual Studio.

VOXPorter

main

The VOXPorter.

XIDE

xIde

The XIDE installer.

<Global Assembly Cache>

main\gac

X# runtime files will be installed in the GAC when this component is selected.

<Global Assembly Cache>\NativeImages

main\ngen

The X# compiler files will be precompiled when the option "Optimize performance by generating native images" is selected.

<Common Documents\XSharp\Examples

main\examples

The X# examples will be installed in the common documents folder when this option is selected.

Visual Studio folders

main\vs..

X# will be integrated into Visual Studio when this is selected.

Visual Studio 2017 and/or 2019
Assuming you have installed (one of) these in the default location:

c:\Program Files (x86)\Microsoft Visual Studio\<number>\<Version>

then X# will be in the subfolder

Common7\IDE\Extensions\XSharp

main\vs1 ..
main\vs6

<number> is 2017 or 2019.

<Version> can be one of Professional, Community, Enterprise or Buildtools.
There can be more than one edition of VS2017/VS2019 on your machine. The installer will show all instances that are detected.

Visual Studio 2022

Assuming you have installed VS 2022 in the default location:
c:\Program Files\Microsoft Visual Studio\2022\<Version>

then X# will be in the subfolder

Common7\IDE\Extensions\XSharp

main\vs1 ..
main\vs6

<Version> can be one of Professional, Community, Enterprise or Buildtools.
There can be more than one edition of VS2017/VS2019 on your machine. The installer will show all instances that are detected.

Registry

The installer will also write some changes to the registry:

HKLM\Software\XSharp

HKLM\Software\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\XSharp

HKCR\.ppo

HKCR\.prg

HKCR\.prgx

HKCR\.vh

HKCR\.xh

HKCR\.xs

HKCR\.xsproj

HKCR\XSharpScript

HKCR\XSharp.headerfile

HKCR\XSharp.ppofile

HKCR\XSharp.sourcefile

main
main\script


Environment variables

The installer creates / modifies the following environment variables

XSHARPPATH

XSHARPMSBUILDDIR



 

 

See the topic Building XSharp apps with Visual Studio and/or MsBuild for a description how the various registry settings and folders are involved with the build process with MsBuild and Visual Studio.