Skip to content

Commit

Permalink
Enable restore so that references can be added for netstandard projects
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Aug 9, 2020
1 parent 95da645 commit b8bfffa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/CodeFormatter.cs
Expand Up @@ -170,9 +170,6 @@ private static async Task<Workspace> OpenFolderWorkspaceAsync(string workspacePa
// rather than a separate one. Any tasks isolated in AppDomains or tasks that create
// AppDomains will likely not work due to https://github.com/Microsoft/MSBuildLocator/issues/16.
{ "AlwaysCompileMarkupFilesInSeparateDomain", bool.FalseString },
// This flag is used at restore time to avoid imports from packages changing the inputs to restore,
// without this it is possible to get different results between the first and second restore.
{ "ExcludeRestorePackageImports", bool.TrueString },
};

var workspace = MSBuildWorkspace.Create(properties);
Expand Down

0 comments on commit b8bfffa

Please sign in to comment.