schyntax / cs-schtick Goto Github PK
View Code? Open in Web Editor NEWA C# scheduled task runner built on Schyntax.
License: MIT License
A C# scheduled task runner built on Schyntax.
License: MIT License
When I am using the latest version (1.0.4) I am getting an error saying that it requires Schyntax version 1.0.1.32.
Now, the dependencies in the Schtick.nuspec says that <dependency id="Schyntax" version="1.0.1"/>
and in NuGet that seems to be translated to >= 1.0.1. When installing this it fetches the latest Schyntax (1.0.3), and building is fine. When running the application things fail with an exception as it tries to find Schyntax-1.0.1.32
This seems to me like the assemblyinfo.cs file contains to "specific" version specs. For our products we on purpose populate the AssemblyVersion tag with only the Major version-number. This is because internally the .Net applications binds to the specific AssemblyVersion of the dependencies used during compilation.
So, in the case with Schtick, when it was built and when the package was created it seems that it was bound to the 1.0.1.32 assembly-version. If you use semantic versioning (as we do) I suggest you change this to contain only the majorversion. I think this is a far more flexible solution than having to add binding-configuration (which is also an option of course, but very annoying...).
Here is a sample from one of my assemblyinfo.cs files:
[assembly: System.Reflection.AssemblyVersion("1")]
[assembly: System.Reflection.AssemblyFileVersion("1.0.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersion("1.0.1-Alpha-151111145421ro")]
First of all - I just love this project. It is just about perfect for my needs.
I have found one short-coming though:
Is there a way to specify the base-date to use when the schedules are created? The users of my app write their own schedules using Schyntax domain language, which I then feed into Schtick. However, if the user writes hours(12), then they expect 12 to be according to the localtime that their computer is running. It seems Schyntax is hardwired to do UTC, unless I am mistaken. Is this something that could be extended here or in Schyntax? I am not suggesting adding anything to the Schyntax domain language for the users to tell whether the input is localtime or UTC. If I could just instantiate Schtick with the needed offset then that would be all I needed.
If this is a Schyntax change though, this might have to be changed back in CS-Schyntax. Whether it also affects the base Schyntax project I don't know though.
I can help, if someone can help me get a pointer on where and what to change.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.