add a note dangers of VS builds and cleanning to fix

This commit is contained in:
Matt Wrock
2016-08-14 13:52:40 -07:00
parent 9ab60d6621
commit 68ebf41b65
+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`.