tag:help.appveyor.com,2012-11-13:/discussions/problems/25391-msbuild-not-recognized-win-10-and-visual-studio-2019AppVeyor: Discussion 2019-11-12T21:21:36Ztag:help.appveyor.com,2012-11-13:Comment/478274552019-11-11T16:58:13Z2019-11-11T16:58:13Zmsbuild not recognized (win 10 and visual studio 2019)<div><p>Hi,</p>
<p>Removing double quotes around variable value should do the trick:</p>
<pre>
<code>set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin;C:\Program Files (x86)\NuGet;%PATH%</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/478274552019-11-12T10:56:31Z2019-11-12T10:56:33Zmsbuild not recognized (win 10 and visual studio 2019)<div><p>Maybe the morning reboot helped, i had tried to remove double quotes.</p>
<p>I got a new error, should I open a new topic?<br>
I have added the nuget path and the script contains nuget restore but I still get this:</p>
<p>NETSDK1004: Assets file 'C:\Users\appveyor\projects\wpfasynch\Wpfasync\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\Users\appveyor\projects\wpfasynch\Wpfasync\Wpfasync.csproj]</p></div>gianpaolotag:help.appveyor.com,2012-11-13:Comment/478274552019-11-12T19:20:13Z2019-11-12T19:20:13Zmsbuild not recognized (win 10 and visual studio 2019)<div><p>If it's a mixed solution then do <code>dotnet restore</code> instead.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/478274552019-11-12T21:21:34Z2019-11-12T21:21:36Zmsbuild not recognized (win 10 and visual studio 2019)<div><p>hi Feodor,<br>
no luck with dotnet restore either.<br>
It 's a solution that targets netcore 3.0 only (with 2 projects: wpf app + test project)</p>
<p>(I've seen there are quite a few errors like that reported on stackoverlow, so I presume the netcore environment is not stable yet)</p>
<p>Cheers</p></div>gianpaolo