Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "abdourahmani"

Hi ,

After running "Yarn upgrade" on my project, I started getting errors in this "feature-tree.component.ts" component.

var $combobox = $('<select class="feature-tree-combobox" />');
                    let inputType = feature.inputType as any;
                    _.each(inputType.itemSource.items, function(opt) {
                        $("<option></option>")
                            //.attr('value', opt.value)
                            //.text(opt.displayText)
                            .appendTo($combobox);
                    });

The commented lines show : <<Property 'value' does not exist on type 'string'>> and <<Property 'displayText' does not exist on type 'string'>>.

After commenting out these lines, the app runs fine, so far.

Can you please point me to how to correct these errors ?

Regards, Abdourahmani

Hi ,

Every was ok with VS 15.2 until I upgraded VS 15.3.0.

Now getting this "Castle.Core 4.0.0 depends on System.ComponentModel.TypeConverter (>= 4.0.1) but System.ComponentModel.TypeConverter 4.0.1 was not found. An approximate best match of System.ComponentModel.TypeConverter 4.1.0 was resolved." on all projects.

I cleared nuget cache but it did'nt help.

Please help.

Abdourahmani

Hi there, I'm trying to make my application run, but I'm unable to find where to start to debug these errors. Any help will be highly appreciated.

dotnet --version : 1.0.1 SDKs installed : 1.0.0-preview2-003121, 1.0.0-preview2-003131, 1.0.0-preview2-003133, 1.0.1 Microsoft.NETCore.App : 1.0.0, 1.0.1, 1.0.4, 1.1.1 Below is the package manager output

Thanks

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 "D:\MyWorkingDir\Lbi.Tulipe\Server\.vs\restore.dg"
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\test\Lbi.Tulipe.Tests\project.json...
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Migrator\project.json...
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\project.json...
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Core\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Migrator\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Migrator\Lbi.Tulipe.Migrator.xproj
log  : Restore completed in 5511ms.
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\test\Lbi.Tulipe.Tests\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\test\Lbi.Tulipe.Tests\Lbi.Tulipe.Tests.xproj
log  : Restore completed in 13145ms.
log  : Restoring packages for tool 'Migrator.EF6.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Core\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Core\Lbi.Tulipe.Web.Core.xproj
log  : Restore completed in 15458ms.
error: Project Lbi.Tulipe.Core is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Project Lbi.Tulipe.Core supports: net461 (.NETFramework,Version=v4.6.1)
error: Package Abp.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Zero.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.AutoMapper 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.AutoMapper 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Castle.Log4Net 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Castle.Log4Net 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Zero 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Zero.Ldap 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.Ldap 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: One or more projects are incompatible with .NETCoreApp,Version=v1.1.
error: One or more packages are incompatible with .NETCoreApp,Version=v1.1.
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\Lbi.Tulipe.EntityFramework.xproj
log  : Restore failed in 18075ms.
log  : Restoring packages for tool 'Microsoft.Extensions.SecretManager.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Restoring packages for tool 'Microsoft.VisualStudio.Web.CodeGeneration.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\Lbi.Tulipe.Web.Host.xproj
log  : Restore completed in 18932ms.
Errors in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\Lbi.Tulipe.EntityFramework.xproj
    Project Lbi.Tulipe.Core is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Project Lbi.Tulipe.Core supports: net461 (.NETFramework,Version=v4.6.1)
    Package Abp.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Zero.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.AutoMapper 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.AutoMapper 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Castle.Log4Net 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Castle.Log4Net 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Zero 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Zero.Ldap 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.Ldap 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    One or more projects are incompatible with .NETCoreApp,Version=v1.1.
    One or more packages are incompatible with .NETCoreApp,Version=v1.1.
Showing 11 to 13 of 13 entries