2020年12月22日星期二

How to copy specific folder from a Razor Class Library to the destination via Nuget?

I made a Razor class library project as following in .NET 5.0

enter image description here

I want to make a NuGet package with the Areas folder inside it

enter image description here

So that whenever this package is installed, the whole folder with all its files in the destination will be copied with the same name.

How to pack the whole Areas folder via dotnet pack command?

enter image description here

https://stackoverflow.com/questions/65367535/how-to-copy-specific-folder-from-a-razor-class-library-to-the-destination-via-nu December 19, 2020 at 03:15PM

没有评论:

发表评论