Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

First Build: Angular 2 + Core: 1552 Errors (VS 2017) #3513


User avatar
0
bilalhaidar created

Hello, I downloaded the combined project (latest). Opened in VS and tried to build the solution and I got around 1552 Errors. I am using VS 2017.

Attached is a list of all errors I am seeing in VS. error-log.zip


5 Answer(s)
  • User Avatar
    0
    bilalhaidar created

    OK, I've done the following on command line outside VS 2017.

    • Run yarn
    • Run npm install

    Now, inside VS Error List, I see the following 12 Errors. Basically the errors are related to AppConsts.cs file.

    Also, there are some properties in the dashboard.component.ts that are not defined.

    Thanks

    Severity	Code	Description	Project	File	Line	Suppression State
    Error	CS0006	Metadata file 'D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Core\bin\Debug\netcoreapp1.1\Drc.App.Web.Core.dll' could not be found	Drc.App.Web.Public	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Public\CSC	1	Active
    Error	CS0117	'AppConsts' does not contain a definition for 'LocalizationSourceName'	Drc.App.Application(net461)	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Application\AppAppServiceBase.cs	25	Active
    Error	CS0006	Metadata file 'D:\Projects\Drc.App\aspnet-core\src\Drc.App.Application\bin\Debug\net461\Drc.App.Application.dll' could not be found	Drc.App.Web.Core(net461)	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Core\CSC	1	Active
    Error	CS0006	Metadata file 'D:\Projects\Drc.App\aspnet-core\src\Drc.App.Application\bin\Debug\netcoreapp1.1\Drc.App.Application.dll' could not be found	Drc.App.ConsoleApiClient	D:\Projects\Drc.App\aspnet-core\test\Drc.App.ConsoleApiClient\CSC	1	Active
    Error	CS0006	Metadata file 'D:\Projects\Drc.App\aspnet-core\src\Drc.App.Application\bin\Debug\netcoreapp1.1\Drc.App.Application.dll' could not be found	Drc.App.Tests	D:\Projects\Drc.App\aspnet-core\test\Drc.App.Tests\CSC	1	Active
    Error	CS0006	Metadata file 'D:\Projects\Drc.App\aspnet-core\src\Drc.App.Application\bin\Debug\netcoreapp1.1\Drc.App.Application.dll' could not be found	Drc.App.Web.Public	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Public\CSC	1	Active
    Error	TS2688	Cannot find type definition file for 'jasmine'.	<Unknown>		1	Active
    Error	TS2688	Cannot find type definition file for 'node'.	<Unknown>		1	Active
    Error	TS2339	Property 'totalSales' does not exist on type 'SalesSummaryChart'.	src (tsconfig project)	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Host\src\app\main\dashboard\dashboard.component.ts	112	Active
    Error	TS2339	Property 'totalSalesCounter' does not exist on type 'SalesSummaryChart'.	src (tsconfig project)	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Host\src\app\main\dashboard\dashboard.component.ts	113	Active
    Error	TS2339	Build:Property 'totalSales' does not exist on type 'SalesSummaryChart'.	Drc.App.Web.Host	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Host\src\app\main\dashboard\dashboard.component.ts	112	
    Error	TS2339	Build:Property 'totalSalesCounter' does not exist on type 'SalesSummaryChart'.	Drc.App.Web.Host	D:\Projects\Drc.App\aspnet-core\src\Drc.App.Web.Host\src\app\main\dashboard\dashboard.component.ts	113
    
  • User Avatar
    0
    bilalhaidar created

    i am having these problems when downloading the merged copy of the project.

    When I download separate projects and run each alone, all works fine and applications loads.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @drcgreece,

    What is the version you used for merged solution download ? Is that 4.1.4 ?

    Because there was a related problem in other 4.1.x versions as far as I remember.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    Yes, 4.1.4. For me I won't be using the merged solution, I feel I prefer working on two separate solutions. But in case one needs to have this merged solution, it needs some fixing I guess.

    Thanks

  • User Avatar
    0
    alper created
    Support Team

    ok we'll check it. If we see any error we'll fix