You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(813,5): warning MSB3539: The value of the property "BaseIntermediateOutputPath" was modified after it was used by MSBuild which can lead to unexpected build results. ...
Expected behavior is no warning. Alternatively anysimple way to configure the output directory would be ok.
The text was updated successfully, but these errors were encountered:
"Note that a Directory.Build.props file would be imported early enough in the common props to correctly set BaseIntermediateOutputPath. – Martin Ullrich"
While that works for some projects, it does not work clean for AspNet core applications, where setting the BaseIntermediateOutputPath in Directory.Build.Props raises the warning mentioned in my first post above. So in other words the problem raised here is:
How can I change the build output directory of an AspNet core application? Setting it in build.props works but gives a warning whose meaning remains unknown.
A most common task when configuring a build is to specify the output path. This task must be really easy and hasslefree.
Currently it is not possible to redirect the path for a web project without receiving a warning. Using the following directory.build.properties
gives the warning
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(813,5): warning MSB3539: The value of the property "BaseIntermediateOutputPath" was modified after it was used by MSBuild which can lead to unexpected build results. ...
Expected behavior is no warning. Alternatively any simple way to configure the output directory would be ok.
The text was updated successfully, but these errors were encountered: