The MonoAndroid framework folder is missing in Windows. It is generally present in the path C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid I have installed Xamarin Android. why is the folder not being shown?
Actually the path of the MonoAndroid folder for the visual studio 2019 is C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid
Under Distributable Code Files for Mobile Development with Xamarin, the path of the MonoAndroid is mentioned in the below link
https://learn.microsoft.com/en-us/visualstudio/releases/2019/redistribution
Related
I need to convert some IDL files to C# class/Interfaces.
I am not able to get the MIDL.exe compiler.
I am running windows 10, and I have few Visual studio versions installed on my machine, I also download and install the Microsoft SDK but I am not able to find the MIDL.exe binary any where.
C:\Program Files (x86)\Windows Kits\8.1\bin\x86
or
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
No clue where this binary is...
Open a Developer Command Prompt and type where midl.
On my computer it's here:
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86
Install from here: Windows 10 SDK
I have developed a small database application for learning and I wanted to deploy it to run on other machine.
I try to publish application and selected Download prerequisites from the same location as my application. It gives me an error that Prerequisite file not found and it asks me to download those files
Now I have downloaded the files and I wasn't sure where to place those files and googled it.
I found that I need to add under this path:
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\Packages\DotNetFX45
Now, I have 4 different directories under this path:
C:\Program Files (x86)\Microsoft SDKs\Windows
Directories:
v7.0A
v8.1
v8.1A
v10.0A
BTW, the Bootstrapper directory is only available in v7.0A folder. So, I add NDP452-KB2901907-x86-x64-AllOS-ENU.exe under this path:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX452
But it still gives me same error. Then I tried to add Bootstrapper directory under other versions but same error.
Questions:
What is the correct path and why it's unable to load that file?
I need to add few other prerequisites as well so how do I know the right directories for them? (sqlncli.msi, sqllocaldb.msi, sqlcmdlnutils.msi)
And it is asking for x64 and x86 setup files separately so how do I handle that?
Environment Detail:
Window 8 Single Language
Visual Studio 2015 (Enterprise)
SQL Server 2017
Instead of copying to bootstrapper under Microsoft SDKs folder,You need to copy the downloaded prerequisites to packages folder Bootstrapper under Microsoft Visual Studio 14.0. example
32-bit system:
C:\Program Files\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages
64-bit system:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages
Check your system for relevant path:
More details at following link:
https://msdn.microsoft.com/en-us/library/hh873130.aspx
For all of other prerequisite, make sure to copy it to \packages\{prerequisite} folder. And if it asks for x64 and x86 files separately then create sub-directory like:
Bootstrapper\Packages\SqlLocalDB2012\x64 (for 64-bit)
Bootstrapper\Packages\SqlLocalDB2012\x86 (for 32-bit)
My C: drive is strictly for windows (a 64GB SSD), and recently learned that it was nearly full. I changed my program files directory to D:/ProgramFiles and all the contents of my old program files to the new directories. Now, trying to compile a program in Visual Studio 2017 Community will give me an error:
The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found.
How can I tell visual studio where I moved my files to?
EDIT: I have already installed Visual Studio itself (devenv.exe) under "Visual Studio 2K17", but I've moved the assemblies (NOT visual studio) to the D drive. If i choose to reinstall, it will still put files on my C drive.
How can I tell visual studio where I moved my files to?
By uninstalling Visual Studio and re-install it back and while doing so choose the installation path to D:\ drive. simply moving the installation directory to different root drive won't make it since there are registry settings which will be still pointing to C:\ drive installation folder
You can make a Junction folder, I had the same space issue, and I moved all the files to another drive. in case you remember which folders you moved you can still get it working.
Let's say I moved "C:\Program Files (x86)\Microsoft ASP.NET" to "D:\Program Files (x86)\Microsoft ASP.NET"
all I do is in the command prompt(you might need to execute CMD with admin priviledges):
mklink /j "C:\Program Files (x86)\Microsoft ASP.NET" "D:\Program Files (x86)\Microsoft ASP.NET"
so mklink /j Dest_Folder SourceFolder
Dest_Folder: where you want your directory junction to appear
SourceFolder: where you moved your folder.
After doing a repair of visual studio (took roughly 15-20 minutes on a 3MBPS connection), everything was working fine again and everything installed to the new program files directory.
I've been stuck in this for a couple of hours.
I want to deploy my C# application using a Visual Studio ("Windows") Installer instead of a Click Once Installer.
For doing that, I had to install an extension called "Visual Studio 2015 Installer Projects", which I did.
But once I finally created the setup project for my solution, when I try to build it, I get the following error:
"Sign tool was not found at path: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\signtool.exe"
I checked that in fact, signtool.exe isn't there. But after a little research I found that signtool.exe is located under:
C:\Program Files (x86)\Windows Kits\10\bin\x64 and
C:\Program Files (x86)\Windows Kits\10\bin\x86
No here's is my question: how do I tell Visual Studio where the signtool.exe is located? is it a global, visual studio configuration or a project specific configuration?
Thanks in advance
You can use environment variable WindowsSdkDir. For example in command line:
"%WindowsSdkDir%bin\x64\signtool.exe"
or within msbuild script:
$(WindowsSdkDir)bin\x64\signtool.exe
instead of x64 you can use x86 if you use 32-bit windows version
I believe, will be much better to add
C:\Program Files (x86)\Windows Kits\10\bin\x86
path to the global system path (via ControlPanel->System->Advanced system settings->Environment variables...
I am not able to publish to azure my web api, after updated Visual studio 2015 update 3.
The error message says:
The “PublishTelemetry” task could not be loaded from the assembly
C:\Program Files
(x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll.
Confirm that the declaration is correct, that the assembly and all its
dependencies are available
I have found the fix here. I edited with admin rights, the file
C:\Program Files
(x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets
and removed the tag PublishTelemetry and its using tag. After edition, I restarted visual studio. Now I am able to deploy again.
Even after editing the admin rights it wasn't working so I just install the MSBuild.Microsoft.VisualStudio.Web.targets from NuGet.
I downloaded the MSBuild.Microsoft.VisualStudio.Web.targets package from NuGet and replaced the C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web folder with MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath\Web folder from tha package.