mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-21 09:01:41 +01:00
Moved included RDP and Report Viewer libraries into a Nupkg. Did a change for showing dev builds as vNext. Removed the nuget requirement in the CI script and use MSBuild instead
This commit is contained in:
parent
4d75fd40f3
commit
211153c976
14
.github/workflows/test-builds.yml
vendored
14
.github/workflows/test-builds.yml
vendored
@ -10,19 +10,15 @@ jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup MSBuild
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
- name: Setup NuGet
|
||||
uses: NuGet/setup-nuget@v1.0.5
|
||||
- name: setup-msbuild
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
- name: Restore Packages
|
||||
run: nuget restore XenAdmin.sln
|
||||
run: msbuild XenAdmin.sln -t:restore
|
||||
- name: Build Release solution
|
||||
run: msbuild XenAdmin.sln -property:Configuration=Debug
|
||||
- name: Build Debug solution
|
||||
run: msbuild XenAdmin.sln -property:Configuration=Release
|
||||
- name: Build Debug solution
|
||||
run: msbuild XenAdmin.sln -property:Configuration=Debug
|
||||
- name: Upload Release Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,8 +25,6 @@ Thumbs.db
|
||||
*.idc
|
||||
*.bak
|
||||
|
||||
packages/*
|
||||
!packages/DOTNET_BUILD_LOCATION
|
||||
Branding/Hotfixes/*
|
||||
|
||||
_ReSharper.*/
|
||||
|
BIN
Packages/MSTSCLib.1.0.0.nupkg
Normal file
BIN
Packages/MSTSCLib.1.0.0.nupkg
Normal file
Binary file not shown.
BIN
Packages/Microsoft.ReportViewer.9.0.0.nupkg
Normal file
BIN
Packages/Microsoft.ReportViewer.9.0.0.nupkg
Normal file
Binary file not shown.
@ -332,7 +332,7 @@ namespace XenAdmin
|
||||
Program.Version.Minor == 0 &&
|
||||
Program.Version.Build == 0)
|
||||
{
|
||||
Text += " NIGHTLY BUILD Nr. " + Program.Version.Revision.ToString() + " (rev: " + ThisAssembly.Git.SourceRevisionId + ")";
|
||||
Text += " vNext Build " + Program.Version.Revision.ToString() + " (rev: " + ThisAssembly.Git.SourceRevisionId + ")";
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -120,7 +120,10 @@ namespace XenAdmin
|
||||
var assembly = Assembly.GetExecutingAssembly();
|
||||
AssemblyDir = Path.GetDirectoryName(assembly.Location);
|
||||
Version = assembly.GetName().Version;
|
||||
VersionText = $"{Version.Major}.{Version.Minor}.{Version.Build}";
|
||||
|
||||
VersionText = Version.Major == 0 && Version.Minor == 0 && Version.Build == 0
|
||||
? "vNext"
|
||||
: $"{Version.Major}.{Version.Minor}.{Version.Build}";
|
||||
|
||||
var logFolder = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,10 +8,13 @@
|
||||
<ApplicationIcon>AppIcon.ico</ApplicationIcon>
|
||||
<Title>XCP-ng Center</Title>
|
||||
<Description>XCP-ng Center</Description>
|
||||
<RestoreSources>$(RestoreSources);../Packages</RestoreSources>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\XenModel\XenModel.csproj" />
|
||||
<PackageReference Include="MSTSCLib" Version="1.0.0" />
|
||||
<PackageReference Include="Microsoft.ReportViewer" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -31,21 +34,10 @@
|
||||
<EmbeddedResource Update="VNC\KeyMap.resx">
|
||||
<LogicalName>DotNetVnc.KeyMap.resources</LogicalName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.ReportViewer.WinForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>ReportViewer\Microsoft.ReportViewer.WinForms.dll</HintPath>
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MSTSCLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MSTSCLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>RDP\MSTSCLib.dll</HintPath>
|
||||
</Reference>
|
||||
<EmbeddedResource Update="Wizards\NewSRWizard_Pages\ChooseSrProvisioningPage.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>ChooseSrProvisioningPage.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -59,6 +51,11 @@
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Update="Wizards\NewSRWizard_Pages\ChooseSrProvisioningPage.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>ChooseSrProvisioningPage.resx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user