How to install .NET Compiler platform SDK (Roslyn APIs) in Visual Studio for Mac? - roslyn

Is it possible to get .NET Compiler platform SDK in Mac OSx? I need to utilize it's APIs.
VS for Mac installer does not support to add the SDK as it does in windows VS installer. Also, the .NET Compiler platform SDK extension comes as .vsix file which is not supported in VS for Mac.

Go to Project -> Add NuGet packages... search "roslyn". I worked fine with me

Related

Developing native with ASPI for Win Xp

I want to develop a C++ application, which will run natively on a Windows XP machine.
It uses the ASPI Drivers to communicate with external SCSI Devices.
The oldest Version on the Microsoft page seems to be VS 2012, which is probably too new.
Which version of Visual Studio do I need to install for coding and compiling natively on Win XP?
I routinely compile for Windows XP using Visual Studio 2017.
The secret is to install and select the "v141_xp" Platform Toolset in the project's configuration pages (Configuration Properties -> General -> Platform Toolset) as described in #drescherjm's link.
I also set the Windows SDK Version to 7.0, although I'm not sure if that's necessary.

Why do I get "Illegal Instruction" error when Building on windows10 and running on Windows7

I have a c++ program built using VS2017 on windows7.
When I run it on Windows7 or windows10 there is no problem.
If I Build the same program on Windows10 (still using VS2017) the program runs OK on Windows10 but when I try to run it on Windows7 I get an "0xC000001D: Illegal Instruction." error.
Is it even possible to run programs built in Windows10 on Windows7 ? and if so what can I do?
Thanks
The default SDKs will be different on your two VS2017 installations. Right-click the project, select "properties", then the "General" page. See Windows SDK Version.
You can install different SDK versions (and different Platform Toolsets) using the Visual Studio installer ("Modify").
You would probably need to install the v140 toolset.
Also see the response here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/e19634d8-f635-4ed0-b8d7-45b64ccbd6fa/windows-sdk-7-in-visual-studio-2017?forum=visualstudiogeneral
...which states:
You can create a project with the default project template. After that, right click the project name under Solution Explorer and go to Configuration Properties-General, modify the 'Platform Toolset' to Windows7.1SDK, since you already installed the Windows SDK 7. Please have a look at the following note:
##To change the target platform toolset, you must have the associated version of Visual Studio or the Windows Platform SDK installed. For example, to target the Itanium platform with the Windows7.1SDK platform toolset, you must have Microsoft Windows SDK for Windows 7 and .NET Framework 4 SP1 installed
If the above not works, you can also modify the platform toolset to Visual Studio 2010 (v100), which has the same compiler like Windows SDK 7, if you have the VS 2010 and VS 2017 on the same computer

Android SDK Build Tools different versions in Android Studio and Visual Studio

I use Android Studio to build native Android projects and I installed the latest version of the Android SDK.
I also use Visual Studio to build Xamarin.Android projects. However when the build process runs in Visual Studio, it uses a previos version of the Build Tools.
I checked the SDK managers and found the following:
Both manager uses the same SDK path (C:\Android\SDK)
The latest Build Tools are installed (v28.0.3 as of time)
Visual Studio can't find the latest version
I already targeted API level 28 but it didn't help
Here you can see side-by-side the managers:
Any ideas how to fix this?

Which Windows Driver Kit is required to use with Visual Studio 2008

I've got some legacy code compiled with vs2008 which also includes driver code so I need to download a Driver Kit to build the driver portions, but I don't know what version of the Driver Kit I should download
Prior to VS2012 the IDE wasn't integrated with WDK, and could only serve as invoker for the WDK build scripts. In order to know what DDK/WDK to use, you need to find out the build target of the driver, i.e., the OS where it will be installed (XP, Vista etc.). After that you should download the DDK/WDK that supports that OS. Note, newer kits have backwards compatibility to some extent (check the relevant documentation in MSDN).
I think you need to use WDK build 6001.18000. To download see vddk

Compile ATL project with only Windows SDK 7.1

I have a project which needs to be compiled. It is compiled on our build server which I have only installed Windows SDK 7.1 on. I would like to not have to install an actual Visual Studio on this machine, but am getting an error "cannot find atlstr.h" file which I've just read is part of ATL which is part of Visual Studio.
Is there any way I can get this to compile without installing Visual Studio on the build server?
ATL is now freely available as a part of Windows Driver Kit: http://msdn.microsoft.com/en-us/windows/hardware/gg487438.aspx
No. ATL is a fundamental part of the non-free versions of MSVC.