41 Commits
Author SHA1 Message Date
Nikolche Kolev 5ce62f9774 Remove custom property usage for ProjectReference from all NuGet projects, simplify dependencies where appropriate (#4960) 2022-12-02 13:57:56 -08:00
Jeff Kluge 2407dd2541 Use Directory.Build.props/targets/rsp in NuGet.Client repo (#4880) 2022-11-09 09:37:10 -08:00
Heng Liu 5436dba7e3 Add embeded readme.md file for NuGet packages. (#4476) 2022-03-22 11:39:00 -07:00
Andy Zivkovic 3c5cea96aa Update Newtonsoft.Json to 13.0.1 (#4167) 2021-08-05 14:23:46 -07:00
Andy Zivkovic b0cfb1c58d Use VS SDK where possible (#4104) 2021-06-14 16:06:13 -07:00
Erik De Bonte 9f2da3906b Update to dev17 VSSDK 2021-06-05 04:45:14 -07:00
Damon Tivel c219b612c2 Update Visual Studio SDK to 16.9.x (#3792)
Resolve https://github.com/nuget/home/issues/10297
2021-01-05 07:11:41 -08:00
scoban e3c62df98b Update Visual Studio dependencies (#3431)
* Update Visual Studio dependencies
* Remove NU1605 suppressions from ServiceHub references
2020-06-08 14:38:15 -07:00
Nikolche Kolev 71b317e139 Add descriptions for every project (#3289) 2020-03-23 17:03:08 -07:00
Nikolche Kolev 176a07cc0c Add a VS Online Environments output window (#3296) 2020-03-23 17:02:49 -07:00
Nikolche Kolev 5433d816f7 Use Item update to manage the dependencies (#3271) 2020-03-05 18:49:24 -08:00
Nikolche Kolev fcdcfb4c87 Fix VSSDK004, VSSDK005 & VSSDK006 analyzer warnings (#3173) 2020-01-10 11:56:11 -08:00
Nikolche Kolev cb402b5a33 Update all the VS dependency packages (#3172) 2019-12-23 20:07:15 -08:00
Andy Zivkovic 117c4bd01e Validate Newtonsoft.Json version matches VS/.NET Core SDK version (#2880) 2019-06-11 13:02:37 -07:00
Nikolche Kolev 175cc81641 Cleanup dependency graph, remove NU1605 warnings (#2674) 2019-01-11 16:33:51 -08:00
Nikolche Kolev f7e4a189c8 Remove NuGet.Packaging.Core (#2670) 2019-01-07 22:37:56 -08:00
Nikolche Kolev c5dfc973dd Cleanup the VS dependency graph, make the product buildable in Dev16 (#2565)
* add targets to correctly embed interops

* remove 14.0 as it's included through Microsoft>VisualStudio.Shell.15.0

* remove 15.0 as it's only used in the APItest

* remove 15.3 design time

* use the correct version of the Microsoft.NuGet.targets

* fix experimental instance
2018-12-13 17:02:56 -08:00
Nikolche Kolev d89d1a12c4 Define target frameworks/project locations in the common props/targets rather than the csproj itself (#2533)
* extract most of the target framework defintions out of the csproj

* remove every target framework mention from the sdk based csproj

* Move old style csprojes to use the projectversion too

* use better variable names

* use the nugetcoresrc and nugetclientssrc variables
2018-11-18 17:33:17 -08:00
Ashish Jain ebe5d46589 Fixing dev16 build (#2531) 2018-11-16 11:13:05 -08:00
Patricio Beltran 1d25f30c3b Remove dev14 references in source code (#2341) 2018-11-14 15:31:01 -08:00
Ashish Jain f7eca8be30 Adding packages lock file into Legacy PackageReference project hierarchy (#2469)
Adding packages lock file into Legacy PackageReference project hierarchy
2018-10-17 17:21:34 -07:00
Nikolche Kolev 5aaced85e5 Make sure that BaseIntermediateOutputPath/MSbuildProjectExtensionsPath is modified before the SDK.props imports (#2157) 2018-04-12 16:32:20 -07:00
Alex Panov 0d2b804db0 End-to-End tests for LSL scenarios (#1483)
Resolves NuGet/Home#5258.

Added tests for basic scenarios per each project model supporting LSL
mode: `packages.config`, `project.json`, `PackageRef`.

Updated E2E test infrastructure to support test extension cmdlets and
running "theories". Added ability to skip tests for specific VS version.
Also added missing templates for unit-test project and native C++ console application.

Addressed PR feedback
2017-06-14 11:06:17 -07:00
Alex Panov f9fa6b3ab4 Merge and re-arrange NuGet.Client projects (#1313)
2nd pass over NuGet.Client projects.
Resolves NuGet/Client.Engineering#28
---
Changed the dependency order of PM.VS and PM.UI projects. Moved shared
code into `NuGet.VisualStudio.Common` (former Facade). Normalized
namespaces across all of the projects. Split constants. Split
`EnvDTEProjectUtility`.

New dependency graph of NuGet.Client projects:
```
NuGet.VisualStudio.Common
+---NuGet.VisualStudio
+---NuGet.VisualStudio.Interop
+---NuGet.SolutionRestoreManager.Interop
|
+---NuGet.TeamFoundationServer
|
+---NuGet.PackageManagement.VisualStudio
    +---NuGet.VisualStudio.Implementation
    +---NuGet.PackageManagement.PowerShellCmdlets
    +---NuGet.SolutionRestoreManager
    |
    +---NuGet.PackageManagement.UI
        +---Options
        +---NuGet.Console
        +---NuGet.Tools
        +---NuGet.VisualStudio.Client
```
2017-04-12 14:36:36 -07:00
Ashish Jain (NUGET) 312c42823b Improve auto restore performance and also NuGet sln load time 2017-04-05 12:48:58 -07:00
Ankit Mishra 13b17f9b55 Adding SkipSigning property to common.targets to allow projects like API.Test to not get delay signed (#1289) 2017-04-05 12:47:19 -07:00
Justin Emgarten b0589b8981 Moving common targets/props under the build folder 2017-03-27 16:03:54 -07:00
Ankit Mishra 08f88384c2 Migrating projects to net core and merging client and core solutions 2017-03-27 14:13:09 -07:00
Alex Panov b771090bd8 Solution Restore Service API
3rd clean version of the Restore Service API designed to accept project
restore nomination requests.

The API provides the service interface along with data structure
interfaces, needed to pass the restore data of projects references,
package references and framework assemblies.

Part of the NuGet Restore Manager design work tracked in NuGet/Home#3456.
Overall design spec is at
https://github.com/NuGet/Home/wiki/NuGet-Restore-Manager

Designed as truly-embeddable service API. Followed VS guidelines to create
embeddable types. No external dependencies allowed.
2016-09-27 11:29:02 -07:00
Alex Panov 28bde16b47 Fixed End-to-End packaging
Summary of changes:
- Moved end-to-end packaging script from TFS.
- Added e2e packaging steps to `build.ps1`.
- Added `AfterBuild` target to test extension projects publishing
  build artifacts to a well-known location.
- Fixed `NuGet.Tests.psm1` module script to locate test extension
  artifacts.

Contributes to NuGet/Home#3435, NuGet/Home#3519
2016-09-26 14:48:35 -07:00
Alex Panov 993072f0c5 Build NuGet client solution with VS "15" willow
This change resolves number of issues blocking VS15 build on a box with VS
"15" willow installed at non-default location:
- Discovery of msbuild 15.1
- Microsoft.Build.* dependency version
- VS15/VS14 facade package restore conflict
- Assembly references pointing to a default VisualStudio PublicAssemblies location
- Binding VisualStudioVersion to MSBuildToolsetVersion

Key changes:
- Added 'Debug VS14'/'Release VS14' **solution** configurations to control
  projects built for specific "toolset", i.e target VS version
- Added `HintPath` to Microsoft.Build.* assemblies pointing to current
  `MSBuildToolsPath`
- Added `VisualStudioInstallDir` property initialized with VS install path
  from registry key
- Moved common project properties to `common.props`
- Project files cleanup
2016-09-12 11:14:39 -07:00
drewgil f2502a545e Remove EnvDTE interop type embedding 2016-08-15 14:35:03 -07:00
Alex Panov 91abff5f81 Optimized symbols publishing mechanics
Fixes NuGet/Home#3185.

Made changes required to build and keep set of symbols per VS version we
support:
- Added AfterBuild target to VsExtension to publish symbols to relevant
  VS14/15 artifacts folder.
- Renamed clients projects after assembly names for consistency.
- Changed CopyLocal to true for all VsExtension project dependencies.
2016-07-22 08:48:33 -07:00
drewgil c4e0a93a79 Implement facade with packages 2016-05-19 15:34:38 -07:00
Drew Gillies aaac56a094 Revert "Implement Dev14/15 facade with packages" 2016-05-19 15:10:25 -07:00
drewgil 67501e544e Implement facade with packages 2016-05-19 12:29:09 -07:00
Drew Gillies 1acc625e2f Dev15 early steps: build conditionals and dev14 artifacts folder, made componentmodelhost reference version-agnostic 2016-05-09 16:11:32 -07:00
deepakaravindr 1756e1e0db Functional Test Hang Fix.
Root cause: Accessing DTE and other related COM objects from a background
thread like powershell's pipeline execution thread is highly discouraged
as it can cause random hangs and crashes.

Fix: Move all the powershell utility methods into C# where you can safely
switch to UI thread before accessing the DTE and other related COM objects

What does this commit contain?
Added a few static helper classes which performs all the operations
that the powershell VS helper methods used to to. In particular, all the
DTE access have been moved into C# and it accessed from the UI thread.

What is pending?
Still, there are references to DTE.Project objects. Technically, this
can cause hangs and crashes too. And, it will be fixed in phase-II
in a different commit.
2016-02-24 13:25:05 -08:00
deepakaravindr 6c17c6ed90 1. Implemented the IVSGlobalPackagesInitScriptExecutor interface.
2. ScriptExector does the actual execution of init.ps1 scripts. It tries to locate the
package in global packages folder.
3. ScriptExecutor has been refactored a little bit to only execute init.ps1
that has not been executed already. It also caches solution directory.
4. On solution open though, PowershellHost calls into IScriptExecutor to
reset the cached solution directory and the cache of successful executions
of init.ps1. Meaning, init.ps1 will get executed on every solution open.
5. Added a couple of functional tests to test the new service IVsScriptExecutor
both on a regular class library and a DNX project.
6. Added a unit test library for VSGlobalPackagesInitScriptExecutor to test
the negative inputs.
2016-01-28 16:29:43 -08:00
Meni Zalzman 25634a8cc7 Cleanup the test api project file 2015-10-14 09:58:44 -07:00
Meni Zalzman 09f3f9713e Fixing typo in build script, fixing the Functional tests break by adding the TestExtensions project to the Solution 2015-10-14 09:57:33 -07:00