Skip to content

Commit d761571

Browse files
BillWagnergewarren
andauthored
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 8005b0c commit d761571

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/csharp/language-reference/compiler-messages/assembly-references.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,25 +93,25 @@ These compiler errors indicate one of these problems in your code:
9393

9494
If the assembly appears to be referenced in your project but you still receive CS0012, try these troubleshooting steps:
9595

96-
1. **Restore packages**: Run `dotnet restore` to ensure all package references are properly resolved, especially after installing or uninstalling NuGet packages.
96+
- Restore packages: Run `dotnet restore` to ensure all package references are properly resolved, especially after installing or uninstalling NuGet packages.
9797

98-
1. **Clear package caches**: Clear the NuGet package cache and restore:
98+
- Clear the NuGet package cache and restore:
9999

100100
```console
101101
dotnet nuget locals all --clear
102102
dotnet restore
103103
```
104104

105-
1. **Check for version conflicts**: Verify that all referenced assemblies use compatible versions. Look for binding redirect warnings in the build output.
105+
- Check for version conflicts: Verify that all referenced assemblies use compatible versions. Look for binding redirect warnings in the build output.
106106

107-
1. **Clean and rebuild**: Clean the solution and rebuild to ensure no stale references remain:
107+
- Clean the solution and rebuild to ensure no stale references remain:
108108

109109
```console
110110
dotnet clean
111111
dotnet build
112112
```
113113

114-
1. **Verify package integrity**: If the error occurred after package operations, ensure the package was installed correctly by removing and reinstalling it:
114+
- Verify package integrity: If the error occurred after package operations, ensure the package was installed correctly by removing and reinstalling it:
115115

116116
```console
117117
dotnet remove package [PackageName]

0 commit comments

Comments
 (0)