Browse Source

fix: fixed common.props

pull/951/head
colin 2 years ago
parent
commit
2092e66687
  1. 6
      NuGet.Config
  2. 12
      aspnet-core/NuGet.Config
  3. 2
      aspnet-core/templates/PackageName.CompanyName.ProjectName.csproj
  4. 2
      aspnet-core/templates/content/NuGet.Config
  5. 5
      aspnet-core/templates/content/common.props

6
NuGet.Config

@ -2,15 +2,11 @@
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="local" value="./aspnet-core/LocalNuget" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
<packageSource key="local">
<package pattern="LINGYUN.*" />
</packageSource>
</packageSourceMapping>
</configuration>

12
aspnet-core/NuGet.Config

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>

2
aspnet-core/templates/PackageName.CompanyName.ProjectName.csproj

@ -3,7 +3,7 @@
<TargetFramework>net8.0</TargetFramework> <!-- 或其他适合的框架 -->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>LINGYUN.Abp.MicroService.Templates</PackageId>
<Version>8.1.1</Version>
<Version>8.1.1.1</Version>
<Authors>colin.in@foxmail.com</Authors>
<Description>Abp framework micro-service template</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

2
aspnet-core/templates/content/NuGet.Config

@ -2,7 +2,7 @@
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">

5
aspnet-core/templates/content/common.props

@ -31,11 +31,6 @@
<None Remove="Modules\**" />
</ItemGroup>
<ItemGroup>
<Content Include="**\*" Exclude="bin\**;obj\**;LocalNuget\**" />
<Compile Remove="**\*" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>$(SolutionDir)LocalNuget</OutputPath>
</PropertyGroup>

Loading…
Cancel
Save