Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jobily
dotnetCampus.SourceYard
提交
0075ac7a
D
dotnetCampus.SourceYard
项目概览
jobily
/
dotnetCampus.SourceYard
8 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dotnetCampus.SourceYard
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
0075ac7a
编写于
11月 19, 2021
作者:
lindexi_gd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
尝试加上框架的依赖
上级
1280d7cf
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
13 addition
and
10 deletion
+13
-10
sample/App/AppUsingSource/AppUsingSource.csproj
sample/App/AppUsingSource/AppUsingSource.csproj
+2
-2
sample/App/AppUsingSource/Program.cs
sample/App/AppUsingSource/Program.cs
+3
-0
sample/App/TheLib/TheLib.csproj
sample/App/TheLib/TheLib.csproj
+2
-2
sample/build/Version.props
sample/build/Version.props
+1
-1
src/dotnetCampus.SourceYard/PackFlow/NuspecFiles/NuspecContexts/NuspecMetadata.cs
...ard/PackFlow/NuspecFiles/NuspecContexts/NuspecMetadata.cs
+5
-5
未找到文件。
sample/App/AppUsingSource/AppUsingSource.csproj
浏览文件 @
0075ac7a
...
...
@@ -2,13 +2,13 @@
<Import Condition="Exists('obj\AppUsingSource.csproj.nuget.g.props') " Project="obj\AppUsingSource.csproj.nuget.g.props" />
<PropertyGroup>
<TargetFramework
>netcoreapp2.1</TargetFramework
>
<TargetFramework
s>net45;net5.0</TargetFrameworks
>
<OutputType>Exe</OutputType>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TheLib.Source" Version="1.0.3" />
<PackageReference Include="TheLib.Source" Version="1.0.3
-alpha03
" />
</ItemGroup>
<Import Condition="Exists('obj\AppUsingSource.csproj.nuget.g.targets') " Project="obj\AppUsingSource.csproj.nuget.g.targets" />
</Project>
sample/App/AppUsingSource/Program.cs
浏览文件 @
0075ac7a
using
System
;
using
System.Windows
;
using
TheLib
;
namespace
AppUsingSource
...
...
@@ -8,6 +9,8 @@ namespace AppUsingSource
static
void
Main
(
string
[]
args
)
{
var
money
=
new
Money
(
12312
);
var
v
=
(
money
,
"123"
);
Console
.
WriteLine
(
money
.
ToCapital
());
Console
.
ReadLine
();
}
...
...
sample/App/TheLib/TheLib.csproj
浏览文件 @
0075ac7a
...
...
@@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="dotnetCampus.SourceYard" Version="0.1.19393-alpha0
5
">
<PackageReference Include="dotnetCampus.SourceYard" Version="0.1.19393-alpha0
6
">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
...
...
@@ -18,7 +18,7 @@
<!-- </Target> -->
<ItemGroup Condition="'$(TargetFramework)'=='net45'">
<
!-- <Reference Include="WindowsBase"></Reference> --
>
<
Reference Include="WindowsBase"></Reference
>
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>
...
...
sample/build/Version.props
浏览文件 @
0075ac7a
<Project>
<PropertyGroup>
<Version>1.0.3-alpha0
1
</Version>
<Version>1.0.3-alpha0
3
</Version>
</PropertyGroup>
</Project>
\ No newline at end of file
src/dotnetCampus.SourceYard/PackFlow/NuspecFiles/NuspecContexts/NuspecMetadata.cs
浏览文件 @
0075ac7a
...
...
@@ -119,11 +119,11 @@ namespace dotnetCampus.SourceYard.PackFlow.NuspecFiles.NuspecContexts
[
XmlElement
(
"SourceYardPackage"
)]
public
string
?
SourceYardPackage
{
set
;
get
;
}
/// <summary>
/// 通过这个属性可以在安装源代码包的时候默认选 private assets 这样就可以让安装源代码包的项目被引用的时候,引用的项目不需要再安装源代码包
/// </summary>
[
XmlElement
(
"developmentDependency"
)]
public
string
?
DevelopmentDependency
{
get
;
set
;
}
=
"true"
;
///
//
<summary>
///
//
通过这个属性可以在安装源代码包的时候默认选 private assets 这样就可以让安装源代码包的项目被引用的时候,引用的项目不需要再安装源代码包
///
//
</summary>
//
[XmlElement("developmentDependency")]
//
public string? DevelopmentDependency { get; set; } = "true";
[
XmlElement
(
"repository"
)]
public
Repository
?
Repository
{
set
;
get
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录