title: specify build action of content - Nuget
body: <p>What is the simplest way to tell Nuget package to add all css files as an embedded resource (ie build action is embedded resource).</p>
  
  <p>I am trying to do it through install.ps1 in the tools folder but still cant get anywhere</p>
  
  <p>Note: I am creating the package from the directory structure(tools\content\lib)</p>
  
  <p>This is my install.ps1 which does not work.</p>
  
  <pre><code>param($installPath, $toolsPath, $package, $project)
  $MsbNS = @{msb = 'http://schemas.microsoft.com/developer/msbuild/2003'}    
  function EmbeddContent($ProjectLink, [string]$XPath)
  {
      $nodes = @(Select-Xml $XPath $ProjectLink -Namespace $MsbNS | Foreach {$_.Node})
  
      foreach ($node in $nodes)
      {   
      if($node.Include.StartsWith("Content\css"))
      {           
          $cet = $node.ownerdocument.CreateElement("EmbeddedResource")
          $cet.setAttribute("Include", $node.Include)
          $parent = $node.ParentNode          
          [void]$parent.RemoveChild($node)
          [void]$parent.Appendchild($cet)        
      }
      }
  }
  $project.Save()
  $fileLocation = $project.FileName
  $dte.ExecuteCommand("Project.UnloadProject");
  
  $proj = [xml](gc $fileLocation)
  Embeddcontent $fileLocation '//msb:Project/msb:ItemGroup/msb:Content'
  $proj.Save($fileLocation)
  </code></pre>
  
  <p>Help Please .. </p>