aspnetboilerplate: MVC SPA Template is broken

Hi, I have downloaded the newest template from homepage, mvc+spa+entity framework. But after nuget restoration, there are still some references issues unfixed.

For example: The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Test.Core C:\Users\[user]\Desktop\Test\3.0.0\src\Test.Core\TestCoreModule.cs

Can you please fix those minor issues?

Abp package version: 3.0.0 Base framework: .Net 4.6.1

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 37 (17 by maintainers)

Most upvoted comments

hi guys !! i have good news !!

at least searching for a solution, i have found this, and it works!

this is the link to the solution https://github.com/dotnet/corefx/issues/23229#issuecomment-322968208

in my case, this do the trick

<Target Name="UpdateOriginalItemSpecs" AfterTargets="ResolveAssemblyReferences">
    <ItemGroup>
        <ReferencePath>
            <OriginalItemSpec>%(ReferencePath.FileName)</OriginalItemSpec>
        </ReferencePath>
    </ItemGroup>
</Target>

now the empty solution ( the downloaded template v3.0.0 asp.net mvc ) is working, now its time to update my solution from 1.5.1 to 3.0.0. i hope works like this.

@Korigoth try it !

regards