Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

去掉链接 #68

Merged
merged 1 commit into from
Feb 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<!-- 默认是 true,如果指定为 false,那么项目编译输出的 dll 文件将不会被打包到 NuGet 包中。 -->
<IncludeBuildOutput>false</IncludeBuildOutput>
<Description>Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.</Description>
<Copyright>Copyright (c) 2019 dotnet-campus</Copyright>
<PackageLicenseUrl>https://github.com/dotnet-campus/dotnetCampus.SourceYard/blob/master/LICENSE</PackageLicenseUrl>
<Copyright>Copyright (c) 2020 dotnet-campus</Copyright>
<PackageProjectUrl>https://github.com/dotnet-campus/dotnetCampus.SourceYard</PackageProjectUrl>
<RepositoryUrl>https://github.com/dotnet-campus/dotnetCampus.SourceYard.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>source;dotnet;nuget;msbuild</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
</Project>
3 changes: 2 additions & 1 deletion sample/App/AppUsingSource/AppUsingSource.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Condition="Exists('obj\AppUsingSource.csproj.nuget.g.props') " Project="obj\AppUsingSource.csproj.nuget.g.props" />

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
Expand All @@ -9,5 +10,5 @@
<ItemGroup>
<PackageReference Include="TheLib.Source" Version="1.0.2" />
</ItemGroup>

<Import Condition="Exists('obj\AppUsingSource.csproj.nuget.g.targets') " Project="obj\AppUsingSource.csproj.nuget.g.targets" />
</Project>
4 changes: 1 addition & 3 deletions src/dotnetCampus.SourceYard/dotnetCampus.SourceYard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<NoPackageAnalysis>true</NoPackageAnalysis>
<DevelopmentDependency>true</DevelopmentDependency>
<PackageProjectUrl>https://github.com/dotnet-campus/SourceYard</PackageProjectUrl>
<RepositoryUrl>https://github.com/dotnet-campus/SourceYard</RepositoryUrl>
<RepositoryType>git</RepositoryType>

<!-- 因为只把主软件复制过去,依赖的库没有复制,所以不使用这个方法 -->
<!-- 在下面可以看到使用的是复制整个文件夹 -->
<!--<BuildOutputTargetFolder>tools</BuildOutputTargetFolder>-->
Expand Down