Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/dotnet-nugetize/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ int Run(string[] args)
}

// Built-in args we always pass to MSBuild
extra.AddRange(new[]
{
extra.AddRange(
[
// Avoids contention when writing to the dotnet-nugetize MSBuild items file
"-m:1",
// Enable retrieving source link info if supported by the project
Expand All @@ -83,14 +83,16 @@ int Run(string[] args)
"-p:EmitNuspec=true",
// Never emit the actual pkg since that would be the same as just running dotnet pack
"-p:EmitPackage=false",
// Never cleanup previously built packages
"-p:EnablePackCleanup=false",
// Avoid SDK trying to validate the output package since we don't emit it
"-p:EnablePackageValidation=false",
// DTB arguments that speed-up the execution
"-p:SkipCompilerExecution=true",
"-p:DesignTimeBuild=true",
"-p:DesignTimeSilentResolution=true",
"-p:ResolveAssemblyReferencesSilent=true"
});
]);

if (help)
{
Expand Down
Loading