Installed .net Framework and it does not appear in Visual Studio - visual-studio

I installed .Net Framework 6.0 from https://dotnet.microsoft.com/en-us/download/visual-studio-sdks?cid=getdotnetsdk. I rebooted. When I open VS 2019 and try to config a project that version is not in the list.
When I run dotnet from a command prompt I get:

Related

Missing visual studio 2019 blazor webassembly app template

I updated my vs 2019 16.3.10 to 16.4 and .net core 3.0 to .net core 3.1 but the blazor web assembly application template is missing.
Try the following to install the latest Blazor WebAssembly template. Run the following command:
dotnet new --install Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3
Get the latest version here. It's free...
In command line run:
dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.1.0-preview2.19528.8
cd C:\Users\Username\Documents\MyWebSites\BlazorWebAssySite1
dotnet new blazorwasm
Open VS2019, choose open project and find BlazorWebAssySite1 folder. Done. For new projects just create a new project folder and run the last command.
Have also a look at this video: https://www.youtube.com/watch?v=bophIr--1QY .

Visual Studio not recognizing installed Core SDKs

I have three versions of .NET Core installed on my machine:
However, both VS2017 and VS 2019 return the following error when I execute dotnet --version command:
PM> dotnet --version
dotnet : Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
I can create a solution targeting .NET Core but when I create a Console App targeting .NET Core, for example, the Debug button is labeled Attach instead of Start as usual, and Start Debugging and Start Without Debugging commands in the Debug menu are disabled.
What I tried so far:
Added "C:\ProgramFiles\dotnet" to system PATH variable.
Modified VS2019 using VS Installer.
Restarted several times.
I did have several other version of .NET Core but uninstalled them since I had no solutions targeting these versions and wanted to clean up.
I only left 2.2.300 and 3.0.100 and when I used VS Installer to modify VS2019 it added SDK 2.1.700.
Any ideas on how to resolve this issue without completely removing Visual Studio and installing from scratch?
Apparently x86 version(s) of .NET Core SDKs must be installed as well. After installing 3.0.100 x86 dotnet --version command works fine and I can build and debug .NET Core projects...

How to install MSBuild 15.3 without Visual Studio?

Is there a way to install version 15.3 of MSBuild on the build server without installing Visual Studio 2017?
I tried to install 'Build Tools for Visual Studio 2017' from https://www.visualstudio.com/downloads/ per https://stackoverflow.com/a/42697374/ however I ended up with version 15.1:
msbuild /version
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
15.1.1012.6693
We need version 15.3 to build Azure Functions project.
at the time of writing MSBuild 15.3 hasn't been released outside of preview versions of Visual Studio or the .NET Core CLI 2.0.0 previews.
When it is released, it will be part of VS 2017 15.3 (+ Build Tools), .NET Core CLI 2.0.0 and Mono 5.2
Answer of this question may help you
How can I install the VS2017 version of msbuild on a build server without installing the IDE?
The Visual Studio Build tools are a different download than the IDE. They appear to be a pretty small subset, and they're called Build
Tools for Visual Studio 2017 (Download)
You can use the GUI to do the installation, or you can script the
installation of msbuild:
vs_buildtools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --quiet
go to the microsoft website and download vs_buildtools (https://visualstudio.microsoft.com/downloads/)
after the download access the folder through the CMD prompt and start the installation through the commands below:
vs_buildtools__1882505178.1548260078.exe --layout c:\VS_BuildTools --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --lang en-US --includingOptional
"vs_buildtools__1882505178.1548260078.exe" should be replaced with the version you downloaded to the site.
"c:\VS_BuildTools" path where the installer should be.
You can always build from source: https://github.com/Microsoft/msbuild/releases

Visual Studio Build for windowsphone error : (XapDeployCmd.exe) didn't found

I build and emulate my cordova app in android device and VisualStudio Android Emulator successfully in Visual Studio.
But when I try to build and deploy my app to windowsphone device I got this error that said the file "XapDeployCmd.exe" does not in %PATH%
ERROR: Error executing ""XapDeployCmd" /enumeratedevices":
'"XapDeployCmd"' is not recognized as an internal or external command,
WARNING: XapDeploy tool (XapDeployCmd.exe) didn't found. Assume that it's in
%PATH% and deploy fails.
When I referred to the path that I must find the file "XapDeployCmd.exe" in "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment" I saw there is one file there: "XapDeploy.exe" and "XapDeployCmd.exe" is not there
so where is "XapDeployCmd.exe" ?
I'm using Visual Studio 2015 Community With Update 3 and I installed Windows Phone SDK 8.0
Tools for Apache Cordova only supports deploying to Windows devices 8.1.
To deploy to Windows 8, you need Visual Studio 2013 which has a completely different project structure, and I don't recommend using it.
Most users who are on a version of Windows 8 tend to be on version 8.1
As I stated before، I had installed Windows Phone SDK 8.0 .
with installing Windows Phone SDK 8.0 , Visual Studio 2012 will be installed.
But the file "XapDeployCmd.exe" is not with this version of visual studio.
Installing Update 5 (update 2 or later) of visual studio 2012 will install "XapDeployCmd.exe" with itself. Visual Studio 2012 Iso and problem will be solved.
after solving this problem if you encounter with error like 'Exception from HRESULT: 0x89721800' , refer to this article

Microsoft.ReportView.ProcessingObjectModel Version 8.0.0.0 - Visual Studio 2005-2010

I have a program that was built in Visual Studio 2005. However, this program does not run on Windows 7 machine. I converted the project from Visual Studio 2005 to Visual Studio 2010. I then copied the published files to a Windows 7 laptop and ran the executable from there. When doing so, I got the following error:
Unable to install or run the application. The application requires that assembly Microsoft.ReportView.ProcessingObjectModel Version 8.0.0.0 be installed in the GAC first
Most of the solutions that I have found are for Visual Studio 8. Anybody have an answer?
I was able to resolve this by removing the Microsoft.ReportView.ProcessingObjectModel Version 8.0.0.0 from the assembly and adding 10.0.0.0 instead.

Resources