Base solution for your next web application

Activities of "joshboilered"

Hey Guys,

I downloaded the .Net Core MPA version, changed the startup proj and ran dotnet restore per your "Get Started" instructions. The project doesn't build, I receive 150 errors right out of the gate. Errors listed below, I did not change the project from what was distributed.

PATH=.\node_modules.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git C:\Program Files\dotnet\dotnet.exe restore "C:\Visual Studio 2015\Projects\ASPZeroTestProjv2.vs\restore.dg" log : Restoring packages for C:\Visual Studio 2015\Projects\ASPZeroTestProjv2\src\ASPZeroTestProj.Web.Core\project.json... log : Restoring packages for C:\Visual Studio 2015\Projects\ASPZeroTestProjv2\test\ASPZeroTestProj.Tests\project.json... log : Restoring packages for C:\Visual Studio 2015\Projects\ASPZeroTestProjv2\src\ASPZeroTestProj.Core\project.json... log : Restoring packages for C:\Visual Studio 2015\Projects\ASPZeroTestProjv2\src\ASPZeroTestProj.Migrator\project.json... log : Restoring packages for C:\Visual Studio 2015\Projects\ASPZeroTestProjv2\src\ASPZeroTestProj.Web.Host\project.json... log : Restoring packages for C:\Visual Studio 2015\Projects\ASPZeroTestProjv2\src\ASPZeroTestProj.Application\project.json... log : Restoring packages for C:\Visual Studio 2015\Projects\ASPZeroTestProjv2\src\ASPZeroTestProj.Web.Mvc\project.json... error: Unable to resolve 'Abp (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.AutoMapper (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.EntityFramework (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Zero.Ldap (>= 1.2.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Castle.Log4Net (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Migrator.EF6.Tools (>= 1.0.8)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.EntityFramework (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.AutoMapper (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Zero.Ldap (>= 1.2.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'EPPlus (>= 4.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'SharpZipLib (>= 0.86.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.AutoMapper (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.EntityFramework (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Zero.Ldap (>= 1.2.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Swashbuckle (>= 6.0.0-beta902)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'PaulMiami.AspNetCore.Mvc.Recaptcha (>= 1.1.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Microsoft.AspNetCore.Authentication.JwtBearer (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Microsoft.AspNetCore.Authentication.Facebook (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Microsoft.AspNetCore.Authentication.Google (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Microsoft.AspNetCore.Authentication.MicrosoftAccount (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Microsoft.AspNetCore.Owin (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.AspNetCore (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.HangFire (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Owin (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.RedisCache (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Web.SignalR (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Zero.AspNetCore (>= 1.2.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Migrator.EF6.Tools (>= 1.0.8)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.EntityFramework (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'EPPlus (>= 4.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'SharpZipLib (>= 0.86.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.AutoMapper (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Zero.Ldap (>= 1.2.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'dotnet-test-xunit (>= 2.2.0-preview2-build1029)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'xunit (>= 2.2.0-beta2-build3300)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'xunit.extensibility.execution (>= 2.2.0-beta2-build3300)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'xunit.runner.visualstudio (>= 2.2.0-beta2-build1149)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.TestBase (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'EPPlus (>= 4.1.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'SharpZipLib (>= 0.86.0)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.AutoMapper (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Migrator.EF6.Tools (>= 1.0.8)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.EntityFramework (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp (>= 1.2.1)' for '.NETFramework,Version=v4.6.1'. error: Unable to resolve 'Abp.Zero.Ldap (>= 1.2.0)' for '.NETFramework,Version=v4.6.1'. ...rinse and repeat for each proj in the solution.

<cite>joshBoilered: </cite>

I would appreciate it if you guys could update the project on your end so that I can redownload and build right out of the gate to showcase this next week to my boss. Thanks!

Any updates on this issue? :?:

<cite>ismcagdas: </cite> Hi,

It might be related to not applied migrations as well. I suggest you to run project before updating nuget packages, and see if it works or not.

Then you can update ABP nuget packages.

Thanks.

I'm in the same boat, only with the paid version. I have VS2015, Update 3, etc. I can create a new .net core mvc project from scratch targeting both .net core and .net framework 4.6. But when I download from your site / and from zero site, when I build the project out of the box, I get 100+ errors relating to the project.json dependencies.

Has something changed recently to cause the project to not build?

In case anyone else has this issue, it was related to not having the latest TypeScript nuget package. Thanks for resolving Halil!

Tried to run the migrator against;

"Default": "Server(localdb)\mssqllocaldb;Database=ProjectName;Trusted_Connection=True;MultipleActiveResultSets=true"

But received the following error. I don't have SQL so I spun up a quick db in Azure, changed my connection string and re-ran the migrator, same issue.

Any suggestions? Thanks.

Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)

at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) ... more sql errors then; Run(Boolean skipConnVerification) in C:\Users\joshr\Documents\Visual Studio 2015\Projects\ProjectName\src\ProjectName.Migrator\MultiTenantMigrateExecuter.cs:line 60

ClientConnectionId:00000000-0000-0000-0000-000000000000

Hello,

I'm walking through the phonebook tutorial. I'm at this step: Open Windows Command Prompt, locate to the folder containing the .EntityFramework project and run the "dotnet ef migrations add "Added_Persons_Table"

when I run this command, I receive a response stating;

The specified framework 'Microsoft.NETCore.App', version '1.1.0' was not found.

  • Check application dependencies and target a framework version installed at: C:\Program Files\dotnet\shared\Microsoft.NETCore.App
  • The following versions are installed: 1.0.1
  • Alternatively, install the framework version '1.1.0'.

But when I; Install-Package Microsoft.NETCore.App via PM, I receive a message stating that 4.6.1 is not compatible.

Seems like a catch 22... Any suggestions?

I read that some are changing this;

"frameworks": { "net461": { //"Microsoft.NETCore.App": "1.1.0" "Microsoft.NETCore.App": "1.0.0-rc2-3002702" } }

to something more like this;

"frameworks": { "net461": { }, "netcoreapp1.0": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", "version": "1.1.0" } } } }

I tired this but it didn't work either.

<cite>ismcagdas: </cite> Hi,

You need to install it to your computer not to project itself. Please download and install from here <a class="postlink" href="https://www.microsoft.com/net/core#windowsvs2015">https://www.microsoft.com/net/core#windowsvs2015</a>.

Hello,

As illustrated above, I have it installed : - The following versions are installed: 1.0.1

The link that you provided downloads the above, <a href="https://go.microsoft.com/fwlink/?LinkID=827546" class="os button active">Download .NET Core 1.0.1 tools Preview 2</a>

Zero is asking for: The specified framework 'Microsoft.NETCore.App', version '1.1.0' was not found.

Scott Hanslemen is reccomending a dependency within .net 461 here; <a class="postlink" href="http://www.hanselman.com/blog/HowToReferenceAnExistingNETFrameworkProjectInAnASPNETCore10WebApp.aspx">http://www.hanselman.com/blog/HowToRefe ... ebApp.aspx</a>

Others have had to do something similar: <a class="postlink" href="https://jonhilton.net/2016/09/07/using-asp-net-core-against-net-4-6/">https://jonhilton.net/2016/09/07/using- ... t-net-4-6/</a>

Can you tell me what you recommend for this bug? Thanks.

Please advise, thanks.

<cite>chrisworrell: </cite> josh i had the same issue and discovered i needed to install

<a class="postlink" href="https://www.microsoft.com/net/download/core#/current">https://www.microsoft.com/net/download/core#/current</a>

hope that helps

Worked, thank you!

Question

Hey Guys,

In a typical .net project, I right click on the web project and publish to azure. However, this is for smaller projects where I haven't followed an NLayered approach. What are the steps to publish all the projects to Azure vs. just Web? I didn't see any documentation for this, thanks.

ismcagdas,

I'd like to download the template as well. However the link you provided returns a 404 page. Please advise.

Thanks.

Showing 1 to 10 of 23 entries