Note that there are some explanatory texts on larger screens.

plurals
  1. POCompile Errors Galore - Cannot build some ServiceStack solutions download from GitHub
    primarykey
    data
    text
    <p>This is just odd.</p> <p>I'm getting a build error in <code>ServiceStack.Text</code> after just bringing down <a href="https://github.com/ServiceStack/ServiceStack.Text" rel="nofollow noreferrer">the latest build</a> from GitHub.</p> <pre><code>if (endpointUrl.IsNullOrEmpty() || !endpointUrl.StartsWith("http")) return null; Error 1 No overload for method 'IsNullOrEmpty' takes 0 arguments ServiceStack\src\ServiceStack.Common\Messaging\ClientFactory.cs 10 18 ServiceStack.Common </code></pre> <p>I'm also getting bunch of other build errors:</p> <p>Error 35 'int' does not contain a definition for 'Times' and no extension method 'Times' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?) ServiceStack.Redis\src\ServiceStack.Redis\Messaging\RedisMqServer.cs 192 37 ServiceStack.Redis</p> <p><img src="https://i.stack.imgur.com/IOTy6.jpg" alt="enter image description here"></p> <p>and after downloading the <a href="https://github.com/ServiceStack/ServiceStack" rel="nofollow noreferrer">ServiceStack branch</a>, I even tried opening ServiceStack-master\src\ServiceStack.sln and tried to build and it's totally broken:</p> <p><img src="https://i.stack.imgur.com/teRcj.jpg" alt="enter image description here"></p> <p>I don't know what's going on here, there can't possibly be this many build errors if any right? I pray not but it seems as such.</p> <p><strong>Purpose of this post, what I'm asking about and need help clarifying and resolving (mythz???)</strong></p> <p>I need input from ServiceStack here on the following:</p> <p><strong>1)</strong> are the builds really this broken? Am I imagining this?</p> <p><strong>2)</strong> The branch stucture on GitHub is all over the place meaning I'm finding dup project folders all over and I do not know what this ServiceStack branch is as in it's src folder has a ton of projects there, different versions, as well as doesn't have projects like ServiceStack.Text, etc. so I don't know what's going on here. I want to use the basic core of service stack but there's like repeated stuff everywhere overall on GitHub. I need ServiceStack to clear all this up for me.</p> <p>Here is my code, so you can see for yourself, it doesn't build.</p> <ul> <li><p><a href="https://docs.google.com/file/d/0B6FDE5kMwYTlaVhRQWw3eE9KQ1k/edit?usp=sharing" rel="nofollow noreferrer">This one</a> <strong>won't build</strong> in terms of the ServiceStack projects - it's my solution in which I'm simply trying to include the ServiceStack projects I need along with my own projects that are using ServiceSTack. All I did was downoad those individual projects from <a href="https://github.com/ServiceStack" rel="nofollow noreferrer">https://github.com/ServiceStack</a> then added them to my solution and made sure that any references to each other were now Project references, no longer binary..I removed the binary refs and readded them as project refs. So for example ServiceStack.Common depends on ServiceStack.Text but it was referencing it via binary so I removed it and readded the reference to ServiceStack.Text as a project ref now because in the end we plan on being able to look at and work with the base Stack code. The errors I posted above are happening in this Solution for ServiceStack related projects.</p></li> <li><p><a href="https://docs.google.com/file/d/0B6FDE5kMwYTlQ0owXzBrNEptZlU/edit?usp=sharing" rel="nofollow noreferrer">This one</a> <strong>won't build</strong> - it's a download of the ServiceStack branch master (originally folder name is ServiceStack-master, I removed the -master)</p></li> </ul> <p><strong>UPDATE</strong>: yes I confirmed it's a bad build checked in on the GitHub site (refering to the ServiceStack branch master right above here). I had to remove unused using statements that were causing the build to fail and one of these was a dup using statement causing part of the build failure. I am surprised at this...this stuff should build and people should be checking in code that BUILDS successfully! common! Yes mythz, any dev trying to consume your API would be pissed that there are so many build erros all the time, I can't even get our protype going because this is not the only solution that won't build. First we had the Examples solution all breaking and now the core. I'm willing to fix these if I can but I honestly can't believe it's been a mountain to try to even use this API because of these checked in builds that are failing.</p> <p><img src="https://i.stack.imgur.com/q20xj.jpg" alt="enter image description here"></p> <ul> <li><a href="https://docs.google.com/file/d/0B6FDE5kMwYTleDBBc3laNUpIc0k/edit?usp=sharing" rel="nofollow noreferrer">This one</a> <strong>Will build</strong> because it was Nuget down, so ServiceStack is referencing other layers via binary references in the lib folder so this builds...probably builds here because someone has a <strong>working</strong> set of builds across all core projects but the stuff on the site for download is not the same revision and broken when you try to use them as project references (source code)?? Just my conclusion as it's only building IF you are using binary references to the lib folder. We want the source, not the binaries to work inside our solution so this is a brick wall for me</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload