Location of Resharper SDK project template and samples - sdk

I am trying to write a plugin for Resharper 8.1. The online SDK documentation makes reference to a Visual Studio project template and list of sample projects. I cannot seem to locate them. They are not downloaded as part of the Resharper 8.1 SDK NuGet package, and although I have found several links that claim to take you to the download page for the Resharper SDK, they only take you here:
https://www.jetbrains.com/resharper/download/
This has a link to the Resharper SDK on this page, but that only takes you to the NuGet repository (and once again the NuGet package does not appear to contain the project templates or samples).

You can download the old 8.x SDKs from this site. The SDKs include the old samples projects.
I haven't updated the samples to 9.0 yet - they'll be uploaded to JetBrains' GitHub page once I've done it.

Related

Xamarin Android use “Bundle assemblies into native code” and "obfuscation"

I am trying to combine obfuscating my xamarin android project and then bundle the assemblies into native code with the Visuals Studio 2017 Pro option.
I was able to obfuscate my assemblies with this tutorial https://blog.noser.com/xamarin-android-code-obfuscation/
Unfortunately the obfuscated assemblies does not find its way into the native bundle.
Likely i intercepted the build proccess at the wrong place.
<Target Name="Obfuscate" AfterTargets="_CopyIntermediateAssemblies" Condition="'$(Configuration)' == 'Release'">
Does anyone know how to merge the obfuscated assemblies into the native bundle? Thx for help in advance.
I help develop another .NET obfuscation/protection tool, Dotfuscator.
We've written a Xamarin build integration that automatically handles protection as part of the normal build process, so you don't have to manually write your own MSBuild targets or copy files around.
The official Xamarin docs recommend using Dotfuscator to protect Android builds, but this integration also works for iOS and UWP.
As Dotfuscator's Community Edition is included in Visual Studio, you can try this integration out for free.
I wrote a guest post for the Xamarin Blog that explains how to do this.
Edit regarding the setting in the question: I did some limited testing and Dotfuscator works fine with the "Bundle assemblies into native code" setting. I installed the latest version of Visual Studio 2017 Enterprise, version 15.7.2, but found out that version has a bug related to this setting. To work around it, I used the unofficial VSIX install mentioned at that link. Then I opened a Dotfuscator-Xamarin sample app and enabled the native code setting. I also added code to the sample to show the name of a class used by the application. Then I deployed the app to an emulator. The app ran normally and the logging statement showed an obfuscated name for the class, indicating that Dotfuscator correctly protected the app before it was bundled into native code.

XBOX LIVE NuGet for UWP Games with DirectX: How to install the nuget?

I have a problem and I was wondering if anyone could help me. In a nutshell:
I applied to the Creators Program,
I downloaded the SDK for XBOX Live,
I upgraded my Visual Studio 2015 to the Update 3
I installed the latest Windows 10 SDK, as instructed
I created a brand new title, and
I have a game as a UWP app using DirectX (I have not released, it is a brand new game that I was going to release at the Windows store eventually).
My Problem is:
At the step where it says to link the XBOX Live NuGet, I just cannot find it on the list.
I already browsed the entire SDK, and I cannot find any "readme" or "help" documentation that could guide me about how to install it.
My Question is:
Does anyone know how I can install it, or would it be better if I go through the "Add a reference to the source code" instead?
To add references to Xbox Live API NuGet packages in your project, in Visual Studio go to “Manage Nuget Packages”
You can enter “Xbox Live” (without quotes) in the search field in NuGet and you will find four variants of the Xbox Live API.
Choose the C++ for UWP Nuget package.
More information can be found at: https://developer.microsoft.com/en-us/games/xbox/docs/xboxlive/get-started/creators/getting-started-uwp-vs-creators

Are the controls needed to create Team Explorer extensions available via NuGet?

As of the VS 2015 SDK, they seem to have switched to NuGet as the source of the SDK reference assemblies, in order to make extension solutions more portable (i.e. developers don't need the whole SDK installed to work on extensions). However, I'm attempting to build a Team Explorer extension, which, according to the only tutorial I could find on the subject, requires objects from the Microsoft.TeamFoundation.Controls assembly. Is there some version of this available from NuGet, so I can continue to avoid referencing the Reference Assemblies directly?
Yes, there is one. You need to run the command: Install-Package Microsoft.TeamFoundation.ReferenceAssemblies . Check this.
You can also install it via Package Manager, see:
However, as you checked, there is only 12.0 version, no 14.0 version available.

New iOS MVVMCross project - which Nuget package and/or PCL targets?

We are creating a new iOS project. I want to use the Universal API so pretty sure I need to switch to Xamarin Beta channel and pull the prerelease of MVVMCross.
However when I try and add the MVVMCross package to a fresh PCL I get
Could not install package 'MvvmCross.PortableSupport 3.5.0-beta1'. You
are trying to install this package into a project that targets
'portable-net45+sl50+Xamarin.iOS10+MonoAndroid10+MonoTouch10', but the
package does not contain any assembly references or content files that
are compatible with that framework. For more information, contact the
package author.
The error looks simple enough but those compatibility errors from NuGet are never as simple as they look
The PCL is targetting
.NET 4.5
Silverlight 5
Xamarin Android
Xamarin.iOS
Xamarin.iOS (Classic)
Which targets do I need to change so I can add the correct MVVMCross to build Universal iOS
It looks like Your challenge is supporting Silverlight 5 - sl50
All the other platforms you list will support modern PCL profiles like 78 and 259. However, Microsoft haven't built any Silverlight support for these profiles.
This dropping of the "older profiles" is why MvvmCross dropped the old WindowsPhone support - announced back in July 2013 http://slodge.blogspot.co.uk/2013/07/mvvmcross-wp7-tombstoned.html
I fixed the problem you had. I managed to fix it without hacking csproj. I couldn't deselect Silverlight 5. I selected Windows 8 target and then I was able to deselect Silverlight 5.

Spark view engine - why there is no VS integration in version 1.1?

I downloaded Spark 1.1 release from http://sparkviewengine.codeplex.com/releases/view/27601 and cannot find the msi package for Visual Studio integration promised in docs.
Can anyone explain why?
For VS2008 support, I'm not sure why it's not included in the latest downloads on codeplex, but you can still get the .msi from the download on spark downloads page.
For VS2010, the answer is a little bit more complicated. The short version though is that the visual studio editor changed drastically in VS2010 and the way the old plug-in was providing intellisence is no longer appropriate.
I was able to get the msi installed and working from 1.0.39935.0 with 1.1. I had to close and re-open VS and a few pages.

Resources