Git Product home page Git Product logo

Comments (6)

omajid avatar omajid commented on September 12, 2024

The usual approach of strings <path-to-so-dll-or-exe> | grep @ on a BuildTools dll doesnt get me a commit id either.

from source-build.

crummel avatar crummel commented on September 12, 2024

Hi guys, I think this might have been fixed with our recent build and BuildTools updates - I downloaded version 2.0.0-servicing-02104-04 from BuildToolsVersion.txt and checked the file properties for the hash, which gave me dotnet/buildtools@21e3698. I'll close this for now, please reopen or let me know if you're still seeing this issue.

from source-build.

omajid avatar omajid commented on September 12, 2024

Stupid question. How does one do that on Linux? It seems exiftool can do it for some, but not all .dll files I throw at it.

Example:

$ exiftool -FileVersion  /usr/lib64/dotnet/sdk/2.0.0/Sdks/Microsoft.NET.Sdk/tools/netcoreapp1.0/Newtonsoft.Json.dll
File Version                    : 9.0.1.19813
$ exiftool -FileVersion /usr/lib64/dotnet/sdk/2.0.0/Newtonsoft.Json.dll
Error: File format error - /usr/lib64/dotnet/sdk/2.0.0/Newtonsoft.Json.dll

from source-build.

crummel avatar crummel commented on September 12, 2024

Interesting, that particular file doesn't show properties on Windows either.
Bad file: ./x64/Release/smoke/sdk/15.5.1-preview-006908/Newtonsoft.Json.dll: PE32+ executable (DLL) (console) Unknown processor type 0xfd1d Mono/.Net assembly, for MS Windows
Good file: ./x64/Release/smoke/sdk/15.5.1-preview-006908/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Newtonsoft.Json.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows

I'm looking into this.

from source-build.

tmds avatar tmds commented on September 12, 2024

I think the difference is, one is a managed assembly the other is ngened.

from source-build.

crummel avatar crummel commented on September 12, 2024

That makes sense, that won't apply to BuildTools then as all of that code is managed.

from source-build.

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.