Echoes.Core Target in multi target project


I created a multi target project with just an echoes.core target and set the target framework to .net6.0.

The reference is 8.0.0 preview explicit and the sdk version, runtime version havent been updated.

In the second project JustCoreLibrary its worked properly when I set target framework. (163.0 KB)


What am i missing?

(and yes, I have ,NET 8 installed, and its the default when no v is set…

If you close and reopen the project it applies the changes. I set target framework, closed and reopened. The sdk and runtime version is now set properly.

Hmm. so basically it doesn’t re-resolve when changing target=specific settings? But Build uses the new ones, I assume?

It looks like its just not updating the UI. I see this in the build

                  -> Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget started for CoreTargetLibrary3, Echoes.Core.
                     -> Task RemObjects.EBuild.Elements.ElementsProcessNuGetReferences started for CoreTargetLibrary3, Echoes.Core.
D:                      Looking for Microsoft.NETCore.App.Ref:[3.0,6.0.16]
D:                      Checking repository file:///usr/local/share/dotnet/packs/
D:                      | Package Microsoft.NETCore.App.Ref found in repository file:///usr/local/share/dotnet/packs/.
D:                      | Available Versions of 'Microsoft.NETCore.App.Ref': 8.0.0-preview.1.23110.8, 7.0.5, 7.0.2, 7.0.1, 7.0.0, 7.0.0-rc.2.22472.3, 7.0.0-preview.6.22324.4, 7.0.0-preview.3.22175.4, 6.0.16, 6.0.13, 6.0.12, 6.0.4, 6.0.3, 6.0.2, 6.0.0, 5.0.0-rc.2.20475.5, 5.0.0-rc.1.20451.14, 5.0.0-preview.7.20364.11, 5.0.0-preview.2.20160.6, 3.1.0, 3.0.0, 3.0.0-preview5-27626-15, 3.0.0-preview4-27615-11.
D:                      | Package Microsoft.NETCore.App.Ref:6.0.16 found in repository file:///usr/local/share/dotnet/packs/.
                        Adding Reference 'Microsoft.CSharp.dll'.

Makes sense. i’ll check and fix.

Logged as bugs://E26782.