A2spa.xproj(8,3): Getting error MSB4019: ... Microsoft.DotNet.Props" was not found? #1242

Closed
opened 2025-08-09 17:19:24 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @ghost on 11/21/2016

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.

*Originally created by @ghost on 11/21/2016* 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 <Import> 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1242
No description provided.