Skip to content

dotnet build's parameter NetCoreBuild is not defined #186

Answered by stijnherreman
kev1010 asked this question in Q&A
Discussion options

You must be logged in to vote

/p parameters in general are documented at https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-build#msbuild

NetCoreBuild is not a generic parameter, it is specific to this SDK. You can see how it is used in

<Import Condition="'$(NetCoreBuild)' == 'true'" Project="$(MSBuildThisFileDirectory)../tools/netstandard2.1/Microsoft.Data.Tools.Schema.SqlTasks.targets"/>
<Import Condition="'$(NetCoreBuild)' != 'true' AND '$(SQLDBExtensionsRefPath)' != ''" Project="$(SQLDBExtensionsRefPath)\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
<Import Condition="'$(NetCoreBuild)' != 'true' AND '$(SQLDBExt…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@kev1010
Comment options

Comment options

You must be logged in to vote
2 replies
@kev1010
Comment options

@zijchen
Comment options

Answer selected by zijchen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants