Nabil Dendane
Nabil Dendane

Reputation: 73

Publish core3.1 web application

when I publish my core 3.1 web application in a folder by frameworck dependent mode, the size of the folder generated was 125 MB ... it is huge in addition to the classic asp.net application. i have many folder ("cs", "de", "es" "fr" ect...), dll like Microsoft.CodeAnalysis.CSharp.dll (5 MB) and other... in my {assembly name}.DEPS.json file i have all dependency... the Microsoft.CodeAnalysis.CSharp.dll was referenced but i dont used in my application!!! where does this file come from? and how unrefenced this dll? and how can i reduce my publish folder?

Upvotes: 2

Views: 633

Answers (1)

Arpit Jain
Arpit Jain

Reputation: 1315

At the time of publishing there is a option to produce a single file you can do it by choosing file option. By this size also decrease in which your only single file is publish.

enter image description here

Upvotes: 3

Related Questions