PistonDevelopers / VisualRust

Visual Studio extension for Rust
MIT License
701 stars 73 forks source link

visualrust with vs2017 doesn't seem to work #307

Open ellisonch opened 6 years ago

ellisonch commented 6 years ago

I'm using visual studio community 2017 (15.6.3) and I'd like to use Visual Rust with it. I installed the bin\VisualRust.Setup.2017\Release\VisualRust.Setup.2017.exe artifact (dated December 4th, 2017) from https://ci.appveyor.com/project/vosen/visualrust/build/artifacts (I couldn't find any other version for VS2017. It installed just fine with no errors. When I started VS back up, I don't see anything different---no new templates or project types or anything. VS2017 does think it's installed (based on going to tools/extensions), it just doesn't seem to do anything. If I go to add new project or add new file and look/search for rust, nothing.

However, if I open a .rs file in VS, it does syntax highlight it, but "go to definition" doesn't work, and I can't build.

glebov21 commented 6 years ago

Installing from this: ( https://ci.appveyor.com/project/MaulingMonkey/visualrust/build/8 ) solve my problem. (click "Configuration: Release" -> Artifacts -> VisualRust.Setup.2017.exe) Uninstall previous version (put LICENSE.txt if needed to ide folder)

But i have now when buid project:

System.NullReferenceException: Object reference not set to an instance of an object.
   at VisualRust.Build.Rustc.LogRustcMessage(RustcMessageJson msg, String rootPath, TaskLoggingHelper log)
   at VisualRust.Build.CargoBuild.<ExecuteCargo>b__4_1(Object sender, DataReceivedEventArgs e)
sgeos commented 5 years ago

The above artifact seems to have been deleted due to age. Is there another place from which an artifact can be downloaded?