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

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

Related

Problem building a Wix wxs file in Visual Studio 2017

I just installed WiX on my machine and then installed the extension for Visual Studio 2017. When I attempt to build the Product.wxs I get "Could not find wix.targets at ''" back. I can run a build from the command line using candle and light, but I need to be able to do this with VS. Is there a place I can configure Visual Studio to look for the wix.targets file. I'm guessing that is the problem since it looking at '' for the file.
Create a WiX v3 project not v4.

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.

EFDesigner Load Nuget Packages object reference is not set to an instance of an object

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?

Visual studio 2015 win 7 32. "cocos2d" is ambigious but still compiled and run

After follow this instruction, http://www.gamefromscratch.com/post/2014/09/29/Cocos2D-x-Tutorial-Series-Installation-Creating-a-Project-and-Hello-World.aspx
_Download and setup cocos
_Run cocos new -l cpp -p com.gamefromscratch.helloworld -d E:\4-Project\cocos\projec\helloworld helloworld
_Open visual studio solution inside proj.win32 folder.
I open cocos via visual studio on my windows 7 x64, and visual studio tell me that cocos2d namespace is ambigious. I tried to run the same project with same visual studio on windows 10, the problem disappeared. Althought project can still be run and debug perfectly fine, those red line still keep coming.
Here is my visual studio and config ( default of cocos)!
If I'm not wrong the cocos2d namespace is the "USING_NS_CC" macro and is in the HelloWorld .cpp file, you have a syntax error in the header file, to correct it:
class HelloWorld : public cocos2d::Layer
{
...
}
To create a cocos2d project and work on a desktop platform like Windows is very simple as long as you have at least the following:
Visual Studio 2012 (for Windows)
Python 2.7.5
After downloading cocos2d-x, you should open the command line (CMD) and paste the following:
python
"C:\Users\User\Downloads\folder-cocos2d-x\tools\cocos2d-console\bin\cocos.py"
new MyGame -d "C:\Users\User\Documents" -l cpp
Replacing a valid route will of course take a few minutes to create your new project
Documentation
After serveral hour unsuccess. I finally installed c++ resharper and disable visual studio IDE. The problem finally gone!

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