Freelance Project Requests info@CodeDocu.de Software Development in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

Asp.Net Core 2.1 Error: Publish prints too many files

 

Problem:

If you output an Asp.Net Core 2.1 Web application with Publish, project files and all library runtime files will be output

Subject: Upgrade Windows 10 update and Visual Studio 2017 to 2018.Q3

 

Description:

Since last week, the Windows 10 Update 2018-Q4 is running. It is known that since then a lot of problems with the rollout on Windows machines has emerged.

In addition, on the development side under Visual Studio 2017 Community Edition, the publisher of previous Asp.Net Core 2.0 projects has been changed.

When publishing on a file basis, new settings of the publish must be made.

New Publish Settings:

Target Framework

Under Target Framework, the Publish setting for Asp.Net Core 2.0 and Core 2.1 sets Target Framwork: netcoreapp2.1. Another selection is no longer possible.

 

Deployment mode

Under Deployment Mode you can choose between Self-Contained and Framework Dependent

 

Target Runtime

Under Target Runtime can now be selected between:

Portable (standard)

Win-x86 or win-x64

Osx-x86 or linux-x64

 

Publish Asp.Net Core 2.0

Setup Configure

 

 

Output previously Core.2.0

Until last month, the Publish edition has produced a clear file output of the compiled project files.

 

New

Asp.Net Core 2.1 Publish Files

Under Asp.Net Core 2.1, all files of the project plus all files of the Core Framework are now output in Publish.

 

The following files are created in the current Visual Studio 2017 version 15.7 with Windows 10:

The actual project files are highlighted in color below.

 

CoreCompat.System.Drawing.dll

libuv.dll

appsettings.Development.json

appsettings.json

appsettings.production.json

bundleconfig.json

Microsoft.AspNetCore.Session.dll

Microsoft.AspNetCore.SpaServices.dll

Microsoft.AspNetCore.StaticFiles.dll

Microsoft.AspNetCore.WebSockets.dll

Microsoft.AspNetCore.WebUtilities.dll

Microsoft.AI.DependencyCollector.dll

Microsoft.ApplicationInsights.AspNetCore.dll

Microsoft.ApplicationInsights.dll

Microsoft.AspNetCore.Antiforgery.dll

Microsoft.AspNetCore.ApplicationInsights.HostingStartup.dll

Microsoft.AspNetCore.Authentication.Abstractions.dll

Microsoft.AspNetCore.Authentication.Cookies.dll

Microsoft.AspNetCore.Authentication.Core.dll

Microsoft.AspNetCore.Authentication.dll

Microsoft.AspNetCore.Authentication.Facebook.dll

Microsoft.AspNetCore.Authentication.Google.dll

Microsoft.AspNetCore.Authentication.JwtBearer.dll

Microsoft.AspNetCore.Authentication.MicrosoftAccount.dll

Microsoft.AspNetCore.Authentication.OAuth.dll

Microsoft.AspNetCore.Authentication.OpenIdConnect.dll

Microsoft.AspNetCore.Authentication.Twitter.dll

Microsoft.AspNetCore.Authorization.dll

Microsoft.AspNetCore.Authorization.Policy.dll

Microsoft.AspNetCore.AzureAppServices.HostingStartup.dll

Microsoft.AspNetCore.AzureAppServicesIntegration.dll

Microsoft.AspNetCore.CookiePolicy.dll

Microsoft.AspNetCore.Cors.dll

Microsoft.AspNetCore.Cryptography.Internal.dll

Microsoft.AspNetCore.Cryptography.KeyDerivation.dll

Microsoft.AspNetCore.DataProtection.Abstractions.dll

Microsoft.AspNetCore.DataProtection.AzureStorage.dll

Microsoft.AspNetCore.DataProtection.dll

Microsoft.AspNetCore.DataProtection.Extensions.dll

Microsoft.AspNetCore.Diagnostics.Abstractions.dll

Microsoft.AspNetCore.Diagnostics.dll

Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.dll

Microsoft.AspNetCore.dll

Microsoft.AspNetCore.Hosting.Abstractions.dll

Microsoft.AspNetCore.Hosting.dll

Microsoft.AspNetCore.Hosting.Server.Abstractions.dll

Microsoft.AspNetCore.Html.Abstractions.dll

Microsoft.AspNetCore.Http.Abstractions.dll

Microsoft.AspNetCore.Http.dll

Microsoft.AspNetCore.Http.Extensions.dll

Microsoft.AspNetCore.Http.Features.dll

Microsoft.AspNetCore.HttpOverrides.dll

Microsoft.AspNetCore.Identity.dll

Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll

Microsoft.AspNetCore.JsonPatch.dll

Microsoft.AspNetCore.Localization.dll

Microsoft.AspNetCore.Localization.Routing.dll

Microsoft.AspNetCore.MiddlewareAnalysis.dll

Microsoft.AspNetCore.Mvc.Abstractions.dll

Microsoft.AspNetCore.Mvc.ApiExplorer.dll

Microsoft.AspNetCore.Mvc.Core.dll

Microsoft.AspNetCore.Mvc.Cors.dll

Microsoft.AspNetCore.Mvc.DataAnnotations.dll

Microsoft.AspNetCore.Mvc.dll

Microsoft.AspNetCore.Mvc.Formatters.Json.dll

Microsoft.AspNetCore.Mvc.Formatters.Xml.dll

Microsoft.AspNetCore.Mvc.Localization.dll

Microsoft.AspNetCore.Mvc.Razor.dll

Microsoft.AspNetCore.Mvc.Razor.Extensions.dll

Microsoft.AspNetCore.Mvc.RazorPages.dll

Microsoft.AspNetCore.Mvc.TagHelpers.dll

Microsoft.AspNetCore.Mvc.ViewFeatures.dll

Microsoft.AspNetCore.NodeServices.dll

Microsoft.AspNetCore.Owin.dll

Microsoft.AspNetCore.Razor.dll

Microsoft.AspNetCore.Razor.Language.dll

Microsoft.AspNetCore.Razor.Runtime.dll

Microsoft.AspNetCore.ResponseCaching.Abstractions.dll

Microsoft.AspNetCore.ResponseCaching.dll

Microsoft.AspNetCore.ResponseCompression.dll

Microsoft.AspNetCore.Rewrite.dll

Microsoft.AspNetCore.Routing.Abstractions.dll

Microsoft.AspNetCore.Routing.dll

Microsoft.AspNetCore.Server.HttpSys.dll

Microsoft.AspNetCore.Server.IISIntegration.dll

Microsoft.AspNetCore.Server.Kestrel.Core.dll

Microsoft.AspNetCore.Server.Kestrel.dll

Microsoft.AspNetCore.Server.Kestrel.Https.dll

Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.dll

Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.dll

Microsoft.Azure.KeyVault.dll

Microsoft.Azure.KeyVault.WebKey.dll

Microsoft.CodeAnalysis.CSharp.dll

Microsoft.CodeAnalysis.dll

Microsoft.CodeAnalysis.Razor.dll

Microsoft.Data.Edm.dll

Microsoft.Data.OData.dll

Microsoft.Data.Sqlite.dll

Microsoft.DotNet.PlatformAbstractions.dll

Microsoft.EntityFrameworkCore.Design.dll

Microsoft.EntityFrameworkCore.dll

Microsoft.EntityFrameworkCore.InMemory.dll

Microsoft.EntityFrameworkCore.Relational.dll

Microsoft.EntityFrameworkCore.Sqlite.dll

Microsoft.EntityFrameworkCore.SqlServer.dll

Microsoft.Extensions.Caching.Abstractions.dll

Microsoft.Extensions.Caching.Memory.dll

Microsoft.Extensions.Caching.Redis.dll

Microsoft.Extensions.Caching.SqlServer.dll

Microsoft.Extensions.Configuration.Abstractions.dll

Microsoft.Extensions.Configuration.AzureKeyVault.dll

Microsoft.Extensions.Configuration.Binder.dll

Microsoft.Extensions.Configuration.CommandLine.dll

Microsoft.Extensions.Configuration.dll

Microsoft.Extensions.Configuration.EnvironmentVariables.dll

Microsoft.Extensions.Configuration.FileExtensions.dll

Microsoft.Extensions.Configuration.Ini.dll

Microsoft.Extensions.Configuration.Json.dll

Microsoft.Extensions.Configuration.UserSecrets.dll

Microsoft.Extensions.Configuration.Xml.dll

Microsoft.Extensions.DependencyInjection.Abstractions.dll

Microsoft.Extensions.DependencyInjection.dll

Microsoft.Extensions.DependencyModel.dll

Microsoft.Extensions.DiagnosticAdapter.dll

Microsoft.Extensions.FileProviders.Abstractions.dll

Microsoft.Extensions.FileProviders.Composite.dll

Microsoft.Extensions.FileProviders.Embedded.dll

Microsoft.Extensions.FileProviders.Physical.dll

Microsoft.Extensions.FileSystemGlobbing.dll

Microsoft.Extensions.Hosting.Abstractions.dll

Microsoft.Extensions.Identity.Core.dll

Microsoft.Extensions.Identity.Stores.dll

Microsoft.Extensions.Localization.Abstractions.dll

Microsoft.Extensions.Localization.dll

Microsoft.Extensions.Logging.Abstractions.dll

Microsoft.Extensions.Logging.AzureAppServices.dll

Microsoft.Extensions.Logging.Configuration.dll

Microsoft.Extensions.Logging.Console.dll

Microsoft.Extensions.Logging.Debug.dll

Microsoft.Extensions.Logging.dll

Microsoft.Extensions.Logging.EventSource.dll

Microsoft.Extensions.Logging.TraceSource.dll

Microsoft.Extensions.ObjectPool.dll

Microsoft.Extensions.Options.ConfigurationExtensions.dll

Microsoft.Extensions.Options.dll

Microsoft.Extensions.PlatformAbstractions.dll

Microsoft.Extensions.Primitives.dll

Microsoft.Extensions.WebEncoders.dll

Microsoft.IdentityModel.Clients.ActiveDirectory.dll

Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll

Microsoft.IdentityModel.Logging.dll

Microsoft.IdentityModel.Protocols.dll

Microsoft.IdentityModel.Protocols.OpenIdConnect.dll

Microsoft.IdentityModel.Tokens.dll

Microsoft.Net.Http.Headers.dll

Microsoft.Rest.ClientRuntime.Azure.dll

Microsoft.Rest.ClientRuntime.dll

Microsoft.VisualStudio.Web.BrowserLink.dll

Microsoft.WindowsAzure.Storage.dll

Newtonsoft.Json.Bson.dll

Newtonsoft.Json.dll

Readdy.deps.json

Readdy.dll

Readdy.exe

Readdy.pdb

Readdy.runtimeconfig.json

Remotion.Linq.dll

sni.dll

SQLitePCLRaw.batteries_green.dll

SQLitePCLRaw.batteries_v2.dll

SQLitePCLRaw.core.dll

SQLitePCLRaw.provider.e_sqlite3.dll

StackExchange.Redis.StrongName.dll

System.Data.SqlClient.dll

System.IdentityModel.Tokens.Jwt.dll

System.Interactive.Async.dll

System.Runtime.CompilerServices.Unsafe.dll

System.Security.Cryptography.Xml.dll

System.Spatial.dll

System.Text.Encoding.CodePages.dll

System.Text.Encodings.Web.dll

web.config

 

 

 

Mobile
»
Gelöst: One or more projects in the solution were not loaded correctly
»
Resolved: Error message when installing Windows software, untrusted certificate
»
Asp.Net Core 2.1 Error: Publish prints too many files
»
Solved: Project file is incomplete. Expected imports are missing. .Net Core 2 Project
»
Visual Studio Error: GetDeploymentPathFromVsixManifest Task.System.IO.FileNotFoundException
»
Visual Studio Build Error: The command copy VCEnd exited with code 1
»
Package Manager Console: The operation failed for project aspCore03 could not be loaded.
»
Problem: Login To the Windows Store and Account under Visual Studio
»
Visual Studio: Driver Testing Could not load test information.
»
Gelöst: Visual Studio Entwurfsansicht von XAML wieder hergestellt

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de