Bottle to add Hypermedia support to FubuMVC
C# Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
buildsupport
packaging/nuget
src
.gitignore
Gemfile
InstallGems.bat
TESTS.txt
VERSION.txt
license.txt
rakefile.rb
readme.markdown
ripple.config

readme.markdown

Why does git status show that all of my files are modified?

FubuLocalization is built by Windows users, so all of the text files have CRLF line endings. These line endings are stored as-is in git (which means we all have autocrlf turned off). If you have autocrlf enabled, when you retrieve files from git, it will modify all of your files. Your best bet is to turn off autocrlf, and re-create your clone of FubuCore.

  1. Delete your local clone of the FubuLocalization repository
  2. Type: git config --global core.autocrlf false
  3. Type: git config --system core.autocrlf false
  4. Clone the FubuMVC.Media repository again

More information about working with git and Fubu projects

Where is CommonAssemblyInfo.cs?

CommonAssemblyInfo.cs is generated by the build. The build script requires Ruby with rake installed.

  1. Run InstallGems.bat to get the ruby dependencies (only needs to be run once per computer)
  2. open a command prompt to the root folder and type rake to execute rakefile.rb

If you do not have ruby:

  1. You need to manually create a src\CommonAssemblyInfo.cs file

    • type: echo // > src\CommonAssemblyInfo.cs
  2. open src\FubuMVC.Media.sln with Visual Studio and Build the solution

Where are the project dependencies? (EX: CommonServiceLocator)

  1. run git submodule init
  2. then git submodule update
  3. then ripple.cmd restore

You should now be able to open the src\FubuMVC.Media.sln and build the project.