dotnet / project-system

The .NET Project System for Visual Studio
MIT License
967 stars 386 forks source link

Visual Studio can't handle the case when two dotnet core project file are in same folder #1528

Open yhvicey opened 7 years ago

yhvicey commented 7 years ago

When there are two dotnet core project file in same folder Visual Studio will crash or get stucked. And if reopen it can't restore nuget packages correctly( e.g. One project is NETCoreApp and the other is NETStandard, the NETStandard project can't restore its nuget package).

davkean commented 7 years ago

Nice catch. I've briefly identified some issues that I know will affect this, but at the time I was thinking multiple projects sharing output/intermediate directories, I was not thinking about two projects in the same directory, this of course will run to the same issues!

Here's two that I know about: https://github.com/Microsoft/msbuild/issues/1645 https://github.com/NuGet/Home/issues/4463

We'll investigate the hangs/crashes as well.

weifenluo commented 11 months ago

Also https://github.com/NuGet/Home/issues/4463