Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

add file

Gien Verschatse edited this page Dec 22, 2016 · 2 revisions
forge add file [--project <string>] [--name <string>] [--dir <string>] 
    [--build-action <string>] [--above <string>] [--below <string>] [--link]

Adds file to the project.

Options

  • --name <string> - Name of file.
  • --dir <string> - Directory containing file.
  • --project <string> - Project to which file will be added. If omitted, Forge will try to automatically find project file.
  • --build-action <string> - Build action which will be set in project file (None, Compile, Content etc.)
  • --above <string> - Puts file above this file, optional.
  • --below <string> - Puts file below this file, optional.

Example

forge add file -p src/SampleProj/SampleProj.fsproj -n src/SampleProj/SampleFile.fs

Clone this wiki locally