question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MVC SPA Template is broken

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:37 (17 by maintainers)

github_iconTop GitHub Comments

3reactions
linachucommented, Sep 20, 2017

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

0reactions
acjhcommented, Jun 3, 2018

Fixed by https://github.com/dotnet/sdk/issues/1499 in .NET Core 2.1 SDK

Read more comments on GitHub >

github_iconTop Results From Across the Web

MVC 5 Using spa template cannot get to display views
I'm running into the same issue now and cannot, for the life of me, figure out how the SPA MVC 5 template is...
Read more >
who still uses razor pages nowadays? Does everyone go ...
Razor or MVC and JavaScript is still good depending on what you are building. The pendulum of fat client vs thin client is...
Read more >
What I wish I had known about single page applications
A single-page app breaks this paradigm. The web browser sends the ... It all goes back to the template HTML file that single-page...
Read more >
A .NET Developer Primer for Single-Page Applications
NET MVC template into an SPA (with references to the appropriate project files that can be found in the accompanying code download).
Read more >
SPAs vs MPAs/MVC - Are Single Page Apps always better?
I get asked a lot whether one should choose a Single Page Application ( SPA ) or Multi-Page-Application (MPA) for a project.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found