Add Stride.Core.CompilerServices to the solution filters (.slnf)#3135
Add Stride.Core.CompilerServices to the solution filters (.slnf)#3135Ethereal77 wants to merge 1 commit intostride3d:masterfrom
Stride.Core.CompilerServices to the solution filters (.slnf)#3135Conversation
|
Did you use dotnet or msbuild to build the solution? I think the behavior can be different. |
|
For the Stride solution itself (and the |
|
Since a little while ago, you can use llvm+clang instead of MSVC which makes it work with dotnet build. Just add The reason I asked is because it seems that In any case, adding to the |
| "..\\sources\\core\\Stride.Core.Mathematics\\Stride.Core.Mathematics.csproj", | ||
| "..\\sources\\core\\Stride.Core.MicroThreading\\Stride.Core.MicroThreading.csproj", | ||
| "..\\sources\\core\\Stride.Core.Serialization\\Stride.Core.Serialization.csproj", | ||
| "..\\sources\\core\\Stride.Core.CompilerServices\\Stride.Core.CompilerServices.csproj", |
There was a problem hiding this comment.
Order in the .slnf has no influence on build order I believe (it's based on the same resolution order than the corresponding .sln), so I think it's better to just keep them sorted.
There was a problem hiding this comment.
Oh, yes. Until I saw Stride.Core.CompilerServices was being included by the SDK targets, I thought order was somehow affecting the build. I'll revert the reordering of Stride.Core.
| "..\\sources\\core\\Stride.Core.MicroThreading\\Stride.Core.MicroThreading.csproj", | ||
| "..\\sources\\core\\Stride.Core.Serialization\\Stride.Core.Serialization.csproj", | ||
| "..\\sources\\core\\Stride.Core.CompilerServices\\Stride.Core.CompilerServices.csproj", | ||
| "..\\sources\\core\\Stride.Core\\Stride.Core.csproj", |
| "..\\sources\\core\\Stride.Core.Mathematics\\Stride.Core.Mathematics.csproj", | ||
| "..\\sources\\core\\Stride.Core.MicroThreading\\Stride.Core.MicroThreading.csproj", | ||
| "..\\sources\\core\\Stride.Core.Serialization\\Stride.Core.Serialization.csproj", | ||
| "..\\sources\\core\\Stride.Core.CompilerServices\\Stride.Core.CompilerServices.csproj", |
There was a problem hiding this comment.
Here it was already below the other Core projects. I only placed the new one above Stride.Core. I'll place it below instead (although it won't matter)
Oh, I remember having read about that, but haven't tested. Will do tomorrow. |
baf719b to
966a1ca
Compare
ab329f3 to
482bd28
Compare
PR Details
Stride.Corepacks the analyzers DLL (Stride.Core.CompilerServices) directly from the bin folder. From the.csproj:That means
Stride.Core.CompilerServices.dllmust already exist on disk whenStride.Coreis packed.Building the full solution
Stride.slnsucceeds because it hasStride.Core.CompilerServicesin its build graph, and when the SDK targets reference that project it automatically builds it first. However,Stride.Runtime.slnfomitted it, and thenStride.Corelater failed when it tried to pack the analyzer DLL from disk.This PR adds the
Stride.Core.CompilerServicesproject to theStride.Runtime.snlfto fix this. It also adds it to theStride.Android.slnfandStride.iOS.slnffor the same reasons.Related Issue
No issue. Commented on Discord.
Types of changes
Checklist