Archive 17/01/2023.

MSVC group folders gone in the head?!

Lumak

Whose bright idea was it to do this?

weitjong

That would be me :slight_smile:, although that was not the original intention. If I recall correctly the “source_group” was changed in order to fix a long known issue in Xcode where it always complained about the resources being added into multiple groups. The “source_group” for the sources were also changed/dropped around that time because somehow I think that is simpler, i.e. one doesn’t need to know where the group before opening a file. The sources are just grouped either as “Source Files” or “Header Files”. It has been like that for many months already! It should not be difficult to put the script back though (anyone can do it). I believe the “source_group” thingy is only being honored by VS and Xcode, and ignored by the rest of the IDEs.

Lumak

I see. Yeah, I don’t update to the head often. Just looked at what I call “Urho3D-1.6-Orig” folder, where everything in that folder never gets touched and where I make copies from for different type of projects, is dated Dec. 27, 1016.

Ok, I’ll make changes to add the “source group” to my msvc projects. Although, I hate the idea of having to do this every time I update to the head… but that only happens every 6-7 months, haha.

weitjong

If the majority VS users think otherwise also, we could try to carefully add back the source group without causing any regression to Xcode’s build tree generation.

Eugene

I’ve just re-generated Urho and was scared by this source mess. It definetely have to be reverted for Visual Studio.

JimSEOW

Hi Eugene, can u revert? Are u using VS2015 or VS2017?

JimSEOW

How often this one-person decision to change something without requesting feedback from VS users? Pls let me know so I could make the appropriate recommendations.

If this happens often, we need to implements a community best practice. Otherwise months of work went down to drain

weitjong

What is your point? Are you suggesting I am breaking VS build on purpose?

JimSEOW

Weighing, u have the big overview that all of us depend on you. If you see something needs to be done, no one can question your decision.

When user feedback, it is a chance for community to learn as a whole.

weitjong

You didn’t answer my question.

JimSEOW

We are deciding if we could go ahead to do something that will have a great impact to children all over the World using Urho3d through UrhoSharp. I need to get feedback if this decision is,wise or the whole vision depends on a few here. U get my point. I only focus on big picture. What is good for the majority.

weitjong

Already explained to Lumak why the change was made. And that we are all human and that mistakes do happen. Urho3D is a cross platform project, with that it means it is easy to inadvertently break other platform or build on other IDE due to limited tests. When that happened, we just own the problem and fix it. So, what is your issue. What is your point?

weitjong

If you want make Urho great, by all mean do it. Don’t just talk rubbish here.

JimSEOW

Your guys have done good. I tried 12 months ago. No success. Now i am comparing UWP XAML interop for SharpDx, OpenGLE, and UrhoSharp. Before Trying Urho3D again, try to figure what have achieved. Great job to all have contributed.

weitjong

I think we are rather off topic now. So, may I request you to create another topic to further your discussion there. Thanks.

JimSEOW

Sound like a plan :slight_smile:

weitjong

I am home and have some free time. Since this is a matter of great emergency, the “source mess” is being dealt with immediately :slight_smile:. Tested on both Win7 VM (for Windows 64bit platform only) and Mac VM (for macOS + iOS platforms only).

cadaver

Can confirm source folders appearing in VS2015. Thanks!

Eugene

Thanks! It works now.

Lumak

Thx, weitjong. saved me the trouble.