Support forum for ASP.NET Zero (https://aspnetzero.com/).
By jdavis01
#23271 Just downloaded the 4.5.1 version of aspnetzero ( Aspnet Core & Jquery 4.61 framework) and it will not build.

I am getting like 800 namespace issues and conflicting libs errors. I tried to update the packages and no good.

Suggestions?
By jdavis01
#23544 I am running VS2017 15.4 with dotnet 2.0 sdk and runtime installed. I have attached photos of the some of the reference issues..

Here is the output from the build..

Code: Select allRestoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
Error occurred while restoring NuGet packages: The given key was not present in the dictionary.
1>------ Build started: Project: ScratchPad.Core, Configuration: Debug Any CPU ------
1>ScratchPad.Core -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Core\bin\Debug\net461\ScratchPad.Core.dll
2>------ Build started: Project: ScratchPad.Application, Configuration: Debug Any CPU ------
3>------ Build started: Project: ScratchPad.EntityFrameworkCore, Configuration: Debug Any CPU ------
2>Localization\LanguageAppService.cs(127,31,127,76): warning CS0618: 'CultureInfoHelper.Get(string)' is obsolete: 'Use CultureInfo.GetCultureInfo instead!'
2>Localization\LanguageAppService.cs(128,33,128,80): warning CS0618: 'CultureInfoHelper.Get(string)' is obsolete: 'Use CultureInfo.GetCultureInfo instead!'
2>ScratchPad.Application -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Application\bin\Debug\net461\ScratchPad.Application.dll
2>Done building project "ScratchPad.Application.csproj".
4>------ Build started: Project: ScratchPad.ConsoleApiClient, Configuration: Debug Any CPU ------
4>ScratchPad.ConsoleApiClient -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\test\ScratchPad.ConsoleApiClient\bin\Debug\net461\ScratchPad.ConsoleApiClient.exe
3>ScratchPad.EntityFrameworkCore -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.EntityFrameworkCore\bin\Debug\net461\ScratchPad.EntityFrameworkCore.dll
5>------ Build started: Project: ScratchPad.Web.Core, Configuration: Debug Any CPU ------
6>------ Build started: Project: ScratchPad.Tests, Configuration: Debug Any CPU ------
7>------ Build started: Project: ScratchPad.Migrator, Configuration: Debug Any CPU ------
5>C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Web.Core\ScratchPad.Web.Core.csproj : warning NU1603: Hangfire.Core 1.6.16 depends on Newtonsoft.Json (>= 5.0.0) but Newtonsoft.Json 5.0.0 was not found. An approximate best match of Newtonsoft.Json 5.0.1 was resolved.
6>Localization\LanguageAppService_Tests.cs(28,17,28,42): warning CS0162: Unreachable code detected
6>MultiTenantFactAttribute.cs(11,17,11,21): warning CS0162: Unreachable code detected
6>MultiTenantTheoryAttribute.cs(11,17,11,21): warning CS0162: Unreachable code detected
5>ScratchPad.Web.Core -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Web.Core\bin\Debug\net461\ScratchPad.Web.Core.dll
5>Done building project "ScratchPad.Web.Core.csproj".
8>------ Build started: Project: ScratchPad.Web.Mvc, Configuration: Debug Any CPU ------
9>------ Build started: Project: ScratchPad.Web.Host, Configuration: Debug Any CPU ------
10>------ Build started: Project: ScratchPad.Web.Public, Configuration: Debug Any CPU ------
7>ScratchPad.Migrator -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Migrator\bin\Debug\net461\ScratchPad.Migrator.exe
6>ScratchPad.Tests -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\test\ScratchPad.Tests\bin\Debug\net461\ScratchPad.Tests.dll
6>Done building project "ScratchPad.Tests.csproj".
9>C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Web.Host\ScratchPad.Web.Host.csproj : warning NU1603: Hangfire.Core 1.6.16 depends on Newtonsoft.Json (>= 5.0.0) but Newtonsoft.Json 5.0.0 was not found. An approximate best match of Newtonsoft.Json 5.0.1 was resolved.
8>C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Web.Mvc\ScratchPad.Web.Mvc.csproj : warning NU1603: Hangfire.Core 1.6.16 depends on Newtonsoft.Json (>= 5.0.0) but Newtonsoft.Json 5.0.0 was not found. An approximate best match of Newtonsoft.Json 5.0.1 was resolved.
8>Areas\App\Controllers\LanguagesController.cs(123,17,123,56): warning CS0618: 'CultureInfoHelper.Get(string)' is obsolete: 'Use CultureInfo.GetCultureInfo instead!'
8>Areas\App\Controllers\LanguagesController.cs(130,17,130,52): warning CS0618: 'CultureInfoHelper.Get(string)' is obsolete: 'Use CultureInfo.GetCultureInfo instead!'
8>ScratchPad.Web.Mvc -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Web.Mvc\bin\Debug\net461\ScratchPad.Web.Mvc.exe
8>Done building project "ScratchPad.Web.Mvc.csproj".
10>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.
10>Controllers\AccountController.cs(6,11,6,21): error CS0234: The type or namespace name 'Extensions' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Controllers\AccountController.cs(7,11,7,18): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Controllers\AccountController.cs(8,11,8,17): error CS0234: The type or namespace name 'Timing' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\FrontEndNavigationProvider.cs(1,11,1,22): error CS0234: The type or namespace name 'Application' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\FrontEndNavigationProvider.cs(2,11,2,23): error CS0234: The type or namespace name 'Localization' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\ScratchPadWebFrontEndModule.cs(1,11,1,24): error CS0234: The type or namespace name 'Configuration' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\ScratchPadWebFrontEndModule.cs(2,11,2,18): error CS0234: The type or namespace name 'Modules' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\ScratchPadWebFrontEndModule.cs(3,11,3,21): error CS0234: The type or namespace name 'Reflection' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\Startup.cs(2,11,2,21): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\Startup.cs(3,11,3,17): error CS0234: The type or namespace name 'Castle' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Startup\Startup.cs(4,7,4,13): error CS0246: The type or namespace name 'Castle' could not be found (are you missing a using directive or an assembly reference?)
10>Url\WebUrlService.cs(1,11,1,21): error CS0234: The type or namespace name 'Dependency' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Url\WebUrlService.cs(2,11,2,23): error CS0234: The type or namespace name 'MultiTenancy' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\ScratchPadRazorPage.cs(1,11,1,21): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\ScratchPadRazorPage.cs(2,11,2,18): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\ScratchPadRazorPage.cs(3,32,3,37): error CS0234: The type or namespace name 'Razor' does not exist in the namespace 'Microsoft.AspNetCore.Mvc' (are you missing an assembly reference?)
10>Views\ScratchPadViewComponent.cs(1,11,1,21): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderMenuItemViewModel.cs(1,11,1,22): error CS0234: The type or namespace name 'Application' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(3,11,3,22): error CS0234: The type or namespace name 'Application' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(4,11,4,24): error CS0234: The type or namespace name 'Configuration' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(5,11,5,24): error CS0234: The type or namespace name 'Configuration' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(6,11,6,21): error CS0234: The type or namespace name 'Extensions' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(7,11,7,23): error CS0234: The type or namespace name 'Localization' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(8,11,8,18): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewModel.cs(2,11,2,22): error CS0234: The type or namespace name 'Application' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewModel.cs(3,11,3,21): error CS0234: The type or namespace name 'Extensions' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewModel.cs(4,11,4,23): error CS0234: The type or namespace name 'Localization' does not exist in the namespace 'Abp' (are you missing an assembly reference?)
10>Url\WebUrlService.cs(9,69,9,89): error CS0246: The type or namespace name 'ITransientDependency' could not be found (are you missing a using directive or an assembly reference?)
10>Startup\FrontEndNavigationProvider.cs(11,47,11,65): error CS0246: The type or namespace name 'NavigationProvider' could not be found (are you missing a using directive or an assembly reference?)
10>Url\WebUrlService.cs(13,13,13,25): error CS0246: The type or namespace name 'ITenantCache' could not be found (are you missing a using directive or an assembly reference?)
10>Startup\ScratchPadWebFrontEndModule.cs(14,48,14,57): error CS0246: The type or namespace name 'AbpModule' could not be found (are you missing a using directive or an assembly reference?)
10>Startup\FrontEndNavigationProvider.cs(15,44,15,70): error CS0246: The type or namespace name 'INavigationProviderContext' could not be found (are you missing a using directive or an assembly reference?)
10>Startup\FrontEndNavigationProvider.cs(74,24,74,42): error CS0246: The type or namespace name 'ILocalizableString' could not be found (are you missing a using directive or an assembly reference?)
10>Startup\FrontEndNavigationProvider.cs(15,30,15,43): error CS0115: 'FrontEndNavigationProvider.SetNavigation(INavigationProviderContext)': no suitable method found to override
10>Controllers\AboutController.cs(6,36,6,60): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(18,38,18,62): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AboutController.cs(8,16,8,28): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\HomeController.cs(6,35,6,59): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\HomeController.cs(8,16,8,28): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Views\ScratchPadRazorPage.cs(7,57,7,77): error CS0246: The type or namespace name 'AbpRazorPage<>' could not be found (are you missing a using directive or an assembly reference?)
10>Startup\ScratchPadWebFrontEndModule.cs(11,6,11,15): error CS0246: The type or namespace name 'DependsOnAttribute' could not be found (are you missing a using directive or an assembly reference?)
10>Startup\ScratchPadWebFrontEndModule.cs(11,6,11,15): error CS0246: The type or namespace name 'DependsOn' could not be found (are you missing a using directive or an assembly reference?)
10>Views\ScratchPadViewComponent.cs(5,53,5,69): error CS0246: The type or namespace name 'AbpViewComponent' could not be found (are you missing a using directive or an assembly reference?)
10>Controllers\AccountController.cs(37,22,37,40): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(37,27,37,39): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Startup\ScratchPadWebFrontEndModule.cs(24,30,24,43): error CS0115: 'ScratchPadWebFrontEndModule.PreInitialize()': no suitable method found to override
10>Startup\ScratchPadWebFrontEndModule.cs(37,30,37,40): error CS0115: 'ScratchPadWebFrontEndModule.Initialize()': no suitable method found to override
10>Controllers\AccountController.cs(71,22,71,40): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(71,27,71,39): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(81,23,81,41): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(81,28,81,40): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(92,23,92,35): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Views\Shared\Components\Header\HeaderMenuItemViewModel.cs(7,16,7,28): error CS0246: The type or namespace name 'UserMenuItem' could not be found (are you missing a using directive or an assembly reference?)
10>Views\ScratchPadRazorPage.cs(10,16,10,27): error CS0246: The type or namespace name 'IAbpSession' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(20,26,20,48): error CS0246: The type or namespace name 'IUserNavigationManager' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(21,26,21,45): error CS0246: The type or namespace name 'IMultiTenancyConfig' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderMenuItemViewModel.cs(13,40,13,52): error CS0246: The type or namespace name 'UserMenuItem' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(22,26,22,37): error CS0246: The type or namespace name 'IAbpSession' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(23,26,23,42): error CS0246: The type or namespace name 'ILanguageManager' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewModel.cs(13,30,13,42): error CS0246: The type or namespace name 'LanguageInfo' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewModel.cs(15,16,15,28): error CS0246: The type or namespace name 'LanguageInfo' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(24,26,24,41): error CS0246: The type or namespace name 'ISettingManager' could not be found (are you missing a using directive or an assembly reference?)
10>Views\ScratchPadRazorPage.cs(9,10,9,21): error CS0246: The type or namespace name 'RazorInjectAttribute' could not be found (are you missing a using directive or an assembly reference?)
10>Views\ScratchPadRazorPage.cs(9,10,9,21): error CS0246: The type or namespace name 'RazorInject' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewModel.cs(17,16,17,24): error CS0246: The type or namespace name 'UserMenu' could not be found (are you missing a using directive or an assembly reference?)
10>Controllers\AccountController.cs(20,26,20,37): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(21,26,21,39): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(22,26,22,40): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(23,26,23,39): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(26,13,26,24): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(27,13,27,26): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(28,13,28,27): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Controllers\AccountController.cs(29,13,29,26): error CS0012: The type 'AbpController' is defined in an assembly that is not referenced. You must add a reference to assembly 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
10>Views\Shared\Components\Header\HeaderViewComponent.cs(30,13,30,35): error CS0246: The type or namespace name 'IUserNavigationManager' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(31,13,31,32): error CS0246: The type or namespace name 'IMultiTenancyConfig' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(32,13,32,24): error CS0246: The type or namespace name 'IAbpSession' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(33,13,33,29): error CS0246: The type or namespace name 'ILanguageManager' could not be found (are you missing a using directive or an assembly reference?)
10>Views\Shared\Components\Header\HeaderViewComponent.cs(34,13,34,28): error CS0246: The type or namespace name 'ISettingManager' could not be found (are you missing a using directive or an assembly reference?)
10>Done building project "ScratchPad.Web.Public.csproj" -- FAILED.
9>ScratchPad.Web.Host -> C:\Users\jdavis\Documents\_Dev\ScratchPadCore\4.5.1.0\src\ScratchPad.Web.Host\bin\Debug\net461\ScratchPad.Web.Host.exe
9>Done building project "ScratchPad.Web.Host.csproj".
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Attachments
aspnetzero_dotnetcore_mvc_Jquery_461_web.mvc.bower-issues.png
doesn't look like bower is loading correctly.
aspnetzero_dotnetcore_mvc_Jquery_461_web.mvc.bower-issues.png (27 KiB) Viewed 637 times
aspnetzero_dotnetcore_mvc_Jquery_461_builderrors.png
Build Errors on Initial build
aspnetzero_dotnetcore_mvc_Jquery_461_builderrors.png (64.33 KiB) Viewed 637 times
vs2017info.png
VS2017 15.4 installed with dotnet Core 2.0 SDK and Runtime
vs2017info.png (68.95 KiB) Viewed 637 times
User avatar
By aaron
#23546 Check that you have this line in *.Web.Core.csproj:

Code: Select all<PackageReference Include="Abp.AspNetCore" Version="3.0.0" />

and this line in *.Web.Public.csproj

Code: Select all<ProjectReference Include="..\*.Web.Core\*.Web.Core.csproj" />
By jdavis01
#23547 Here is *.Web.Core.csproj

Code: Select all
<PackageReference Include="Abp.AspNetCore" Version="3.0.0" />


Here is *.Web.Public.csproj

Code: Select all<ItemGroup>
    <ProjectReference Include="..\ScratchPad.Web.Core\ScratchPad.Web.Core.csproj" />
  </ItemGroup>
By ismcagdas
#23563 Hi @jdavis01,

Can you check that if you have System.Transactions in your public project's csproj file ?

Code: Select all<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
    .....
    .....
    <Reference Include="System.Transactions" />
</ItemGroup>
By jdavis01
#23575 @Ismcaqdas,
I did not have the
System.Transactions
line in my csproj file. I added it and still was not able to build.

I did find a solution though. I had to open the Visual Studio 2017 command prompt as administrator and run
dotnet restore
on all folders in the project. Once I did that the project compiled and was build.. SUCCESS !!!!

I hope this helps some other folks out with the same issue..