|
I have a framework that I'vev been developing in .Net 4.5.2 over the years. Its all stored in individual repos in GitHub.
There are 25 individual projects. Now I want to increment the version to 4.7.2, but when I try to update the versions, it breaks some apps.
So, what's the right way to set this all up in GitHub? Would you create a branch for each version?
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
If you update the target framework for an assembly, then you need to update the target for anything that references that assembly. That should only be a problem if you're not updating the target for everything, which doesn't sound like the case here.
If you start from the bottom up, then you may get errors when you first open a project that targets 4.5.x and references an assembly you've just updated to 4.7.x; but those should go away once you change that project's target framework.
If that bothers you, then it may be easiest to work from the top down; start with the applications, then the assemblies they reference, then any transitive references, and so on. Once that's done, you can work your way back up, updating the references at each level.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
The problem us that I still have apps that target my 4.5 assemblies, so I think I need to create copies (new versions) of my assemblies.
I was considering create a new branch under MyAssembly called 4.5, then another called called 4.7, etc.
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
If the apps target 4.5, then the assemblies they use need to target 4.5.
Creating separate branches might work; but there's a good chance the branches would drift further and further apart over time, making it harder to apply bug fixes to them all.
I'd be more inclined to use multi-targeting[^] - have one branch, with one project, building for multiple framework versions. Where needed, you can use conditional compilation to add features to the 4.7 version that won't be included in the 4.5 version.
How to multitarget | Develop libraries with the .NET CLI - .NET | Microsoft Learn[^]
If you're updating the apps to at least 4.7.2, then it would probably be a good idea to have the libraries target .NET Standard 2.0[^], the last "standard" version supported by .NET Framework.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I'm a part of a Members Only club where I'm working on an app for them. We have coded membership cards.
They have a keypad to open the door and they want to implement an electronic Card Reader Door Lock and we want to build it into the app so they can lock people out as needed, say when their membership expires.
This would be like a hotel door lock, except I only need one lock, and, most importantly, I need to be able to build it into my app, so I need a solution that comes with an API I can tap into.
Anyone know of anything like this?
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
Sounds like a job for NFC. Many phones these days do NFC, and for the members that don't have one, there's a "credit card" option.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Can you elaborate on this a little more? I looked up 'NFC', but the results are a bit vauge
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
Near Field Communication - The range is only a couple of inches.
Someone's phone can be used as a "key" to unlock the door.
|
|
|
|
|
|
Peter_in_2780 wrote: Also it might be worth chatting to @glennPattonWork . He's known to dabble in such things.
How do I reach out to Glenn?. I click this link and it takes me to his profile, but I don't see any way to message him
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
If you post something in a forum here with an @username in the body of the message, they should receive a notification that they have been mentioned.
See what happens, @kevinmarois !
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Poor old username[^] - a lurking member for nearly 21 years, and they get an email every time someone wants to explain how the "mentions" system works.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Never fear, Glenn is here. help you!
Dabble is correct, I am trying to convince people they are actually using NFC while they claim to be using RFID.
NFC as other have said is a short range protocol for reading and writing data between a tag. I think there are limits imposed on the range you can operate at. I'm fairly sure these are imposed by the power applied to the antenna. I'm more an expert on RFID though. If I can help I will...
|
|
|
|
|
I am remodeling the restrooms in a Business building that has already been built, do I need to use the most recent version of ICC A117.1 or can I use the ICC 117.1-2009 standards?
|
|
|
|
|
Don't have a clue: you found the wrong site.
"Design and Architecture" in this context relates to the the design of complex software systems, and the decisions related to overall software system structure and behavior.
It has a total of sod all to do with how high the bathroom stall doors should be or whether the hinges should be on the left, right, or top edge.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Don't bother with standards, just dig a 40 foot hole in the car park and put a canvas shelter round it.
|
|
|
|
|
🎶 Don't dig there, dig it elsewhere.
You're digging it round and it ought to be square. 🎶
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Ah, the great Bernard Cribbins.
|
|
|
|
|
You are very much on the wrong site.
Next time you want to post on a forum you've never heard of before, take a look around at the other questions to see if the forum is what you think it is.
|
|
|
|
|
I wonder if they will manage to find their way back here?
|
|
|
|
|
Member 16030517 wrote: use the most recent version of ICC A117.1 or can I use the ICC 117.1-2009
You will need to use "the most recent" one which appears to be 2017.
However realistically in an existing building it depends on what you are actually doing in terms of the remodel.
|
|
|
|
|
Can anyone list the criteria for evaluating a website that has UX UI standards or not? I am creating my own website now, so i need some useful advices from you guys.
|
|
|
|
|
|
To design a UX-UI website:
1) Recognize the problems that your users face.
2) Write user stories
3) Create a list of interfaces
4) Determine design trends
5) Establish a prototype
|
|
|
|
|
I have a class A whose instances contain a few class B's, and a few class C's. The objects are all constructed from database records, one record representing a single A, B or C. The objects are read from the database and created at application startup.
The problem is that I can't decide between different instance creation strategies.
-- Should I call a single method of class A, and have A construct all of its contained B's and C's?
-- Should I have a separate factory class construct all three classes and set which objects are contained by which other objects?
-- Or maybe a factory class that constructs A, and in turn A constructs its B's and C's?
Which pattern is most preferred? Perhaps one I haven't mentioned?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|