Forum member

berinder

6 posts

Posts by berinder

  1. Unknown constant type build failure

    I have managed to make a project that reproduces the problem, you can find it here: https://www.dropbox.com/s/x2pn3582bynze7u/ReprodueProblem.rar In short Project A has a Class C<T> Class C<T> have a method ViolatingFunction(T param = null) In Project B Do var x = new C<Anything>(); Get …

  2. Unknown constant type build failure

    I have found a workaround that works for me, for the moment. I can atleast evaluate this product properly now. Workaround; as reference for anyone that googles this; was for me to set "Use build configuration" to "Release" for the conflicting project. The Release project dosen't have code analys…

  3. Unknown constant type build failure

    The problem is causes by the CODE_ANALYSIS being on, maybe in combinations with "treat warnings as errors" The "no custom build steps" is maybe not that true, i remembered that when getting the repo i had to run a powershell script. And, behold, it does inject dlls into the \bin catalog in the pr…

  4. Unknown constant type build failure

    Hello, I'm very grateful for the help and not minding at all! It's a MVC3 C# Application. I'm using the Code Analyze tool from Visual Studio 2010 Premium, but no stand alone FxCop. No odd build steps, nothing i do react on... I admit that i don't know everything that is in the solution t…

  5. Unknown constant type build failure

    No, it didn't help to turn of "instrument output assembly". I'm running the evaluation of 1.44.0.11 for VS2010.

  6. Unknown constant type build failure

    I get a build error that says (0)#1: CA0001 : Unknown constant type. Because of NDA i can't post the code, and before i start sitting and "cutting out the pieces" i wanted to see if anyone knew what may be the reason. It builds fine outside of NCrunch, ofcourse.