Closed flywire closed 4 years ago
If you doubt this simplifies the build process it then try it on a clean PC.
Agree with attachment list change: good spot. Agree with idea of adding time, but code could be more simply expressed as:
((DateTime)Date).ToString("g")
which produces the same 'short date + space + short time' result.
The readme changes, I don't really understand.
Why Open a local folder
when double-clicking on the solution file opens Visual Studio and the project?
Why press Ctrl+Shift+B
? It doesn't do anything on my machine, the hotkey is F6.
Why switch to Release mode at all? If you do, why use the Configuration Manager, which you haven't told them how to get to, and not just change the drop down on the toolbar from Debug to Release?
I forgot to say, thank you for your first contribution as a pull request! All the better for being mostly right 👍
Thank you, we've both after the same thing. This is the first time I've used either VS or C# and it has caused a bit of grief bringing up the environment, esp loading GBs of rubbish, My previous experience is with procedural languages and VB but nothing oop. Using VS to clone repository seems to give the cleanest download and put it in a nice structure.
I'd welcome any direction and I'm sure there is a better path but I wonder if the latest VS release is different (?).
btw - I'm finding the code comments hard to follow. I was expecting something more VB like eg Your First C# Windows Form with a Form.cs object.
It turns out the same version of Visual Studio 2019 as you, it is just that I am running the Community Edition, and I have a different hotkey on the same menu.
If we cannot rely on consistent hotkeys, we had better say Build/Build Solution, and Debug/Start Debugging instead.
It is my code comment that was obscure. I was merely observing that
((DateTime)Date).ToShortDateString() + " " + ((DateTime)Date).ToShortTimeString()
and
((DateTime)Date).ToString("g")
yield the same result, but the latter is the crisper expression.
I would have expected there to be detailed click throughs of using Visual Studio and C# out there somewhere: some people seem to love creating such things.
By the way, what I would like to do is to take some of your changes and not others. However, it is very difficult to partially apply a pull request. By git convention, each group of files making up a change would be made in a different branch, and each would be proposed as a separate pull request.
In this case, what I currently propose to do is to make changes in my own code base: reordering attachments, as proposed, adding time, as proposed, but modified as I mentioned, and build instructions, change only hotkeys to menu directions.
Then ultimately, I will reject your pull request as superseded.
Closing as superseded by a revised version of the changes checked into master
Yes, a pull request for each commit that you want merged into master is usual. It is difficult to separate multiple commits within one pull request, and there is no intended way to separate changes made within one commit.
I did separate commits.
Do I need a separate branch for each PR?
I think the answer is basically yes. You can avoid it, but I wouldn't bother. Here are the instructions that I found.
You actually CAN do this without creating another branch, but it takes a bit of playing around. Here's the steps:
As I see it, the pull request sees commit C as a branch point. Or something.
Note: 01729f3 should be used in preference to ba389f5 since suggested first and change is identical. Other parts of PRs are different.