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

NetCore20

main

A version of the X# compiler and script engine for .Net Core 2.0 (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 VS 2015 and/or VS 2017.
It also contains cmd files created at install time to help generating native images for the X# compiler.
The cmd files containing the number 2015 are used for integration into VS 2015. The cmd files with the number 1-6 are used to install into different versions of VS 2017 and VS 2019.

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 2015
Assuming you have installed VS 2015 in the default location:

c:\Program Files (x86)\Microsoft Visual Studio 14.0

then X# will be in the subfolders

Common7\IDE\Extensions\XSharp

and the MSBuild integration will be in the folder

c:\Program Files (x86)\MSBuild\XSharp

main\vs2015

Note:        There can only be one "edition" of VS 2015 on your machine.

Visual Studio 2017 and/or 2019
Assuming you have installed VS 2017 in the default location:

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

then X# will be in the subfolders

Common7\IDE\Extensions\XSharp

MSBuild\XSharp

main\vs1 ..
main\vs6

<number> is 2017 or 2019.

<Version> can be one of Professinal, Community, Enterprise or Buildtools.
There can be more that one edition of VS2017/VS2019 on your machine. Since X# 2.4 the installer will show all instance 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.