How to get “Manage User Secrets” in a .NET Core console-application?

“Manage user secrets” from a right click is only available in web projects. There is a slightly different process for console applications It requires manually typing the required elements into your csproj file then adding secrets through the PMC I have outlined the process that worked for me in my current project step by step … Read more

Could not load file or assembly ‘Microsoft.Build.Framework'(VS 2017)

I believe I had the same issue as you did. I didn’t save the whole error message, but my error message was ‘Could not load file or assembly ‘Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.‘ I am using Visual Studio 2017 and was trying to do … Read more

How to resolve Nuget Package Version and Path in Pre-Build Event of a Project?

How to resolve Nuget Package Version and Path in Pre-Build Event of a Project? If you want to reinstall package automatically in Pre-build event, I am afraid you can`t achieve it currently. We could use the command Update-Package -Id <package_name> –reinstall to reinstall the packages to your project in the Package Manager Console, but it … Read more

Visual Studio 2017: _mm_load_ps often compiled to movups

On recent versions of Visual Studio and the Intel Compiler (recent as post-2013?), the compiler rarely ever generates aligned SIMD load/stores anymore. When compiling for AVX or higher: The Microsoft compiler (>VS2013?) doesn’t generate aligned loads. But it still generates aligned stores. The Intel compiler (> Parallel Studio 2012?) doesn’t do it at all anymore. … Read more

How do I debug .NET 4.6 framework source code in Visual Studio 2017?

Here is the answer, thanks to Hans Passant. Note that this solution raises additional questions. Ensure https://referencesource.microsoft.com/ contains the exact version you’re debugging. How? Reference source specifies “.NET Framework 4.6.2” but a module version is something like: “4.6.1586.0” You may need to uninstall security updates as explained here: How do you enable “Enable .NET Framework … Read more

Force uninstall of Visual Studio

I was running in to the same issue, but have just managed a full uninstall by means of trusty old CMD: D:\vs_ultimate.exe /uninstall /force Where D: is the location of your installation media (mounted iso, etc). You could also pass /passive (no user input required – just progress displayed) or /quiet to the above command … Read more