Reputation: 210
I added simple class file to the project and it marked as Miscellaneous.
Usually the following actions helped me in this case:
- Unload and Reload a projects
- Close solution, delete .vs file and reload solution
But it didn't help me now.
I used Build Loging tool to see what's wrong and I found the next error:
Upvotes: 4
Views: 910
Reputation: 210
The problem was in .csproj file for problem solution.
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
I removed it and was loaded successfully.
Upvotes: 1