AppPackagesApi not available in the Autodesk.Forge namespace - autodesk-forge

When I try to reference AppPackagesApi in my application, i am unable to refer it. There is class file for ActivityAPi and AppPackagesApi

Use the forge-api-dotnet-designautomation latest SDK available on NUGET.
The source is here https://github.com/Autodesk-Forge/forge-api-dotnet-design.automation/blob/790c93633efdf0e865ddb597c13c39863ed14a1c/src/Autodesk.Forge.DesignAutomation/ApiClient.gen.cs#L32
AppPackagesApi is old name now it is deprecated with Design Automation V2, please use Design Automation V3.
https://www.nuget.org/packages/Autodesk.Forge.DesignAutomation

Related

How load custom .net dll with accoreconsole.exe in Design Automation with all AutoCAD DLL's

I have created a AutoCAD custom .net dll for the desktop version which had some operation.
Adding multiple empty drawing documents.
Opening the existing drawing document and copying the required blocks in the newly created drawing document.
Performing some operation on them, discarding all the unnecessary drawing documents and saving one of them as an output drawing document.
I had a query regarding opening the existing document and adding the empty document using Design Automation API but I couldn't achieve it with Design Automation.
As I explored I found that only AcCoreMgd.dll and AcDbMgd.dl are allowed with accoreconsole.exe.
Load custom .net dll inside accoreconsole.exe
DLL's used by AutoCAD custom .net project for desktop version are (AcCoreMgd.dll,AcCui.dll,AcDbMgd.dll,AcMgd.dll,AcTcMgd.dll,AdUIMgd.dll)
I wanted to use all the above DLL's with Design Automation for AutoCAD.
Will you please let us know how we can use desktop versions like support in Design Automation for AutoCAD?
It is not possible to add other modules when working with Design Automation or AccCoreConsole. Please note AcCoreConsole is a Headless part of AutoCAD in other words no UI libraries are permitted. Following are the libaries that a crx app should bind.
Where XX - module version of AutoCAD release for more details
If you are developing a .NET module, you need to use following Nuget
ac1stXX.lib
acdbXX.lib
acdbmgd.lib
AcDbPointCloudObj.lib
acgeXX.lib
acgiapi.lib
acismobjXX.lib
AcMPolygonObjXX.lib
AcSceneOE.lib
axdb.lib
rxapi.lib
acbrXX.lib
acgexXX.lib
AdImaging.lib
AdIntImgServices.lib
AecModeler.lib
AsdkHlrApiXX.lib
acapp_crx.lib
AcCamera.lib
accore.lib
AcFdEval.lib
AcPublish_crx.lib
Why do you need to open mutilple documents ?, you can insert multiple blocks from different drawings in to Host drawing. Make modifications, save and send to your Server.

Azure Functions - WindowsAzure.Storage library not working in VS 2017

I have a full and perfectly working Azure Function within the Azure portale. One part of the function copies blobs from one azure storage container into another one.
I developed the application in VS 2017 and adjusted it within Azure Functions afterwards. In Azure Functions, I extracted my application as a VS 2017 project from Azure Functions in order to make & deploy changes quickly.
I added the current WindowsAzure.Storage 8.4.0 Nuget package to the VS 2017 solution but unfortunately VS Azure Functions does not recognize the package
, see:
I tried to add the Assembly manually but also in that case, I receive that message that the "reference is invalid or unspported".
Any suggestions ?
Binding redirect support hasn't been added to Azure Functions yet. You'll need to use a version 7.x Nuget package of WindowsAzure.Storage. If you are able to use version 7.2.1, you won't have any issue, as that's what Azure Functions is currently shipping with.
Github issue for: Binding redirect support

Are openshift docs out-dated?

I am new to openshift, I try to follow the docs on DIY here: https://docs.openshift.org/origin-m4/oo_user_guide.html#deploying-a-sample-diy-application
It state that there is a dot folder in my home called .openshift that contains the hocks the I gonna use.
However, I cannot find such directory, should I create it? or the docs are out-dated?
You are looking at older docs. The current version is v3.0 and the latest documentation is at https://docs.openshift.org/latest/welcome/index.html

Load Barcode Generator Library to Yii2

Normally I always install some extension by using composer , but now I need to use Barcode Generator library
http://www.barcodebakery.com/en
In order to use their library I need to
require_once('class/BCGFontFile.php');
require_once('class/BCGColor.php');
require_once('class/BCGDrawing.php');
but I don't know what is the best practice to do it with yii2
Please help!!!
Like in this doc
Yii relies on the class autoloading mechanism to locate and include
all required class files. It provides a high-performance class
autoloader that is compliant with the PSR-4 standard. The autoloader
is installed when you include the Yii.php file.
Then for your requirement the best pratice you are looking for is described in the doc mentioned above.

Cirrious.MvvmCross.ExtensionMethods not found in nuget Hot Tuna Starter Pack

I'm trying to develop my first application using mvvcross. I'm following this tutorial http://slodge.blogspot.co.uk/2013/04/n0-first-mvvmcross-application-n1-days.html but I don't know why can't use in my code this namespace Cirrious.MvvmCross.ExtensionMethods
To add all project's references I'm using Nuget and the version of Hot Tuna Starter Pack is 3.0.10
In this page, http://monodeveloper.org/uncategorized/building-cross-platform-mobile-applications-in-visual-studio-using-xamarin-and-azure-mobile-services/ there is a mvvmcross example, and if I download the source code and add the references that this project is using in the References folder, I can use extensions :(
Like this:
var activity = this.GetService<Cirrious.MvvmCross.Droid.Interfaces.IMvxAndroidCurrentTopActivity>().Activity;
What is the problem? Maybe related with PCL assemblies?
Thanks in advance!
The this.GetService<T> style of service resolution was replaced with simple Mvx.Resolve<T> calls and with constructor based dependency injection in MvvmCross v3.
For more information on this, see https://github.com/slodge/MvvmCross/wiki/Service-Location-and-Inversion-of-Control