title: Team Foundation Server error while building and releasing
body: <p>I am learning how to work with TFS .I have three .Net apps which want to build and release them: one is a console application another one is a windows form application and the last is an ASP.NET web application.
  When I build my console and windows form applications their build finish successfully but I can't release them. I got the following error:</p>
  
  <blockquote>
    <p>Solution not found using search pattern 'C:\Agent_work\06ec66ca5\ ** \ * .sln</p>
  </blockquote>
  
  <p>But for ASP.NET  I even can't build it successfully and get this error:</p>
  
  <blockquote>
    <p>Unable to find version '1.0.0' of package 'Microsoft.CodeDom.DotNetCompilerPlatform'</p>
    
    <p>Unable to find version '1.0.0' of package 'Microsoft.Net.Compilers'</p>
    
    <p>Unexpected exit code 1 returned from tool NuGet.exe</p>
  </blockquote>
  
  <p>When I check my web application folder in sources in repository there were both packages install in them, I don't know why this error comes up.</p>
  
  <p>Any guidance to resolve these issues is appreciated.</p>
  
  <p>These are my settings in both windows forms and web application settings:
  <a href="https://i.stack.imgur.com/YhO2s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YhO2s.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/hVRbo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hVRbo.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/6PjWf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6PjWf.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ZINSt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZINSt.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Led7Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Led7Q.png" alt="enter image description here"></a></p>
  
  <p>And the result:</p>
  
  <p><a href="https://i.stack.imgur.com/bajVT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bajVT.png" alt="enter image description here"></a></p>
  
  <p>In release section it shows:</p>
  
  <p><a href="https://i.stack.imgur.com/cTEJx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cTEJx.png" alt="enter image description here"></a></p>
  
  <p>Build in web app:</p>
  
  <p><a href="https://i.stack.imgur.com/rsnpv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rsnpv.png" alt="enter image description here"></a></p>
  
  <p>That was all settings that I had.</p>