Giter Club home page Giter Club logo

Comments (11)

AlexKeySmith avatar AlexKeySmith commented on July 30, 2024

I've added a workaround to the stackoverflow post if anyone's interested. https://stackoverflow.com/a/51879203/141022

from usql.

ronnieoverby avatar ronnieoverby commented on July 30, 2024

The best solution for me was to open the project file and modify the target framework version.

I'm not quite sure why Microsoft's U-SQL project templates are in such disarray.

from usql.

MikeRys avatar MikeRys commented on July 30, 2024

from usql.

ronnieoverby avatar ronnieoverby commented on July 30, 2024

from usql.

MikeRys avatar MikeRys commented on July 30, 2024

from usql.

ronnieoverby avatar ronnieoverby commented on July 30, 2024

For me...

VS 2017 15.9.7
Data Lake Tools 2.3.7000.1

Creating a brand new USQL class library project gives you a project that targets net45 but references assemblies targetting net452. It fails to build.

Updating the class library to target net452 causes the build to succeed, but any USQL / USQL Database projects using the class library project will fail to build.

The solution for me was to open USQL/USQL Database project in editor and change target framework version from NET45 to NET452.

The big question I have is, why do all of these projects target NET45 in the latest tools, when the infrastructure on Azure is running net452?

And why does the ClassLib project template reference NET452 assemblies when it itself doesn't target NET452?

from usql.

MikeRys avatar MikeRys commented on July 30, 2024

from usql.

ronnieoverby avatar ronnieoverby commented on July 30, 2024

You're welcome.

By the way, I just spent a sprint evaluating U-SQL.

I have a fairly large list of reasons I'm recommending we avoid it for now, much of which has to do with frustrating tooling in visual studio.

If you are interested in some constructive criticism I'm happy to help.

from usql.

MikeRys avatar MikeRys commented on July 30, 2024

from usql.

ronnieoverby avatar ronnieoverby commented on July 30, 2024

Happy to. I'll edit my findings for your team and send within a day or two.

from usql.

ronnieoverby avatar ronnieoverby commented on July 30, 2024

Sent.

from usql.

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.