Vs 2019 Error: All build submissions must use project instances from the same project collection

Hello,

after updating 2577 i have the error:
2> Unhandled Exception: All build submissions must use project instances from the same collection of projects.
2> Error: All build submissions must use project instances from the same project collection.

and even more way to clean the project before regeneration.

An idea?

Norbert,

Is that with any project, or a particular one?

all projects that have an active project reference in the project group.

with water, it does not generate an error when linking a project but does not take the classes of the linked project.
after uninstalling version 2577 and reinstalling 2569 everything is ok

Ok, that seems to be an entirely unrelated bug; I;'ll need some more details own that (what project type, whats the exact symptoms/error, etc).

I’ll log the first issue for the VS team.

thanx,
marc

PS: I’ll be out of office tomorrow; as that second issue looks like it’ll fall in my area, my appologies but please expect me to not be able to have a close look until Tuesday.

Thanks, logged as bugs://85275

Good morning Marc,

The net core 5 blazor test project consists of:

-a source in C # (very common C # ;-)) web blazor net core 5.0
-two netstandard oxygen library.

The C # project uses APIs from a business library written in oxygen which itself calls the second oxygen library for firebird data.

in VS2019 I have no other error message than the one already provided.
in Water, the whole list of classes not dynamically linked so without interest.

Personally, there is no urgency when it comes to solving the problem because I rollbacked it.

I can provide a compressed copy but it can do some gigabytes.
Regards,
Norbert

I have the same error, with a .NET 5 Console Application, using Oxygene.

1 Like

Is that building or running? Can I get the full call stack? (If it’s during could, run run ebuild with - -debug to get the call stacks, if you don’t get then in Fire/Water with diagnostic build level. You can copy the ebuild command from the build log.

I need to run out now, will follow up tomorrow; sorry about that.

During build.

As I reinstalled Elements .2575 to continue working, I will do it for tomorrow.

No problem, I have reverted to previous in between.

bugs://85275 got closed with status fixed.

Do I really need to give more information?

Depends. Are we talking the VS issue or the other rather vague one?

In my case, it’s the VS thing that makes building not work.

salut Patrick,
la définition du bug fermé est:

bugs://85275 — VS 2019 Error: All build submissions must use project instances from the same project collection (regression in 2577)

therefore, it is likely that the problem of vs will be fixed in the next version

1 Like

Salut Norbert,
Tu peux aussi utiliser la version 2575, elle a quelques bugs corrigés en plus.

1 Like

Yes, that issue is fixed (pending some more testing)

I still need something concrete for

As I cannot make heads or tails of this description, sorry :(.

no problem, i tried compiling with water to make sure it wasn’t vs crashing again.
I will try again with water in the next version.

1 Like

Same here, .2575 works fine.