修改nuget打包配置

This commit is contained in:
nsnail 2022-11-24 17:13:27 +08:00
parent c8cf4eac49
commit 32f5f27cd9
3 changed files with 20 additions and 4 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
build
bin bin
obj obj
bin\log bin\log
@ -19,5 +20,3 @@ app_data
.idea .idea
node_modules node_modules
dist dist
/src/Ddf/Ddf.App/ddf-dcloud/unpackage/cache
/src/Ddf/Ddf.App/ddf-dcloud/unpackage/release/apk

18
src/Directory.Build.props Normal file
View File

@ -0,0 +1,18 @@
<Project>
<PropertyGroup>
<Authors>nsnail</Authors>
<Product>NSExt</Product>
<Copyright>© 2006-2022 nsnail</Copyright>
<RepositoryUrl>https://github.com/nsnail/ns-ext.git</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSource>true</EmbedUntrackedSource>
<DebugSymbols>True</DebugSymbols>
<DebugType>Embedded</DebugType>
<EmbedAllSources>true</EmbedAllSources>
<RepositoryType>Git</RepositoryType>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/nsnail/ns-ext.git</PackageProjectUrl>
<PackageOutputPath>../../build/nupkgs</PackageOutputPath>
</PropertyGroup>
</Project>

View File

@ -4,7 +4,6 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks> <TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<VersionPrefix>1.0.0</VersionPrefix> <VersionPrefix>1.0.0</VersionPrefix>
<RepositoryUrl>https://github.com/nsnail/ns-ext.git</RepositoryUrl>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>