Visual Studio 15 Preview 5 - Not working with ReSharper - visual-studio

I have ReSharper 2016.2.2 installed onto Visual Studio "15" Preview 5.
When I use the new language features for C# 7.0 I get warnings that look like design-time errors, but my application compiles and runs fine.
I have also added this line to my Project's DotSettings file:
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/#EntryValue">Experimental</s:String>
I had understood this to be the correct setting for C# 7.0 ?
I would like to know if there is a setting/configuration that allows ReSharper 2016.2.2 to work correctly with Visual Studio "15" Preview 5.

Install the latest EAP build for Resharper to get support for Visual Studio 15 Preview builds and C# 7 features.

Looks like I may be jumping the gun. The link here explains that C#7.0 support is still very much in the development stages and is not coming till version 2016.3 of ReSharper.

Related

The 'XamarinShellPackage' package did not load correctly

I have encountered the following error:
The 'XamarinShellPackage' package did not load correctly.
It happens when i start Visual Studio 2015 Community Update 3 Or Visual studio 15 Preview 4.
I even reinstalled windows 10 and it doesn't help.
As asked, pasting VS info:
Microsoft Visual Studio Enterprise 15 Preview 4
Version 15.0.25618.0 PREVIEW
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Enterprise
Visual Basic 15 Preview 4 00369-50000-00000-AA551
Visual C# 15 Preview 4 00369-50000-00000-AA551
ASP.NET and Web Tools 2016 15.0.20802.0
Common Azure Tools 1.8
JavaScript Language Service 2.0
JavaScript Project System 2.0
JavaScript UWP Project System 2.0
NuGet Package Manager 3.5.0
Parallel Debugger 1.0
SQL Server Data Tools 15.1.60805.0
TypeScript 2.0.1.0
Visual Studio Tools for Apache Cordova Update 10
Visual Studio Tools for Universal Windows Apps 15.0.25618.00
Xamarin 4.1.1.8 (60e5c00)
Xamarin.Android 6.1.1.1 (7db2aac)
Xamarin.iOS 9.8.1.4 (3cf8aae)
The tooling in the version information here is a little out of date. The solution in this case was to perform a thorough uninstall of Xamarin in Windows and reinstall using the latest available Stable release. I linked #Dorad to the direct download, but you can find this by signing into Xamarin.com, navigating to the Downloads page and selecting the download from the relevant drop-down list for your OS / desired Xamarin platform:
Another quick thing people can try that worked for me was deleting the .vs folder from the root of the solution folder. Make sure VS is closed when you do it.
There is a potential workaround you may want to try while we finish up a fix for this.
Please, close all open VS instance and copy this file (note you may need to adjust the path to your specific VS instance):
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\netstandard.dll"
to the Xamarin extension folder:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio
And then open VS and check if you can still repro.
thanks,
I had the same problem after the latest VS2017 update..I resolved uninstalling an extension (Visual Studio Bitbucket plugin) which - apparently - was in conflict with XamarinShellPackage. Removing the extension and restarting VS did the trick for me.

Install Xamarin on Visual Studio 2015 with Xamarin on Visual Studio 2013 already installed

I have Xamarin installed on the Visual Studio 2013 on Windows Operating System. It works fine.
There is Xamarin tools in VS2013 as follows:
My problem is as follows:
I have recently installed Visual Studio 2015 on my desktop on Windows operating system. I thought when I opened the VS2015, I expected to see the Xamarin in it, but it does not. Then I installed the Xamarin again, and again and again, but still Xamarin does not show up in VS2015.
I wonder what is wrong? What am I missing?
By the way, I still have VS2013 on my desktop.
No Xamarin tools in VS 2015 as follows:
I even tried the following approach, still no luck.
Control Panel -> Programs -> Programs and Features Choose Xamarin
Click Change -> Next -> Click the desired drop down for each items in the tree view and select "Will be installed on local hard drive."
Click Next
I am even getting the following screen when installation is completed, but still I could not able to see Xamarin in VS2015.
I have installed Xamarin in my Visual Studio 2015 two days ago and it showing Xamarin under Tools. Below I have described the approach which I have followed to install Xamarin in Visual Studio 2015.
Go to Contol Panel >> Program Features >> Visual Studio
2015 >> Change>> Modify
1. Select C#/.Net(Xamarin) under Cross Platform Mobile Development
2. Check if these three red marked items are checked or not.
3. And then press update.It will download all the required packages to run Xamarin on VS 2015.Hope it helps you!!
I recently had horrendous problems trying to install Xamarin on VS2015 + Win10. (I don't have any other VS versions installed.) Even a full install and reinstall left huge holes in the installation. I tried repeatedly and each time the whole dev environment seemed to get itself in a different unusable state.
The fix for me, which is probably hitting a nut with a sledgehammer, was to:
Uninstall Xamarin (via Control Panel|Uninstall).
Uninstall Visual Studio (via Control Panel|Uninstall).
Follow Xamarin's manual uninstallation procedures Full Xamarin Uninstall.
Perform full reinstall of Visual Studio, being sure to tick the boxes shown in the answer by Parth Patel above.
This resulted in a faultless, fully functioning Xamarin environment for me. Overkill, maybe, but worth a go if all else fails.
Here is the solution:
I have deleted all the existing versions of visual studio ( 2010, 2012, 2013) except Visual Studio 2015 and then installed the Xamarin, and then I could able to see Xamarin on Visual Studio 2015.
It is not required to delete previous versions of VS. I have Xamarin Studio, VS 2013 and now VS 2015 and working perfectly. I moved to VS 2015 due to recent purchase of Xamarin by MS and that VS 2015 has Xamarin included.
I believe the issue with this question is was that your VS 2015 install did not include the add ins as pointed out in another answer in this question.
After the VS 2015 install -the only caveat was projects created initially in Xaramin Studio and then Opened in VS 2015 to needed to have the build configuration in the project tweaked. If not you could not get the project to build and then be deployed to an emulator or device for debug testing.
We have a few troubleshooting steps on our Knowledge Base that you can find here:
https://kb.xamarin.com/customer/en/portal/articles/1643349-missing-visual-studio-extensions-after-installation
Note: Some of these steps have older versions listed in the respective paths. You should use the latest version number available.
Before any install or uninstall actions. Try open some sample Xamarin project, in most cases during opening project in VS 15, it will show you, what needs to be installed or what is missing / corrupted.
Xamarin samples
I had some problems with my emulator best way to fix the problems is to uninstall everything (emulators, android sdk, vs, xamarin) and reinstall it.
It is also important to delete other or older versions of visual studio. Then you should probably see you options.
First try to uninstall all the other versions of Visual Studio (VS) 2013 in this case. Then try to reinstall Xamarin.
Visual Studio 2015 is little bit different from 2013 version, I am also using xamarin on visual studio 2015. But that is not listed under tools menu like 2013.
Maybe developers had changed that, you can go to "start a new project"(just like you start new app development), there you can find xamarin/android projects list, there you can start new android projects.
This is strange, I did not have any problem with Xamarin & VS 2015 (community).
You said,
I will see the Xamarin in it
Did you try to create a project or/and add your account in the new VS Installation ?

How do I enable the preview panel for TypeScript files in Visual Studio 2015?

I miss the feature that would show you the results of your TypeScript compile in a separate panel. I haven't found a way to turn that back on in Visual Studio 2015 with TypeScript 1.5 beta.
I have WebEssentials for 2015 installed as well as ReSharper 9.1.
Anyone have any luck with this?
This has been removed from Web Essentials 2015 in VS 2015RC.
See: https://github.com/madskristensen/WebEssentials2015/issues/53
madskristensen commented on Jun 8
The TS preview pane has been removed from Web Essentials 2015 due to continuously running into conflicts with the TS compiler when new versions come out. The TS team are aware of it and I hope they will add the feature into the TS tooling in the future. It is possible that this feature will be included in the brand new Web Compiler extensions (https://visualstudiogallery.msdn.microsoft.com/3b329021-cd7a-4a01-86fc-714c2d05bb6c) when preview panes have been implemented.
Alternatively, you can hit the "Show All Files" Button in the Solution Explorer to find your .js file and then hit Alt+W, V to get a vertical split window and open the .js file right next to your .ts file.
This issue still exists as of 2015-07-30 using the officially released version of Visual Studio 2015 Enterprise Edition plus Web Essentials 2015 version 0.5.1.
None of the previous suggestions work.
Mads needs to fix this and release a new version.
P.S. This issue does not happen with VS 2013 Update 4 and the latest Web Essentials 2013.

Does Resharper 6.0 (current version) support Microsoft Visual Studio 11 Developer Preview or can it be made to?

I've read articles that explain how to enable Visual Studio 2010 managed extensions to get them working with Microsoft Visual Studio 11 Developer Preview
Running VS2010 Gallery Extensions In VS11, Meet Git Source Control Provider
However I haven't been able to apply the same logic to Resharper. Although it's a managed extension now, it doesn't appear to be packaged in a VSIX file, so I can't follow all the steps in the above mentioned article.
No (For R#6.0)
Whilst I can't find an official looking page on JetBrain's resharper web site, I did find a reply from a JetBrain's engineer
The upcoming ReSharper 6.1 will have initial experimental support for Visual
Studio vNext.
http://devnet.jetbrains.net/message/5320971#5320971
Yes (For R#6.1)
Resharper 6.1 has now got experimental support for Visual Studio 11, albeit via a separate download to the normal 6.1 installer: http://www.jetbrains.com/resharper/download/index.html#related
Blog post explaining the current level of support in VS11: http://blogs.jetbrains.com/dotnet/2011/12/christmas-is-here-resharper-61-dotcover-12-and-dottrace-452-released/
Resharper 6.0 does not support VS11.
The nightly builds of Resharper 6.1 though are now available, and do support VS11.
To download Resharper for VS 11:
http://confluence.jetbrains.net/display/ReSharper/ReSharper+6.1+Nightly+Builds
To learn more about Resharper 6.1:
http://blogs.jetbrains.com/dotnet/2011/11/resharper-61-eap-opens-much-more-than-a-bugfix-release/
For details on how the experience with VS11 in general is like, compared to VS2010:
http://gurustop.net/blog/2011/11/10/notes-on-using-visual-studio-11-as-primary-ide-on-windows-7/
Update:
For notes on installing Resharper on VS 11, and small gotachas and solution, check this post as well:
http://gurustop.net/blog/2011/11/11/resharper-6-0-resharper-6-1-vs11-visual-studio-11-support-keyboard-shortcuts/
Update 2:
Since VS11 has been fully released as VS 2012, Resharper has released final version 6.1 (free for 6.0 owners), and 7.x for it already and they're working just nice. Wrote this update as the answer still gets up-votes (thank you).

Visual Studio 2010's Build Command: It does nothing

I'm using Visual C# 2010 Express RTM with Windows Phone Developer Tools April CTP Refresh and when I run any Build option, nothing happens. I've deleted the contents of the build output folders and that doesn't do anything. I can't even run the project, because it complains the executable is missing (XNA Game for Windows project). I've tried the project on another computer and it builds just fine. Any ideas?
I'm not sure how this happens, but here's how I fixed it:
Open Build -> Configuration Manager
In the "Platform" column, choose x86 instead of Any CPU
Click close
These exact steps may not work for you, but I've found that if you play around in the Configuration Manager window it will usually resolve this problem.
try a reinstall?
Visual Studio 2010 doesn't work with current versions of XNA Studio. You'll could wait until XNA Studio 4 comes out (apparently due this month).
To solve your issue, use Visual Studio 2008 or use the workaround at this link to continue using VS2010 and XNA.

Resources