Skip to content

Conversation

@xavierpinho
Copy link
Collaborator

While #34 seemingly fixed #33, checking the CI logs I noticed this message:

Warning: /usr/share/dotnet/sdk/8.0.407/Current/SolutionFile/ImportAfter/Microsoft.NET.Sdk.Solution.targets(36,5): warning NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. [/home/runner/work/DotNetAstGen/DotNetAstGen/DotNetAstGenNew.sln]

This matches my previous hypothesis that building from the solution builds both projects (DotNetAstGen.csproj and DotNetAstGen.Test.csproj), and given that their output folder is the same there are no guarantees they won't overwrite each other.

As such, a more permanent fix seems to entail specifying exactly the .csproj we intend to publish.

since it does not specify an output path, it doesn't seem relevant to change it here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version 0.41.0 is not fully self-contained

3 participants