From bbfde4829785f91788c401bfc1b9cb376989265e Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Wed, 4 Mar 2020 20:31:10 -0800 Subject: [PATCH] Migrate to PackageReference format. --- .../Agent.Installer.Win.csproj | 23 ++++++++----------- Agent.Installer.Win/packages.config | 5 ---- Utilities/Publish.ps1 | 1 + 3 files changed, 11 insertions(+), 18 deletions(-) delete mode 100644 Agent.Installer.Win/packages.config diff --git a/Agent.Installer.Win/Agent.Installer.Win.csproj b/Agent.Installer.Win/Agent.Installer.Win.csproj index e05b6e8f..71e2b718 100644 --- a/Agent.Installer.Win/Agent.Installer.Win.csproj +++ b/Agent.Installer.Win/Agent.Installer.Win.csproj @@ -1,6 +1,5 @@  - Debug @@ -88,9 +87,6 @@ true - - ..\packages\Costura.Fody.4.1.0\lib\net40\Costura.dll - @@ -164,7 +160,6 @@ Resources.Designer.cs - SettingsSingleFileGenerator Settings.Designer.cs @@ -179,15 +174,17 @@ + + + 4.1.0 + + + 6.1.0 + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - if $(ConfigurationName) == Debug ( xcopy "$(TargetPath)" "$(SolutionDir)Server\wwwroot\Downloads\" /y /e /i diff --git a/Agent.Installer.Win/packages.config b/Agent.Installer.Win/packages.config deleted file mode 100644 index 40999018..00000000 --- a/Agent.Installer.Win/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Utilities/Publish.ps1 b/Utilities/Publish.ps1 index ae189740..db538e72 100644 --- a/Utilities/Publish.ps1 +++ b/Utilities/Publish.ps1 @@ -134,6 +134,7 @@ if ($SignAssemblies) { } # Build installer. +&"$MSBuildPath" "$Root\Agent.Installer.Win" /t:Restore &"$MSBuildPath" "$Root\Agent.Installer.Win" /t:Build /p:Configuration=Release /p:Platform=AnyCPU /p:Version=$CurrentVersion /p:FileVersion=$CurrentVersion Copy-Item -Path "$Root\Agent.Installer.Win\bin\Release\Remotely_Installer.exe" -Destination "$Root\Server\wwwroot\Downloads\Remotely_Installer.exe" -Force if ($SignAssemblies) {