forked from dotnet/android
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Move MSBuild tests to use @(PackageReference) (dotnet#2351)
In a effort to reduce our dependency on external resources we should not be relying on `NuGet.exe` to restore packages. We should instead be using `msbuild /t:Restore`. However, `msbuild /t:Restore` only works with `@(PackageReference)`. Move most of our NuGet references in the MSBuild tests over to use `@(PackageReference)`. The `BuildTest.BuildWithResolveAssembliesFailure()` test will continue using `packages.config` to ensure that we don't accidentally break compatibility with legacy NuGet.
- Loading branch information
1 parent
3dc914d
commit d0e86e8
Showing
12 changed files
with
119 additions
and
115 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.