You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only loads machine and user wide NuGet configuration. In some scenarios you might want to keep the configuration local to the solution, to avoid cluttering the user/machine wide configuration (on build agents etc.).
Would it be possible to find a sensible value for the root parameter to enable configuration file search by traversal? Or would we then run into all sorts of issues with test frameworks running the tests in different working directories?
The text was updated successfully, but these errors were encountered:
It would not be desirable to use the same NuGet configuration as the analyzer project. It would be good to support other NuGet sources via a test API of some sort though (likely a property of the ReferenceAssemblies type).
This opt-in feature enables use of a specific nuget.config file in
analyzer tests, instead of machine and user wide settings. When
specifying a path to a nuget.config file, only that file is loaded.
Closes: dotnet#551
The current implementation
roslyn-sdk/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/ReferenceAssemblies.cs
Line 203 in 8647b80
only loads machine and user wide NuGet configuration. In some scenarios you might want to keep the configuration local to the solution, to avoid cluttering the user/machine wide configuration (on build agents etc.).
Would it be possible to find a sensible value for the
root
parameter to enable configuration file search by traversal? Or would we then run into all sorts of issues with test frameworks running the tests in different working directories?The text was updated successfully, but these errors were encountered: