Skip to content

Commit

Permalink
Add dependencies via nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed May 26, 2024
1 parent 8d94ffc commit 329e057
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 83 deletions.
3 changes: 2 additions & 1 deletion NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Package source 1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="WPILib" value="https://wpilib.jfrog.io/artifactory/api/nuget/wpilib-nuget-development-local/" />
</packageSources>
</configuration>
</configuration>
11 changes: 3 additions & 8 deletions src/cscore/cscore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>


<ItemGroup>
<Content Include="runtimes\**" PackagePath="runtimes" />
</ItemGroup>

<ItemGroup>
<None Include="runtimes\win-x64\native\cscore.dll" Link="cscore.dll" CopyToOutputDirectory="Always" />
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
<ProjectReference Include="..\wpinet\wpinet.csproj" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
<ProjectReference Include="..\wpinet\wpinet.csproj" />
<PackageReference Include="FRC.CsCore.runtime" Version="2024.3.2-137-geb3635e" />
</ItemGroup>

</Project>
38 changes: 21 additions & 17 deletions src/hal/hal.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>WPIHal</RootNamespace>
<AssemblyName>FRC.WPIHal</AssemblyName>
<NoWarn>1591;CA1401;1570</NoWarn>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
<ProjectReference Include="..\wpinet\wpinet.csproj" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>WPIHal</RootNamespace>
<AssemblyName>FRC.WPIHal</AssemblyName>
<NoWarn>1591;CA1401;1570</NoWarn>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
<ProjectReference Include="..\wpinet\wpinet.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="FRC.WPIHal.runtime" Version="2024.3.2-137-geb3635e" />
</ItemGroup>

</Project>
46 changes: 21 additions & 25 deletions src/ntcore/ntcore.csproj
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>NetworkTables</RootNamespace>
<AssemblyName>FRC.NetworkTables</AssemblyName>
<NoWarn>1591;CA1401;1570</NoWarn>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<Content Include="runtimes\**" PackagePath="runtimes" />
</ItemGroup>

<ItemGroup>
<None Include="runtimes\win-x64\native\ntcore.dll" Link="ntcore.dll" CopyToOutputDirectory="Always" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
<ProjectReference Include="..\wpinet\wpinet.csproj" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>NetworkTables</RootNamespace>
<AssemblyName>FRC.NetworkTables</AssemblyName>
<NoWarn>1591;CA1401;1570</NoWarn>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
<ProjectReference Include="..\wpinet\wpinet.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="FRC.NetworkTables.runtime" Version="2024.3.2-137-geb3635e" />
</ItemGroup>

</Project>
44 changes: 20 additions & 24 deletions src/wpinet/wpinet.csproj
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>WPINet</RootNamespace>
<AssemblyName>FRC.WPINet</AssemblyName>
<NoWarn>1591;CA1401</NoWarn>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<Content Include="runtimes\**" PackagePath="runtimes" />
</ItemGroup>

<ItemGroup>
<None Include="runtimes\win-x64\native\wpinet.dll" Link="wpinet.dll" CopyToOutputDirectory="Always" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>WPINet</RootNamespace>
<AssemblyName>FRC.WPINet</AssemblyName>
<NoWarn>1591;CA1401</NoWarn>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\wpiutil\wpiutil.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="FRC.WPINet.runtime" Version="2024.3.2-137-geb3635e" />
</ItemGroup>

</Project>
9 changes: 1 addition & 8 deletions src/wpiutil/wpiutil.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,9 @@
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<Content Include="runtimes\**" PackagePath="runtimes" />
</ItemGroup>

<ItemGroup>
<None Include="runtimes\win-x64\native\wpiutil.dll" Link="wpiutil.dll" CopyToOutputDirectory="Always" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.2.2" />
<PackageReference Include="FRC.WPIUtil.runtime" Version="2024.3.2-137-geb3635e" />
<PackageReference Include="Google.Protobuf" Version="3.21.12" />
<PackageReference Include="UnitsNet" Version="5.42.0" />
<PackageReference Include="UnitsNet.NumberExtensions" Version="5.42.0" />
Expand Down

0 comments on commit 329e057

Please sign in to comment.