Merge pull request #1803 from mwrock/clean

Add a note about the dangers of VS builds and cleaning to fix
This commit is contained in:
Dongbo Wang
2016-08-15 14:01:24 -07:00
committed by GitHub
+10
View File
@@ -89,3 +89,13 @@ project, so `dotnet build` transitively builds all its dependencies, and emits a
`--help`.
You can run our cross-platform Pester tests with `Start-PSPester`.
Building in Visual Studio
-----------------------------
We do not recommend building the Poweshell solution from Visual Studio. This may lead to package version mismatches with errors similar to:
```
C:\dev\powershell\src\System.Management.Automation\project.json(142,77): error NU1001: The dependency Microsoft.PowerShe
ll.CoreCLR.AssemblyLoadContext >= 1.0.0-* could not be resolved.
```
If you find yourself blocked by these errors, either run `git clean -ffdx` or run `Start-PSBuild -Clean`.