4 Commits
Author SHA1 Message Date
Andy Zivkovic ba112de7ee Make nullable enabled by default across entire repo (#6960) 2025-11-20 21:13:26 +10:30
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
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