Removing DotnetFiles from Cli.Utils.

This commit is contained in:
Livar Cunha 2016-10-14 15:46:52 -07:00
parent dab19ce57c
commit ce812a64c2
2 changed files with 3 additions and 9 deletions

View file

@ -38,7 +38,7 @@ namespace Microsoft.DotNet.Cli.Utils
_projectContext = ProjectContext.Create( _projectContext = ProjectContext.Create(
_projectDirectory, _projectDirectory,
_framework, _framework,
DotnetRuntimeIdentifiers.InferCurrentRuntimeIdentifiers(DotnetFiles.VersionFileObject)); RuntimeEnvironmentRidExtensions.GetAllCandidateRuntimeIdentifiers());
} }
return _projectContext; return _projectContext;

View file

@ -2,13 +2,7 @@
"version": "1.0.0-preview3-*", "version": "1.0.0-preview3-*",
"buildOptions": { "buildOptions": {
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"warningsAsErrors": true, "warningsAsErrors": true
"compile": {
"include": [
"**/*.cs",
"../../src/dotnet/DotnetFiles.cs"
]
}
}, },
"dependencies": { "dependencies": {
"Microsoft.DotNet.ProjectModel": { "Microsoft.DotNet.ProjectModel": {
@ -20,7 +14,7 @@
"NuGet.Packaging": "3.6.0-rc-1984", "NuGet.Packaging": "3.6.0-rc-1984",
"NuGet.Frameworks": "3.6.0-rc-1984", "NuGet.Frameworks": "3.6.0-rc-1984",
"NuGet.ProjectModel": "3.6.0-rc-1984", "NuGet.ProjectModel": "3.6.0-rc-1984",
"Microsoft.Build": "15.1.316-preview5", "Microsoft.Build": "15.1.316-preview5",
"Microsoft.Build.Utilities.Core": "15.1.316-preview5" "Microsoft.Build.Utilities.Core": "15.1.316-preview5"
}, },