Hi,
I downloaded the latest release i.e. v5.0.1 (ASP.Net MVC 5.x and jQuery), and built it to receive 4,144 build errors :shock: ???
Also, I am not sure why TypeScript files exist in the solution, because, I am not using Angular. I am using jQuery for my MPA. I have Visual Studio Enterprise 2015 (.Net v4.6.1).
It gives error for the .ts files. I guess, I can exclude them. Also, I get all sorts of errors. The most prominent one is this:
"The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, .....'"
What am I supposed to do here?
FYI, if I somehow merge our code with this solution, I get 23661 build errors. :shock:
Thanks, SparkyJr
12 Answer(s)
-
0
Duplicate of #4145@0da75f62-1c68-4132-b1d7-a8b31f6f9d70
Are you using VS 2017 15.3.3+ and NuGet 4.3+? Did you install .NET Core 2.0 SDK?
-
0
Hi Aaron,
Thanks for your reply!
Are you using VS 2017 15.3.3+ and NuGet 4.3+?
- No, we are using VS 2015 14.0.2+ (.NetFramework v4.6.1) and NuGet v3.4.4
Did you install .NET Core 2.0 SDK?
- No, we are using ASP.Net (.Net Framework v4.6.1) MVC 5, and <ins>not</ins>Core
Regards, SparkyJr
-
0
If you bothered to click the link:
.NET Core is not a dependency, but the SDK is for .NET Standard 2.0.
ABP v3.0.0 is based on .NET Standard 2.0, which is only supported in VS 2017 15.3.3+.
- This concerns you regardless if you are on MVC 5.x, .NET Framework 4.x or .NET Core 2.x.
- The recommended version is VS 2017 15.3.5+.
-
0
OK, thanks Aaron!
So, installing VS 2017 15.3.5+ should solve my problem. Am I correct? Or, do I have to do anything else to fix this?
Regards, SparkyJr
-
0
Please read:
Are you using VS 2017 15.3.3+ and NuGet 4.3+? Did you install .NET Core 2.0 SDK?
If you install a fresh version of VS 2017, then NuGet and .NET Core SDK version should be correct. Otherwise, install those manually.
-
0
Aaron, your questions are confusing me.
You said in your earlier post:
.NET Core is not a dependency, but the SDK is for .NET Standard 2.0.
Now, you are asking me:
Did you install .NET Core 2.0 SDK?
What exactly am I supposed to do?
Should I: Upgrade to VS 2017 15.3.5+ Upgrade NuGet to 4.3+ (Which, I, guess, should happen with VS upgrade?) And, then what? Install .NET Standard 2.0 SDK?
Thanks and regards, SparkyJr
-
0
Try it.
-
0
I was expecting a better reply Aaron. Could you please answer my questions?
We can not waste our time on trying and failing. That's why we are here on this PREMIUM forum.
Please let me know if you know and have answers to my questions, else I will figure them out.
Regards, SparkyJr
-
0
Please read:
If you install a fresh version of VS 2017, then NuGet and .NET Core SDK version should be correct. Otherwise, install those manually.
-
0
Hi @sparkyjr,
As @aaron suggested, you need to install VS 2017 15.3.5+ and .NET Core 2.0 SDK, both are necessary to run AspNEt Zero v5.x. Let us know if it doesn't work for you, we will try to help you again.
Thanks.
-
0
OK, thanks Aaron! That sounds good.
I am installing VS 2017 v15.5, and I am expecting it to fix the errors.
Regards, SparkyJr
-
0
Hi ismcagdas,
Thanks for you reply!
I will be trying out what you guys have suggested, and will get back to you in case I need any help.
Regrads, SparkyJr