-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EdmBuilder.cs is missing #16
Comments
Wow. There is some kind of nuget restore madness at work here and I have NO IDEA why it doesn't work. I created a repro and posted my complaint on StackOverflow. I'll fix it when they tell me how. Meanwhile, the workaround is to manually uninstall and reinstall the "breeze.edmbuilder" package. In the package console enter the following:
If they don't give me the fix soon, I'll bury a copy of the missing file in the sample itself. Sorry about this. |
SInce I last wrote, I've learned a few things. First, I learned that nuget restore is not the same as nuget install ... see the exchanges and updates to my post on StackOverflow*. Second, I now see that you did NOT download the sample from the breeze site but rather from the source in github. Yes, I know you told me that ... but I didn't read your question carefully enough to see that. You cannot expect simply to build the samples from the github source! We do not check in the packages file and we intentionally exclude the breeze libraries from the sample source in github. Our samples-zip building process knows how to get these missing libraries and include them. But you cannot achieve the same effect simply by asking Visual Studio to build the samples for you. You may be able to create working samples by doing the following in Visual Studio:
I think this will actually work for the OData sample. However, this is not guaranteed to work for all samples and will almost certainly be inadequate for some of them. Certain samples depend upon files in _breeze.labs_ that are not distributed through nuget packages and/or not listed in the sample's packages.config file. You would have to go get these files manually from their homes in one of the breeze github repositories. I'm sorry about this. As I said, our samples-zip building process knows how and where to get the "missing" files. But we were not prepared for you to build the samples yourself from the github source. Clearly you can do so if you're willing to hunt down the missing pieces. Meanwhile, we'll put our heads together and try to come up with something better. Thanks for your patience and understanding. |
Ward, Thank you for looking into my issue. I was able to get it to work by reinstalling the breeze.edmbuilder package. At the time I send the email, I could not find the download from the breeze site. I was looking for the http://www.breezejs.com/samples/doccode. The Doc Code page refers you to the todo example. At the time I did not get that we were not meant to get the doc code example. So I kept digging. I found on the sample page the first entry about the samples in general. That lead me to follow the link to github. The link to github does not mention that the samples do not build correctly when downloaded from there (that might be a nice addition to that pagehttp://www.breezejs.com/samples/about-samples) Either way, I got everything working now. Thank you for your help! Breeze is fantastic! Stephen Schaff From: Ward Bell [mailto:notifications@github.com] SInce I last wrote, I've learned a few things. First, I learned that nuget restore is not the same as nuget install ... see the exchanges and updates to my post on StackOverflow*http://stackoverflow.com/questions/23304274/nuget-restore-fails-on-build-but-works-manually. Second, I now see that you did NOT download the sample from the breeze site but rather from the source in github. Yes, I know you told me that ... but I didn't read your question carefully enough to see that. You cannot expect simply to build the samples from the github source! We do not check in the packages file and we intentionally exclude the breeze libraries from the sample source in github. Our samples-zip building process knows how to get these missing libraries and include them. But you cannot achieve the same effect simply by asking Visual Studio to build the samples for you. You may be able to create working samples by doing the following in Visual Studio:
I think this will actually work for the OData sample. However, this is not guaranteed to work for all samples and will almost certainly be inadequate for some of them. Certain samples depend upon files in breeze.labs that are not distributed through nuget packages and/or not listed in the sample's packages.config file. You would have to go get these files manually from their homes in one of the breeze github repositories. I'm sorry about this. As I said, our samples-zip building process knows how and where to get the "missing" files. But we were not prepared for you to build the samples yourself from the github source. Clearly you can do so if you're willing to hunt down the missing pieces. Meanwhile, we'll put our heads together and try to come up with something better. Thanks for your patience and understanding. — The information transmitted by this e-mail and any included |
The latest checkin added a dependency on a file called EdmBuilder.cs.
But it is not in the source tree.
It should be at:
breeze.js.samples-master\breeze.js.samples-master\net\ODataBreezejsSample\ODataBreezejsSample\App_Start
The OData breeze example will not compile and run in its current state.
The text was updated successfully, but these errors were encountered: