EFDesigner Load Nuget Packages object reference is not set to an instance of an object - ef-core-2.1

I've downloaded Entity Framework Visual Editor visual studio extension
https://marketplace.visualstudio.com/items?itemName=michaelsawczyn.EFDesigner
Started new project in Visual Studio .NET Core Class Library
Clicked Add New Item -> EFDesigner
Right Clicked on blank area and clicked "Load Nuget Packages"
Receive exception
Visual Studio Version 15.8.2
.NET Core 2.1
Any ideas how to fix?

Related

C# .Net Framework Class Library proj - Newtonsoft.Json gives "The system cannot find the file specified..." error

The project is a Class Library which I want to use it from a Visual Foxpro application. Visual Foxpro is 32bit.
.Net project:
Target framework .Net Framework 4.7.2
Target Platform x86.
Using Newtonsoft.Json and RestSharp
I registered the DLL using RegAsm and I am able to create an object of that from Visual Foxpro. Things are fine, if I simply do some string manipulation and I am getting return value from DLL into Visual Foxpro program.
Now, when I enable RestSharp, it breaks and throws below error:
*OLE IDispatch exception code 0 from System.Memory: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified...
*
I am not sure how this version conflict came up when I installed packages afresh and have not copied any file manually.
Any clue?
Thanks in advance
Rajesh
My Visual Foxpro test folder is different and I have copied all files from my .Net Debug folder into that folder.

How do I configure the Razor *.cshtml editor's C# compiler settings outside of an ASP.NET project?

(This is not a duplicate of Print and/or modify the c# version that the razor compiler service uses to compile cshtml because I'm using RazorGenerator, not ASP.NET, the translation from .cshtml to .cs happens every time I press the Save button in Visual Studio, so adding assembly references or NuGet packages to my project won't help)
I have a C# Class Library project using RazorGenerator (a Visual Studio extension that transpiles .cshtml to .cs sources). RazorGenerator itself works fine and my .cshtml files are converted to cs correctly without any problems considering I'm using C# 7.3 language features and types defined in custom assemblies.
The problem is Visual Studio's own .cshtml designer (independent of RazorGenerator) seems to default to the C# 4.0 compiler version and doesn't even load System.Core.dll - so when viewing .cshtml files in the Visual Studio editor I get peppered with error messages that shouldn't be there:
"Feature 'out variable declaration' is not available in C# 4. Please use language version 7.0 or greater."
and broken namespace imports because it isn't loading assemblies:
I saw these SO posts:
Where to configure Razor page language version to C# 6?
C# 6.0 Features Not Working with Visual Studio 2015
...which suggest adding the NuGet Microsoft.CodeDom.Providers.DotNetCompilerPlatform package to the project and restarting Visual Studio, however that did not solve the issue.

Cannot load csb file in Cocos2d-x 3.3rc0 and cocos studio 2.0.5?

I am trying to run some samples Cocos2d-x provided. And I followed the tutorial and I am OK with Cocos Studio part. But after I publish my resource and create a visual studio project. I met this error. When I debug, I always get rootNode 0x00000000 .
auto rootNode = CSLoader::createNode("MainScene.csb");
I am sure I have publish Cocos Studio project successfully, cause I get "MainScene.csb" and other resources under "/res" folder.
I am using Cocos2d-x 33rc0 and Cocos Studio 2.0.5 and Visual Studio 2013.
You must use cocos2d-x 3.3 final

Microsoft Visual C++ Runtime Package framework is missing the framework dependency declaration in the manifest

I receive the following error on the Windows App Certification Kit for Windows 8.1.
The app manifest test detected the following errors:XXX takes a
dependency on Microsoft Visual C++ Runtime Package
(Microsoft.VCLibs.110.00) framework but is missing the framework
dependency declaration in the manifest.
My solution builds with zero errors. However, I receive an error after I create an app package and run the Windows Application Certification Kit.
I have added and removed references to the C++ runtime extension.
In addition, I do not see any fields in the app manifest editor to modify that would resolve this dependency error.
It sounds like you are including a library that was built with Visual Studio 2012. You will need to rebuild that library in Visual Studio 2013. If you just have the binary you will need to get an updated version from the author.
..
Or
Rename "Microsoft.VCLibs.110" to Name="Microsoft.VCLibs.110.00",
Or
Add a reference in your project to Microsoft Visual C++ Runtime Package
Add reference and find this Package. Adding this should resolve your problem

unable to debug directx interop com in the default windows phone 8 project in visual studio 2012

I created the default vc++ windows phone 8 directx/xaml solution. It created two project files. one xaml project and another native directx com interop dll. I checked my project is in debug mode, but still I'm unable to debug/step through the com interop dll code, but can step through cs code..
any idea how I can debug directx dll?
Open your XAML C# project properties, go to debug tab and select "Native only" in "UI Task" combobox in "Debugger Type" section.
The reason for your problem is that there is no mixed-mode (both .NET and Native) debugger for Windows Phone, so you have to choose which code you would like to debug prior to running your application.