Giter VIP home page Giter VIP logo

Comments (4)

tomasr avatar tomasr commented on May 18, 2024

Sounds like the build server is somehow ending up using an older version of StyleCop? Building locally on Release, with all StyleCop rules running, and I'm not seeing these errors. Do you have a build log you can share so I can check?

(Those errors all seem to be related to using newer C# constructs)

from applicationinsights-sdk-labs.

SergeyKanzhelev avatar SergeyKanzhelev commented on May 18, 2024

Do you have access to this: https://mseng.visualstudio.com/AppInsights/ChuckNorris/_build/index?buildId=3743486&_a=summary ?

from applicationinsights-sdk-labs.

tomasr avatar tomasr commented on May 18, 2024

Well, this is unexpected.

I squashed my commits before pushing and sending the PR. My local changes compile cleanly, while the pushed changes (and thus the result after the merge) don't. Will try to resolve and send a new PR.

Update: Well, no, turns out StyleCop just generates totally different output when running on VS2017 and VS2015. Even merged code builds clean on a machine with VS2017, but fails on VS2015.

from applicationinsights-sdk-labs.

tomasr avatar tomasr commented on May 18, 2024

Update 2: Finally figured what's going on.

The problem only happens when building dirs.proj and not when building WCF.sln, because it builds DependencyCallstacks.sln first. That project references an older version of the StyleCop.MSBuild package, and it seems MSBuild is using that same one for building the WCF.sln solution, despite it referencing a newer version of the package.

PR updating the package on DependencyCallstacks coming up...

from applicationinsights-sdk-labs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.