You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2024. It is now read-only.
I had not realised this could be a general issue when mixing old-style with the new SDK-style projects since this was my first attempt with the new system.
I stumbled upon the same GitHub issue (dotnet/msbuild#4303) but since I had used none of the switches mentioned there plus it was over a year old, I thought it's unrelated.
"It would be great if you could engage there and share any projects (or code) if you like. Any shared example project/solution would help narrow things down a lot."
Can you not use the code I uploaded for the issue? It's only empty projects in a solution with no code. I could upload it to GitHub myself if there's a policy against this. Just please tell me how.
"Engage on github with you to see if there are deficiencies with try-convert that can be solved in a straightforward way"
Unfortunately since I have zero experience with the SDK-style system, I'm not sure what I could do to help.
Before I started working on this, I had made a list with available tools for this .csproj conversion and ended up with these:
Since try-convert was mentioned in the official MS posts regarding .NET Core updates, I did not look into the other ones further.
Maybe I could try the same conversion to see if the same solution works with any of the other ones and report back here. But this will take a while...
We ran into the same problem today and we were able to identify the root problem to some extent. The problem only comes up when there are Project Dependencies setup between a different projects.
Example
ProjectA (net472)
Depends on:
ProjectB (net472,net5.0)
Important: With "Depends on:" I'm not referring to normal project references but to the project dependencies you can setup for the whole solution.
Are we doing anything wrong? Needs more investigation
The text was updated successfully, but these errors were encountered: