Anyone using visual nimrod as IDE?
I cloned, Installed WIX, installed Vs2013 SDK, opened the .sln and compiled the NimrodVS proj. It didnt complain but also didnt install any project templates in the experimental vS2013. When I load a nim file i does get color coding. When I grab the template zip file from the bin/debug and unpack it content in visual studios template directory I can create a nimrod project (although it complains on a path in the project file being wrong) but it doesnt manage to compile any nim code I write.
Error 1 The target "ResolveAssemblyReferences" does not exist in the project. PATHGOESHEREProj1.nimproj 0 1 Proj1 Error 2 The target "GetFrameworkPaths" does not exist in the project. PATHGOESHEREProj1.nimproj 0 1 Proj1
When I compile I this doesnt seem to work:
I am using VS2013 Pro.
Anyone else having better luck and maybe able to give me a leg up?
I am the author of visual nimrod. It looks like I never updated it for the change to nim. As for the templates the VSIX extension project target expects them in zip files, which and require some insanity to get installed and to avoid installing another copy of everything when you rebuild the project. I also wrote https://github.com/barcharcraz/libnimrod/blob/master/vsgen.nim that will generate a .nimproj if you point at the "main" file in your project, it is not that intelligent but it is super nice for cross platform projects, I use it myself when I work in visual nimrod.
Consider Visual Nimrod extremely beta, but if you submit issues to github I am likely to eventually fix them. Please understand that I have classes and so during the year I tend not to have much time to work on things like visual nimrod.
@Demos I installed devenv sdl, WSIX and compiled NimrodVS inside the Visual Nimrod solution. I then ran the vsgen.exe compiled with nim 0.10.2 on my main nim file and got the .nimproj file.
When I go into expremental visual studio I am still not finding a nim project under new projects but the .nimproj file seem to work fine. Thnx.
@Demos Im getting this error in VS when compiling a simple nim program. Any clue to why?
Error 1 The Platform for project 'sdl_handmade.nimproj' is invalid. Platform='AnyCPU'. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Platform. C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.Cpp.InvalidPlatform.Targets 21 8 sdl_handmade
Im not refrencing the project anywhere else.
Try another platform (x64 would be a good choice). The way the nimproj files work is by piggybacking on the c++ project file infrastructure and then shelling out to actually compile code. I did this because I have absolutely no idea how MSBuild actually works and there is little documentation.
As for the projects not appearing in the IDE that is because if I set them up to autoinstall then every time you rebuild VisualNimrod another COPY gets installed and appears in the menu, again I have not found any clearly documented way to get around this.