Breeze / breeze.js.samples

Breeze JavaScript Client sample applications
MIT License
96 stars 85 forks source link

DocCode sample fails to resolve breeze references #18

Closed breyed closed 10 years ago

breyed commented 10 years ago
  1. Download breeze.js.samples-master.zip from GitHub and extract net\DocCode.
  2. Open DocCode.sln in VS2013.
  3. Ctrl+F5.

Result: The breeze javascript library can't be located, and all the unit tests fail.

Workaround: Delete the offending JS files from the DocCode project, remove the Breeze Client NuGet package, and re-add it.

wardbell commented 10 years ago

You're not supposed to "extract net\DocCode". The file structure of the samples is quite deliberate. There's a build task in each project that copies down the "latest" breeze client files from the "build" folder (it's a sibling of "net"). If it can't find that folder, it silently fails ... and you're out of luck one way or another. I'm actually surprised that your "workaround" actually succeeds; I wonder how it gets the labs ... or what version of those labs it is running.

Anyway ... now you know. I'm closing this issue. I'm sure you'll tell me if I've missed the mark.

Thanks for trying Breeze and its samples.