Skip to content

Commit 329e057

Browse files
committed
Add dependencies via nuget
1 parent 8d94ffc commit 329e057

File tree

6 files changed

+68
-83
lines changed

6 files changed

+68
-83
lines changed

NuGet.Config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
<packageSources>
44
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
55
<add key="Package source 1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
6+
<add key="WPILib" value="https://wpilib.jfrog.io/artifactory/api/nuget/wpilib-nuget-development-local/" />
67
</packageSources>
7-
</configuration>
8+
</configuration>

src/cscore/cscore.csproj

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,13 @@
99
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
1010
</PropertyGroup>
1111

12-
13-
<ItemGroup>
14-
<Content Include="runtimes\**" PackagePath="runtimes" />
15-
</ItemGroup>
16-
1712
<ItemGroup>
18-
<None Include="runtimes\win-x64\native\cscore.dll" Link="cscore.dll" CopyToOutputDirectory="Always" />
13+
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
14+
<ProjectReference Include="..\wpinet\wpinet.csproj" />
1915
</ItemGroup>
2016

2117
<ItemGroup>
22-
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
23-
<ProjectReference Include="..\wpinet\wpinet.csproj" />
18+
<PackageReference Include="FRC.CsCore.runtime" Version="2024.3.2-137-geb3635e" />
2419
</ItemGroup>
2520

2621
</Project>

src/hal/hal.csproj

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<RootNamespace>WPIHal</RootNamespace>
5-
<AssemblyName>FRC.WPIHal</AssemblyName>
6-
<NoWarn>1591;CA1401;1570</NoWarn>
7-
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8-
<AnalysisLevel>latest</AnalysisLevel>
9-
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
10-
</PropertyGroup>
11-
12-
<ItemGroup>
13-
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
14-
<ProjectReference Include="..\wpinet\wpinet.csproj" />
15-
</ItemGroup>
16-
17-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<RootNamespace>WPIHal</RootNamespace>
5+
<AssemblyName>FRC.WPIHal</AssemblyName>
6+
<NoWarn>1591;CA1401;1570</NoWarn>
7+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8+
<AnalysisLevel>latest</AnalysisLevel>
9+
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
14+
<ProjectReference Include="..\wpinet\wpinet.csproj" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<PackageReference Include="FRC.WPIHal.runtime" Version="2024.3.2-137-geb3635e" />
19+
</ItemGroup>
20+
21+
</Project>

src/ntcore/ntcore.csproj

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<RootNamespace>NetworkTables</RootNamespace>
5-
<AssemblyName>FRC.NetworkTables</AssemblyName>
6-
<NoWarn>1591;CA1401;1570</NoWarn>
7-
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8-
<AnalysisLevel>latest</AnalysisLevel>
9-
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
10-
</PropertyGroup>
11-
12-
<ItemGroup>
13-
<Content Include="runtimes\**" PackagePath="runtimes" />
14-
</ItemGroup>
15-
16-
<ItemGroup>
17-
<None Include="runtimes\win-x64\native\ntcore.dll" Link="ntcore.dll" CopyToOutputDirectory="Always" />
18-
</ItemGroup>
19-
20-
<ItemGroup>
21-
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
22-
<ProjectReference Include="..\wpinet\wpinet.csproj" />
23-
</ItemGroup>
24-
25-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<RootNamespace>NetworkTables</RootNamespace>
5+
<AssemblyName>FRC.NetworkTables</AssemblyName>
6+
<NoWarn>1591;CA1401;1570</NoWarn>
7+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8+
<AnalysisLevel>latest</AnalysisLevel>
9+
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
14+
<ProjectReference Include="..\wpinet\wpinet.csproj" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<PackageReference Include="FRC.NetworkTables.runtime" Version="2024.3.2-137-geb3635e" />
19+
</ItemGroup>
20+
21+
</Project>

src/wpinet/wpinet.csproj

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<RootNamespace>WPINet</RootNamespace>
5-
<AssemblyName>FRC.WPINet</AssemblyName>
6-
<NoWarn>1591;CA1401</NoWarn>
7-
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8-
<AnalysisLevel>latest</AnalysisLevel>
9-
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
10-
</PropertyGroup>
11-
12-
<ItemGroup>
13-
<Content Include="runtimes\**" PackagePath="runtimes" />
14-
</ItemGroup>
15-
16-
<ItemGroup>
17-
<None Include="runtimes\win-x64\native\wpinet.dll" Link="wpinet.dll" CopyToOutputDirectory="Always" />
18-
</ItemGroup>
19-
20-
<ItemGroup>
21-
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
22-
</ItemGroup>
23-
24-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<RootNamespace>WPINet</RootNamespace>
5+
<AssemblyName>FRC.WPINet</AssemblyName>
6+
<NoWarn>1591;CA1401</NoWarn>
7+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
8+
<AnalysisLevel>latest</AnalysisLevel>
9+
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<PackageReference Include="FRC.WPINet.runtime" Version="2024.3.2-137-geb3635e" />
18+
</ItemGroup>
19+
20+
</Project>

src/wpiutil/wpiutil.csproj

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,9 @@
99
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
1010
</PropertyGroup>
1111

12-
<ItemGroup>
13-
<Content Include="runtimes\**" PackagePath="runtimes" />
14-
</ItemGroup>
15-
16-
<ItemGroup>
17-
<None Include="runtimes\win-x64\native\wpiutil.dll" Link="wpiutil.dll" CopyToOutputDirectory="Always" />
18-
</ItemGroup>
19-
2012
<ItemGroup>
2113
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.2.2" />
14+
<PackageReference Include="FRC.WPIUtil.runtime" Version="2024.3.2-137-geb3635e" />
2215
<PackageReference Include="Google.Protobuf" Version="3.21.12" />
2316
<PackageReference Include="UnitsNet" Version="5.42.0" />
2417
<PackageReference Include="UnitsNet.NumberExtensions" Version="5.42.0" />

0 commit comments

Comments
 (0)