This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NuGet.Client; | |
using NuGet.Client.VisualStudio; | |
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication8 | |
{ | |
class Program | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace NuGet.Versioning | |
{ | |
/// <summary> | |
/// VersionFloatComparer orders versions around a floating range. The range in this | |
/// case is only the floating part. | |
/// Ex: [1.0.*, 2.0.0) has a floating range of [1.0.0, 1.1.0) | |
/// Filtering on the [1.0.0, 2.0.0) range needs to happen outside of this class, it will not be | |
/// taken into account here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locked": false, | |
"version": 1, | |
"targets": { | |
".NETFramework,Version=v4.6": { | |
"packageA/1.0.0": { | |
"shared": { | |
"codeLanguage": { | |
"cs": { | |
"shared/cs/net45/code/code.cs": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using NuGet; | |
namespace ConsoleApplication25 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// Create a new file system using the root directory of the solution or project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// install-package nuget.protocol.visualstudio | |
using NuGet.Configuration; | |
using NuGet.Packaging; | |
using NuGet.Protocol.Core.Types; | |
using NuGet.Protocol.VisualStudio; | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#:C:\src\repros\roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj | |
C:\src\repros\roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj|C:\src\repros\roslyn\src\Test\PdbUtilities\PdbUtilities.csproj | |
C:\src\repros\roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj|C:\src\repros\roslyn\src\Test\Utilities\Desktop\TestUtilities.Desktop.csproj | |
C:\src\repros\roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj|C:\src\repros\roslyn\src\Compilers\CSharp\Portable\CSharpCodeAnalysis.csproj | |
C:\src\repros\roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj|C:\src\repros\roslyn\src\Compilers\Test\Resources\Core\CompilerTestResources.csproj | |
C:\src\repros\roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj|C:\src\repros\roslyn\src\Test\Utilities\Portable.FX45\TestUtilities.FX45.csproj | |
C:\src\repros\roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj|C:\src\repros\roslyn\src\Compilers\VisualBasic\Portable\BasicCodeAnalysis. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
*********************************************************************************************** | |
Microsoft.NuGet.ImportAfter.targets | |
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have | |
created a backup copy. Incorrect changes to this file will make it | |
impossible to load or build your projects from the command-line or the IDE. | |
Copyright (c) .NET Foundation. All rights reserved. | |
*********************************************************************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set environment variables | |
$env:NUGET_PERSIST_DG=true | |
$env:NUGET_PERSIST_DG_PATH=c:\temp\path.json | |
Run dotnet.exe restore3 | |
Open the output json file | |
Restore contains projects that will be directly restored. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using NuGet.Frameworks; | |
using NuGet.Packaging.Core; | |
using NuGet.ProjectManagement; | |
namespace ConsoleApplication5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using NuGet.CatalogReader; | |
using NuGet.Common; | |
using NuGet.Packaging.Core; | |
using NuGet.Protocol; |
OlderNewer