[mapguide-commits] r10210 - in trunk/Tools/MgInstantSetup: . InstantSetupCmd
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Sep 9 07:29:46 PDT 2026
Author: jng
Date: 2026-09-09 07:29:44 -0700 (Wed, 09 Sep 2026)
New Revision: 10210
Removed:
trunk/Tools/MgInstantSetup/.nuget/
trunk/Tools/MgInstantSetup/InstantSetupCmd/packages.config
Modified:
trunk/Tools/MgInstantSetup/InstantSetupCmd/InstantSetupCmd.csproj
trunk/Tools/MgInstantSetup/MgInstantSetup.sln
Log:
Remove "legacy" nuget package restoration
Modified: trunk/Tools/MgInstantSetup/InstantSetupCmd/InstantSetupCmd.csproj
===================================================================
--- trunk/Tools/MgInstantSetup/InstantSetupCmd/InstantSetupCmd.csproj 2026-08-24 07:40:13 UTC (rev 10209)
+++ trunk/Tools/MgInstantSetup/InstantSetupCmd/InstantSetupCmd.csproj 2026-09-09 14:29:44 UTC (rev 10210)
@@ -13,8 +13,6 @@
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
- <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
- <RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -43,9 +41,6 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
- <Reference Include="CommandLine">
- <HintPath>..\packages\CommandLineParser.1.9.71\lib\net40\CommandLine.dll</HintPath>
- </Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
@@ -55,6 +50,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <PackageReference Include="CommandLineParser" Version="1.9.71" />
+ </ItemGroup>
+ <ItemGroup>
<Compile Include="Options.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
@@ -62,7 +60,6 @@
<ItemGroup>
<None Include="App.config" />
<None Include="app.manifest" />
- <None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\InstantSetup.Core\InstantSetup.Core.csproj">
@@ -71,13 +68,6 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
- <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
- <PropertyGroup>
- <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
- </PropertyGroup>
- <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
- </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Deleted: trunk/Tools/MgInstantSetup/InstantSetupCmd/packages.config
===================================================================
--- trunk/Tools/MgInstantSetup/InstantSetupCmd/packages.config 2026-08-24 07:40:13 UTC (rev 10209)
+++ trunk/Tools/MgInstantSetup/InstantSetupCmd/packages.config 2026-09-09 14:29:44 UTC (rev 10210)
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
- <package id="CommandLineParser" version="1.9.71" targetFramework="net40-Client" />
-</packages>
\ No newline at end of file
Modified: trunk/Tools/MgInstantSetup/MgInstantSetup.sln
===================================================================
--- trunk/Tools/MgInstantSetup/MgInstantSetup.sln 2026-08-24 07:40:13 UTC (rev 10209)
+++ trunk/Tools/MgInstantSetup/MgInstantSetup.sln 2026-09-09 14:29:44 UTC (rev 10210)
@@ -7,13 +7,6 @@
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InstantSetupCmd", "InstantSetupCmd\InstantSetupCmd.csproj", "{F0F1213D-B904-45E5-977B-E4772363DF74}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{68A90AED-C7F3-412C-8EFD-955CFC95563A}"
- ProjectSection(SolutionItems) = preProject
- .nuget\NuGet.Config = .nuget\NuGet.Config
- .nuget\NuGet.exe = .nuget\NuGet.exe
- .nuget\NuGet.targets = .nuget\NuGet.targets
- EndProjectSection
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
More information about the mapguide-commits
mailing list