Standalone Angular Project failed to create for .NET 8 and Angular 16

Mark Roebuck 0 Reputation points
2023-11-23T21:18:52.14+00:00

I'm using Visual Studio build 17.8.1, and I get the following error message when trying to created a project using the Standalone Angular Project Template:

 User's image

 The resulting project partially creates and can't be used. This is the project file:

<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/0.5.127-alpha">
  <PropertyGroup>
    <StartupCommand>npm start</StartupCommand>
    <JavaScriptTestFramework>Jasmine</JavaScriptTestFramework>
    <!-- Allows the build (or compile) script located on package.json to run on Build -->
    <ShouldRunBuildScript>false</ShouldRunBuildScript>
    <!-- Folder where production build objects will be placed -->
    <PublishAssetsDirectory>$(MSBuildProjectDirectory)\dist\RoebuckTechnology\</PublishAssetsDirectory>
  </PropertyGroup>
</Project>

nuget.org lists Microsoft.VisualStudio.JavaScript.Sdk/0.5.127-alpha.

Visual Studio was listing Visual Studio offline extensions as the source for packages, to which I added nuget.org with the source of https://api.nuget.org/v3/index.json

I'm not clear if nuget.org is present in the current package manager for creating the new project because I can't open the created project. A previous recent project which did have nuget.org as a package source also won't open whereas it was opening before. It could be because I upgraded from .NET 7 to .NET 8 or it could be because I changed to Visual Studio build 17.8.1.

Any help to resolve this will be very appreciated.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more