Reverse Engineer Fails EF Core Power Tools - .net-core

System.MissingMethodException: Method not found:
'Microsoft.Extensions.DependencyInjection.IServiceCollection
Microsoft.EntityFrameworkCore.Design.ServiceCollectionExtensions.AddHandlebarsScaffolding(Microsoft.Extensions.DependencyInjection.IServiceCollection,
Microsoft.EntityFrameworkCore.Design.ReverseEngineerOptions,
System.ValueTuple2>[])'.
at
ReverseEngineer20.EfCoreReverseEngineer.GenerateFiles(ReverseEngineerOptions
reverseEngineerOptions) at
EFCorePowerTools.Handlers.ReverseEngineerHandler.d__2.MoveNext() in
C:\projects\efcorepowertools\src\GUI\EFCorePowerTools\Handlers\ReverseEngineerHandler.cs:line
154
Database engine: (SQL Server)
Visual Studio version: (e.g. Visual Studio 2017 15.7.5)
EF Core Powe Tools version: 1.0.604.0

This is fixed in the latest daily build, download instructions here: https://github.com/ErikEJ/EFCorePowerTools#downloadsbuilds

Related

Could not load file or assembly 'CefSharp.Core.Runtime.DLL' or one of its dependencies. The specified module could not be found

We have installed CerfSharp using the NuGet Pakage Manager and created a class library which loads a ChromiumWebBrowser, it works fine on VisualStudio-2019,
When we deployed the class library(DLL) into target location along with required cefsharp supported files as mentioned the readme.txt, which throws following exception
Error Message: Could not load file or assembly 'CefSharp.Core.Runtime.DLL' or one of its dependencies. The specified module could not be found.
Stack Trace: at CefSharp.Cef.get_IsInitialized()
could anyone help us on this issue?
Added following cefsharp supported files in the target deployment location:
CEF core library.
libcef.dll
Crash reporting library.
chrome_elf.dll
Unicode support data.
icudtl.dat
V8 snapshot data.
snapshot_blob.bin
v8_context_snapshot.bin
[System Info]:
CefSharp Version=91.1.230.0
OS: Windows 7 x64
Visual Studio Version:
Microsoft Visual Studio Enterprise 2019
Version 16.7.8
.NET Framework: 4.8
Thanks,

Install failed ASP.NET Core Blazor Language Services

I want to try the new Blazor platform using VS 2017 community edition but unable to install the extension. This is the log file generated while installing the plugin.
My .net frameowrk is 4.7.x and this extension requires framework 4.6.1 but I believe .net framework is backwards compatible so it must not be an issue.
Microsoft VSIX Installer
-------------------------------------------
vsixinstaller.exe version:
15.6.152+ge95e4dd1ce
-------------------------------------------
Command line parameters:
C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\vicky\Downloads\Microsoft.VisualStudio.BlazorExtension.vsix
-------------------------------------------
Microsoft VSIX Installer
-------------------------------------------
Initializing Install...
Extension Details...
Identifier : Microsoft.VisualStudio.BlazorExtension
Name : ASP.NET Core Blazor Language Services
Author : Microsoft
Version : 15.7.10237
Description : Provides Visual Studio support for ASP.NET Core Blazor
Locale : en-US
MoreInfoURL :
InstalledByMSI : False
SupportedFrameworkVersionRange : [4.6.1,)
SignatureState : ValidSignature
SignedBy : Microsoft Corporation
Certificate Info :
-------------------------------------------------------
[Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Serial Number] : 33000001FC5DB8191027A666C10000000001FC
[Not Before] : 05-10-2017 23:56:08
[Not After] : 05-10-2018 23:56:08
[Thumbprint] : 5E940B33DEAE5945F506ADAB946A997867A40FEF
Supported Products :
Microsoft.VisualStudio.Community
Version : [15.0.27512,16.0)
References :
Prerequisites :
-------------------------------------------------------
Identifier : Microsoft.VisualStudio.Component.Web
Name : ASP.NET and web development tools
Version : [15.7.27520.0,16.0)
Signature Details...
Extension is signed with a valid signature.
Searching for applicable products...
Found installed product - Global Location
Found installed product - Visual Studio Community 2017
VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable`1& skuData)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
I ran into the same problem and Martin's suggestion of updating Visual Studio solved the problem. If the installer finds a product but the version # isn't the right one it throws a VSIXInstaller.NoApplicableSKUsException.
I updated VS to 15.8.7 and was able to install the extension through the Visual Studio installer.

VS 2017 Community ver and VS 2017 Enterprise debug issue: Found conflicts between different versions

I m having 2 version of VS2017 and a mac with latest macOS.
I transfer my Xamarin forms App file from VS2017 enterprise to a machine(more than 3 years old but running win10 pro) with VS2017 Community version. When I debug ( with selecting Android project and VS-android-23 X86 tablet as emulator ) this App in VS2017 Community version , I have no compilation error but have these message:
Found conflicts between different versions of the same dependent assembly
that could not be resolved.
These reference conflicts are listed in the build log when log verbosity is set to detailed.
I could not understand this message. I have no problem running the same app in VS2017 Enterprize ver but I have this error message in VS2017 Community ver.
Update
Click View > Output --> this will show the error
1>Starting deploy VisualStudio_android-23_x86_tablet ...
1>Starting emulator VisualStudio_android-23_x86_tablet ...
1>C:\Users\xxxxx\AppData\Local\Android\ANDROI~1\tools\emulator.EXE -partition-size 512 -no-boot-anim -avd VisualStudio_android-23_x86_tablet -prop monodroid.avdname=VisualStudio_android-23_x86_tablet
1>emulator: ERROR: x86 emulation currently requires hardware acceleration!
1>Please ensure Intel HAXM is properly installed and usable.
1>CPU acceleration status: Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot.
1>Emulator VisualStudio_android-23_x86_tablet cannot be started.
Please help.

Android Awareness Api not compatible with Xamarin Forms

Visual Studio Version:
14.0.25431.01 Update 3
Xamarin.Android Version:
7.0.2.42
Xamarin Forms Version:
Tried 2.3.3.193, 2.3.4.192-pre2 & 2.3.3.180.
Operating System & Version:
Win 10 Pro ver. 1607 build 14393.693
Google Play Services Version:
Xamarin.GooglePlayServices.Awareness ver. 42.1001.0
Describe your Issue:
Xamarin.GooglePlayServices.Awareness doesn't work with Xamarin Forms.
Error:
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2072,3): error MSB6006: "java.exe" exited with code 2
Steps to Reproduce:
Create a blank Xamarin Forms project & use Xamarin.GooglePlayServices.Awareness as described in Xamarin's blog post.
This error often caused by dex methods count limits. You should turn on "MultiDex" support in android project settings. Also you should update ProGuard in Android SDK (see Xamarin.Android release notes - https://developer.xamarin.com/releases/android/xamarin.android_7/xamarin.android_7.1/)

Microsoft Visual Studio 2010 IDE is not opening

When I am opening the IDE Visual Studio 2010, it's showing the error
"Microsoft Visual Studio has encounter a problem and needs to close."
If you had files open contained unsaved changes, these changes might
be lost.
Check online for a solution and close the program
Close the program
Debug the program
Details
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 10.0.30319.1
Problem Signature 03: 4ba1fab3
Problem Signature 04: Microsoft.TeamFoundation.Common
Problem Signature 05: 10.0.0.0
Problem Signature 06: 5140b069
Problem Signature 07: 4b6
Problem Signature 08: 45
Problem Signature 09: System.MissingMethodException
OS Version: 6.0.6002.2.2.0.272.7
Locale ID: 1033
Additional information about the problem: LCID: 1033
Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
I'm using Windows Server 2008 R2.
Run your visual studio from command prompt with /safemode parameter.
Then disable every extension you've installed before, then re-run visual studio.
For example:
"D:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /safemode
It would be nice if you run you cmd as an admin.
Good luck

Resources