Adding Packages global and added nuget lib to fix restore.

This commit is contained in:
Michael J. Manley 2024-02-09 16:32:27 -08:00
parent 211153c976
commit 771e617624
2 changed files with 74 additions and 68 deletions

View File

@ -90,4 +90,8 @@ internal partial class ThisAssembly
<Codename>Medicine Hat</Codename> <Codename>Medicine Hat</Codename>
<Lab>xcpngcenter_main</Lab> <Lab>xcpngcenter_main</Lab>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<RestoreSources>$(RestoreSources);./Packages;https://api.nuget.org/v3/index.json</RestoreSources>
</PropertyGroup>
</Project> </Project>

View File

@ -8,11 +8,13 @@
<ApplicationIcon>AppIcon.ico</ApplicationIcon> <ApplicationIcon>AppIcon.ico</ApplicationIcon>
<Title>XCP-ng Center</Title> <Title>XCP-ng Center</Title>
<Description>XCP-ng Center</Description> <Description>XCP-ng Center</Description>
<RestoreSources>$(RestoreSources);../Packages</RestoreSources>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\XenModel\XenModel.csproj" /> <ProjectReference Include="..\XenModel\XenModel.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MSTSCLib" Version="1.0.0" /> <PackageReference Include="MSTSCLib" Version="1.0.0" />
<PackageReference Include="Microsoft.ReportViewer" Version="9.0.0" /> <PackageReference Include="Microsoft.ReportViewer" Version="9.0.0" />
</ItemGroup> </ItemGroup>