Giter Club home page Giter Club logo

Comments (3)

rickbrew avatar rickbrew commented on June 12, 2024

The real problem is here that building the solution does not work unless you manually create the Resources directory. git doesn't seem to include empty directories, and since BuildDate.txt isn't committed, you'll always get an error if you clone this repository and try to build it.

1>------ Build started: Project: AvifFileType, Configuration: Debug Any CPU ------
1>  Out-File : Could not find a part of the path 'D:\src\github\pdn-avif\src\Resources\BuildDate.txt'.
1>  At line:1 char:48
1>  + ... ring("s") | Out-File 'D:\src\github\pdn-avif\src\Resources\BuildDate. ...
1>  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1>      + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException
1>      + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
1>   
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1330,5): error MSB3073: The command "powershell -Command "((Get-Date).ToUniversalTime()).ToString(\"s\") | Out-File 'D:\src\github\pdn-avif\src\Resources\BuildDate.txt'"" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

from pdn-avif.

rickbrew avatar rickbrew commented on June 12, 2024

Or, since the build date seems to be used for expiring the plugin, maybe this can just be removed altogether? 🤔

from pdn-avif.

0xC0000054 avatar 0xC0000054 commented on June 12, 2024

I went with the powershell method as that would have allowed me to use the 3rd digit of the version number as a patch number, matching the Semantic Versioning standard.
I ended up never using the patch number, so in hindsight I could have used the built-in method.

Or, since the build date seems to be used for expiring the plugin, maybe this can just be removed altogether? 🤔

I will remove it.

from pdn-avif.

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.