Bunun bakmak gözlerin daha ihtiyacım var. Aşağıdaki kod görsel stüdyoda çalıştırılıyor ve boştayken yeşil kenar çubuğu sözdizimi doğru olduğunu gösterir.
Ben paket yöneticisi konsolunda bir eklenti göç çalıştırdığınızda Ancak aşağıdaki hata ile yanıt verir.
':' Veya '}' beklenen (817) geçersiz nesne, geçirilen.
Benim bağımlılık uygulaması ile meseleyi görünüyor ama eksik parantez veya virgül herhangi bir örneğini bulmak mümkün değil.
Bunu bulabilirsek ben memnuniyetle bir yukarı oyu ile cevap verecektir. Teşekkür ederim!
{
buildOptions: {
emitEntryPoint: true,
preserveCompilationContext: true
},
dependencies: {
Microsoft.NETCore.App: {
version: 1.0.1,
type: platform
},
Microsoft.AspNetCore.Diagnostics: 1.0.0,
Microsoft.Extensions.Configuration.FileExtensions: 1.0.0,
Microsoft.AspNetCore.Server.IISIntegration: 1.0.0,
Microsoft.AspNetCore.Server.Kestrel: 1.0.1,
Microsoft.Extensions.Logging.Console: 1.0.0,
Microsoft.Extensions.Configuration.Json: 1.0.0,
Microsoft.AspNetCore.StaticFiles: 1.0.0,
Microsoft.AspNetCore.Mvc: 1.0.0,
Microsoft.EntityFrameworkCore.SqlServer: 1.1.0,
Microsoft.EntityFrameworkCore.Tools: 1.1.0-preview4-final,
Microsoft.AspNetCore.Identity: 1.0.0 //New package required for added functionality
},
frameworks: {
netcoreapp1.0: {
imports: [
dotnet5.6,
portable-net45+win8
]
}
},
publishOptions: {
include: [
wwwroot,
web.config
]
},
runtimeOptions: {
configProperties: {
System.GC.Server: true
}
},
scripts: {
postpublish: [ dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework% ]
},
tools: {
Microsoft.AspNetCore.Server.IISIntegration.Tools: 1.0.0-preview2-final,
Microsoft.EntityFrameworkCore.Tools: 1.1.0-preview4-final
}
}