-
Notifications
You must be signed in to change notification settings - Fork 518
A2spa.xproj(8,3): Getting error MSB4019: ... Microsoft.DotNet.Props" was not found? #454
Comments
After copying the directory tree (which contains the desired props file) from the MSBuild directory to the one shown above and restarting from scratch, I am now getting: C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\Extensions\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(25,5): error MSB4184: The expression "Registry:HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0\Setup\EDev@StanDir" cannot be evaluated. [C:\Users\admin\Documents\Visual Studio 2017\Projects\JsServices\a2spa\A2spa.xproj] Any tips appreciated. |
Thanks for letting us know. For now, please use VS2015. Ensuring VS2017RC compatibility is being tracked in issue #440. |
I have found a workaround. This is what I did:
After that I was able to open to project and run it inside VS 2017. |
@hubert-associates did you ever get around this? I'm hitting the same thing. |
Hi, yes, but in the end only by finding a machine where the desired directory existed and copying it onto the machine where it was missing. Works fine since then. Since I wasted lots of time trying to find a clean way to resolve this, I am fairly sure that it is not a feature :-) It only happened on my machines with both VS2017 RC1 and VS2015 installed... Luckily, I still had a machine without the combination... |
@hubert-associates how did you manage with error |
At that time, I had to copy over the missing files/dirs from another machine where they were installed. Apparently the VS 2017 RC removed them -- they exist on VS 2015 installations. However, this has all been fixed in both the JavascriptServices and VS 2017. So, I'd suggest you just updated both and move forward. |
I've got this error with only VS2015 installed on my box. I checked the directories, and yes, the tree is missing. Damn. |
I tried to find which install the tree is in, couldn't, so I resorted to finding a PC where it was, and just copying it over ... |
Hi. Great idea...
$yo aspnetcore-spa
Looking for additional install/prereq required since I'm always getting this error during spa-creation and upon "dotnet run"
C:\Users\admin\Documents\Visual Studio 2017\Projects\aspnetcorespa\A2spa.xproj(8,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\Extensions\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Indeed, this file is not there on Windows 10, Visual Studio 2015 (and 2017 RC1) installed.
The text was updated successfully, but these errors were encountered: