Skip to content

Fix: MSbuild - incorrect set of BaseIntermediateOutputPath#182

Open
kapitanmliko wants to merge 4 commits into
DarkRiftNetworking:masterfrom
kapitanmliko:fix/base_int_out_path
Open

Fix: MSbuild - incorrect set of BaseIntermediateOutputPath#182
kapitanmliko wants to merge 4 commits into
DarkRiftNetworking:masterfrom
kapitanmliko:fix/base_int_out_path

Conversation

@kapitanmliko
Copy link
Copy Markdown
Contributor

See MSBuild issue bellow:
Setting BaseIntermediateOutputPath correctly in a SDK-based project

Build at the previous state produced warnings as the following one:

C:\Program Files\dotnet\sdk\7.0.203\Microsoft.Common.CurrentVersion.targets(870,5): warning MSB3539: The value of the property "BaseIntermediateOutputPath" was modified after it was used by MSBuild which can lead to unexpected build results. Tools such as NuGet will write outputs to the path specified by the "MSBuildProjectExtensionsPath" instead. To set this property, you must do so before Microsoft.Common.props is imported, for example by using Directory.Build.props. For more information, please visit https://go.microsoft.com/fwlink/?linkid=869650

Every $(ProjectDir) was also populated with 'obj' folder containing project.nuget.g.props\targets after build.

it should be now at ../unordinal/dr-build//obj

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.

1 participant