Closed codearoo closed 10 years ago
I kept resetting my master to earlier Tags, and at tag v2.1 it works (the highlights.js is not referenced at all), but all later tags fail.
I gets published when I use a Release configuration and push the files into a local folder on my computer. Is your publish setup different in any way?
Have you tried it from a brand new folder after doing a Git pull? The first clue it is not expected to work, is that the file Bonobo.Git.Server.csproj has this in it: Content Include="Content\components\highlight\build\lib\highlight.pack.js" but that file does not exist in the Git repo.
And otherwise, I'm actually using YOUR configuration which you named "Release", the only thing I change is the output path because yours is going to a D:\Desktop folder.
This is the commit that creates this issue:
Revision: d9f7c5fac96277be246e177974ed2c1ef9904079 Author: Jakub Chodounsky jakub.chodounsky@gmail.com Date: 3/18/2014 4:19:38 AM Message:
Modified: Bonobo.Git.Server/App_Start/BundleConfig.cs Modified: Bonobo.Git.Server/Bonobo.Git.Server.csproj Modified: Bonobo.Git.Server/Content/Site.css Added: Bonobo.Git.Server/Content/components/highlight/.bower.json Added: Bonobo.Git.Server/Content/components/highlight/.gitignore Added: Bonobo.Git.Server/Content/components/highlight/AUTHORS.en.txt Added: Bonobo.Git.Server/Content/components/highlight/AUTHORS.ru.txt Added: Bonobo.Git.Server/Content/components/highlight/CHANGES.md Added: Bonobo.Git.Server/Content/components/highlight/LICENSE Added: Bonobo.Git.Server/Content/components/highlight/README.md Added: Bonobo.Git.Server/Content/components/highlight/README.ru.md Added: Bonobo.Git.Server/Content/components/highlight/docs/Makefile Added: Bonobo.Git.Server/Content/components/highlight/docs/_static/.gitkeep Added: Bonobo.Git.Server/Content/components/highlight/docs/_templates/.gitkeep Added: Bonobo.Git.Server/Content/components/highlight/docs/api.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/building-testing.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/conf.py Added: Bonobo.Git.Server/Content/components/highlight/docs/contribution.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/css-classes-reference.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/index.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/language-guide.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/language-requests.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/line-numbers.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/reference.rst Added: Bonobo.Git.Server/Content/components/highlight/docs/style-guide.rst Added: Bonobo.Git.Server/Content/components/highlight/src/export.html Added: Bonobo.Git.Server/Content/components/highlight/src/highlight.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/1c.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/actionscript.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/apache.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/applescript.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/asciidoc.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/autohotkey.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/avrasm.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/axapta.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/bash.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/brainfuck.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/clojure.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/cmake.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/coffeescript.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/cpp.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/cs.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/css.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/d.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/delphi.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/diff.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/django.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/dos.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/erlang-repl.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/erlang.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/fix.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/fsharp.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/glsl.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/go.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/haml.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/handlebars.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/haskell.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/http.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/ini.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/java.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/javascript.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/json.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/lasso.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/lisp.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/livecodeserver.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/lua.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/makefile.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/markdown.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/mathematica.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/matlab.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/mel.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/mizar.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/nginx.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/objectivec.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/ocaml.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/oxygene.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/parser3.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/perl.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/php.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/profile.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/python.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/r.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/rib.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/rsl.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/ruby.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/ruleslanguage.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/rust.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/scala.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/scilab.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/scss.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/smalltalk.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/sql.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/tex.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/vala.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/vbnet.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/vbscript.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/vhdl.js Added: Bonobo.Git.Server/Content/components/highlight/src/languages/xml.js Added: Bonobo.Git.Server/Content/components/highlight/src/package.json Added: Bonobo.Git.Server/Content/components/highlight/src/styles/arta.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/ascetic.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-dune.dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-dune.light.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-forest.dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-forest.light.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-heath.dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-heath.light.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-lakeside.dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-lakeside.light.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-seaside.dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/atelier-seaside.light.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/brown_paper.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/brown_papersq.png Added: Bonobo.Git.Server/Content/components/highlight/src/styles/dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/default.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/docco.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/far.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/foundation.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/github.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/googlecode.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/idea.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/ir_black.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/magula.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/mono-blue.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/monokai.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/monokai_sublime.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/obsidian.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/paraiso.dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/paraiso.light.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/pojoaque.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/pojoaque.jpg Added: Bonobo.Git.Server/Content/components/highlight/src/styles/railscasts.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/rainbow.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/school_book.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/school_book.png Added: Bonobo.Git.Server/Content/components/highlight/src/styles/solarized_dark.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/solarized_light.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/sunburst.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/tomorrow-night-blue.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/tomorrow-night-bright.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/tomorrow-night-eighties.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/tomorrow-night.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/tomorrow.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/vs.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/xcode.css Added: Bonobo.Git.Server/Content/components/highlight/src/styles/zenburn.css Added: Bonobo.Git.Server/Content/components/highlight/src/test.html Added: Bonobo.Git.Server/Content/components/highlight/tools/build.py Added: Bonobo.Git.Server/Content/components/highlight/tools/yuicompressor.jar Modified: Bonobo.Git.Server/RepositoryBrowser.cs Modified: Bonobo.Git.Server/Views/Repository/Blob.cshtml Modified: Bonobo.Git.Server/Views/Repository/Commit.cshtml Modified: Bonobo.Git.Server/Views/Repository/Tree.cshtml Modified: Bonobo.Git.Server/Views/Repository/_AddressBar.cshtml Modified: Bonobo.Git.Server/Views/Shared/_Layout.cshtml Modified: Bonobo.Git.Server/bower.json
The build folder was ignored thanks to .gitignore. Should be working now.
Yup this works. Thank you!
Error 1 Copying file Content\components\highlight\build\lib\highlight.pack.js to obj\Release\Package\PackageTmp\Content\components\highlight\build\lib\highlight.pack.js failed. Could not find file 'Content\components\highlight\build\lib\highlight.pack.js'. 0 0 Bonobo.Git.Server
This error comes up when I try to publish. Using VS2013, but I don't think it matters. I can see in the solution that file is supposed to be there but seems missing from the repository.