Skip to content

Commit d0cd42c

Browse files
committed
Adjusted nuspec definition to include dependencies per target
Updated solution items
1 parent c0e377f commit d0cd42c

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

GlobalAssemblyInfo.cs

-6
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,3 @@
88
[assembly: AssemblyFileVersion("1.3.4.0")]
99

1010
[assembly: InternalsVisibleTo("prometheus-net.tests")]
11-
12-
#if DEBUG
13-
[assembly: AssemblyConfiguration("Debug")]
14-
#else
15-
[assembly: AssemblyConfiguration("Release")]
16-
#endif

prometheus-net.nuspec

+13-6
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,20 @@
5353
* 0.0.3 - initial version
5454
</releaseNotes>
5555
<tags>metrics prometheus</tags>
56+
<dependencies>
57+
<group targetFramework="net40">
58+
<dependency id="protobuf-net" version="2.0.0.668" />
59+
<dependency id="Rx-Core" version="2.2.5"/>
60+
<dependency id="Rx-Interfaces" version="2.2.5"/>
61+
</group>
62+
<group targetFramework="net45">
63+
<dependency id="protobuf-net" version="2.0.0.668" />
64+
<dependency id="System.Reactive" version="3.1.1"/>
65+
</group>
66+
</dependencies>
5667
</metadata>
5768
<files>
58-
<file src="build_artifacts\NET40\Release\prometheus-net.dll" target="lib\net40\prometheus-net.dll" />
59-
<file src="build_artifacts\NET40\Release\prometheus-net.pdb" target="lib\net40\prometheus-net.pdb" />
60-
<file src="build_artifacts\NET40\Release\prometheus-net.xml" target="lib\net40\prometheus-net.xml" />
61-
<file src="build_artifacts\NET45\Release\prometheus-net.dll" target="lib\net45\prometheus-net.dll" />
62-
<file src="build_artifacts\NET45\Release\prometheus-net.pdb" target="lib\net45\prometheus-net.pdb" />
63-
<file src="build_artifacts\NET45\Release\prometheus-net.xml" target="lib\net45\prometheus-net.xml" />
69+
<file src="build_artifacts\NET40\Release\*.*" target="lib\net40" />
70+
<file src="build_artifacts\NET45\Release\*.*" target="lib\net45" />
6471
</files>
6572
</package>

prometheus-net.sln

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "prometheus-net.NET45", "pro
1313
EndProject
1414
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{37B6A73C-786B-4833-9D3B-2B4FA7456D10}"
1515
ProjectSection(SolutionItems) = preProject
16+
GlobalAssemblyInfo.cs = GlobalAssemblyInfo.cs
1617
prometheus-net.nuspec = prometheus-net.nuspec
1718
EndProjectSection
1819
EndProject

0 commit comments

Comments
 (0)