project.json
1.0.0-beta6Schema URL
Properties
List of files to exclude from publish output (kpm bundle).
Glob pattern to specify all the code files that needs to be compiled. (data type: string or array with glob pattern(s)). Example: [ "Folder1*.cs", "Folder2*.cs" ]
8 nested properties
Configurations are named groups of compilation settings. There are 2 defaults built into the runtime namely 'Debug' and 'Release'.
Copyright details for the package
A URL for the image to use as the icon for the package. This should be a 32x32-pixel .png file that has a transparent background.
A link to the license that the package is under
A Boolean value that specifies whether the client needs to ensure that the package license (described by licenseUrl) is accepted before the package is installed.
A URL for the home page of the package
A short description of the package
The human-friendly title of the package
A description of the changes made in each release of the package.
The locale ID for the package, such as en-us.
The description of the application
Glob pattern to indicate all the code files to be excluded from compilation. (data type: string or array with glob pattern(s)).
[
"bin/**/*.*",
"obj/**/*.*"
]
Overrides the generated resource names with custom ones.
Glob pattern to indicate all the code files to be preprocessed. (data type: string with glob pattern).
Contains information about the repository where the project is stored.
1 nested properties
Glob pattern to indicate all the files that need to be compiled as resources.
Scripts to execute during the various stages.
7 nested properties
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
The version of the project/package. Examples: 1.2.3, 1.2.3-beta, 1.2.3-*
Specifying the webroot property in the project.json file specifies the web server root (aka public folder). In visual studio, this folder will be used to root IIS. Static files should be put in here.
Definitions
8 nested properties
A command line script or scripts.
Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version