Skip to content

Commit

Permalink
fix: fixed common.props
Browse files Browse the repository at this point in the history
  • Loading branch information
colinin committed May 21, 2024
1 parent 4a03a72 commit 2092e66
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
6 changes: 1 addition & 5 deletions NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 9 additions & 3 deletions aspnet-core/NuGet.Config
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion aspnet-core/templates/content/NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
5 changes: 0 additions & 5 deletions aspnet-core/templates/content/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2092e66

Please sign in to comment.