Skip to content

Commit

Permalink
Bring back DLL dependencies instead of nupkg.
Browse files Browse the repository at this point in the history
Update Report Viewer DLL dependencies to 12.0.2402.15. Generate MSTSC dependency at build time.

Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
  • Loading branch information
Tu Dinh committed Nov 4, 2024
1 parent c1ed446 commit ebfa83c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 22,712 deletions.
4 changes: 0 additions & 4 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,4 @@ internal partial class ThisAssembly
<Codename>Medicine Hat</Codename>
<Lab>xcpngcenter_main</Lab>
</PropertyGroup>

<PropertyGroup>
<RestoreSources>$(RestoreSources);../Packages;https://api.nuget.org/v3/index.json</RestoreSources>
</PropertyGroup>
</Project>
Binary file removed Packages/MSTSCLib.1.0.0.nupkg
Binary file not shown.
Binary file removed Packages/Microsoft.ReportViewer.9.0.0.nupkg
Binary file not shown.
22,703 changes: 0 additions & 22,703 deletions XenAdmin/RDP/AxMSTSCLib.cs

This file was deleted.

Binary file not shown.
Binary file not shown.
18 changes: 13 additions & 5 deletions XenAdmin/XenAdmin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MSTSCLib" Version="1.0.0" />
<PackageReference Include="Microsoft.ReportViewer" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
<Reference Include="AxMSTSCLib">
<HintPath>RDP\AxMSTSCLib.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.WinForms">
<HintPath>ReportViewer\Microsoft.ReportViewer.WinForms.DLL</HintPath>
</Reference>
<Reference Include="MSTSCLib">
<HintPath>RDP\MSTSCLib.dll</HintPath>
</Reference>
<Reference Include="System.Design" />
<Reference Include="System.Management" />
<Reference Include="System.Security" />
Expand Down Expand Up @@ -66,4 +70,8 @@
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="&quot;$(TargetFrameworkSDKToolsDirectory)aximp.exe&quot; $(WinDir)\System32\mstscax.dll" WorkingDirectory="$(ProjectDir)RDP" />
</Target>
</Project>

0 comments on commit ebfa83c

Please sign in to comment.