nvim-unity
nvim-unity copied to clipboard
Project solution file format
It seems that project files generated with this unity package are not completely valid.
- I have created an empty Unity project
- Installed nvim-unity package using git url in Package Manager
- Selected Neovim Unity in the Preferences > External Tools
- Created an empty script
- Generated C# project
- Opened script and found that LSP isn't working as intended. In logs Omnisharp errors about not found valid solution file (sln)
Here are contents of solution file generated by nvim-unity:
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{12345678-1234-1234-1234-123456789ABC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
EndGlobalSection
EndGlobal
A valid solution file:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal