You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #648 did not state the exact error that occurred when opening the solution but if the SDK is missing (as described in novotnyllc/MSBuildSdkExtras#190) the solution fails to load.
This is an obscure error message that is hard to search for within this repository. The modification adds a simple and prominent FAQ that explains the problem and how to fix it.
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,27 @@
2
2
3
3
Thanks for wanting to contribute to Caliburn.Micro. Contributions don't need to take the form of code, submitting issues and writing documentation is just as important.
4
4
5
+
## FAQ: I see an error when opening the solution
6
+
```error : The expression "[System.IO.Path]::GetDirectoryName('')" cannot be evaluated. The path is not of a legal form.```
7
+
8
+
This (unhelpfully) seems to be caused by not having the correct .NET Core SDK installed (see https://github.com/novotnyllc/MSBuildSdkExtras/issues/190).
9
+
10
+
To find the version of the SDK that Caliburn Micro requires go to src/global.json.
11
+
12
+
e.g.
13
+
```
14
+
{
15
+
"sdk": {
16
+
"version": "3.1.300"
17
+
},
18
+
"msbuild-sdks": {
19
+
"MSBuild.Sdk.Extras": "2.0.54"
20
+
}
21
+
}
22
+
```
23
+
24
+
Once this version listed in the global.json file is installed the solution will open with all the projects loaded. If the correct versions of the SDKs for Android, UAP and Xamarin are not installed there are error messages at build time that contain instructions on how to proceed.
25
+
5
26
## Raising Issues
6
27
7
28
Basic support is provided by the community on [Stack Overflow][http://stackoverflow.com/questions/tagged/caliburn.micro] including the core contributors.
@@ -78,4 +99,4 @@ Some things that will increase the chance that your pull request is accepted.
0 commit comments