title: Overriding nuget package name when using "nuget pack" with a visual studio project
body: <p>I am currently generating nuget packages by passing in a csproj file instead of a nuspec file.  The problem is that I need to change the name of the nuget package to avoid conflicts with another project.</p>
  
  <p>This is the command I'm running:</p>
  
  <p><code>
  "C:\Program Files\dotnet\dotnet.exe" pack C:\VSTS\Agent\_work\1\s\src\MyProject\MyProject.csproj --include-symbols --include-source --output C:\VSTS\Agent\_work\1\a --no-build /p:Configuration=debug --include-symbols --include-source /p:PackageVersion=2018.10.11.3
  </code></p>
  
  <p>I tried appending the following to the command, but it seems to be ignored:</p>
  
  <p><code>
  /p:Id=ThisIsWhatThePackageNameShouldBe
  </code></p>
  
  <p>And also tried changing the assembly name in the project (but not the project name), and then doing this:</p>
  
  <p><code>
  /p:Id=$(AssemblyName)
  </code></p>
  
  <p>But this was also ignored.</p>