Need help for loading Autodesk Forge reference in AutoCAD run time? - autodesk

When i use Autodesk.Forge dll as reference in AutoCAD customization, I am able to use the reference in visual studio debugging.
If i use the customized dll into AutoCAD (standalone without Visual Studio), I am getting the following error,
System.IO.FileNotFoundException: Could not load file or assembly 'Autodesk.Forge, Version=1.9.7.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could some one help me on this?
I tried to change the app config but no use. Need someone's help.

Related

SSIS via MSBuild - Could not load ...DTSRuntimeWrap

I'm using the CodePlex-hosted Microsoft.SqlServer.IntegrationServices.Build project to build a DLL that contains the MSBuild tasks for building SSIS packages via MSBuild.exe.
I also am using an MSBuild proj file that's floating around the web.
More here:
https://speaksql.wordpress.com/2013/06/07/a-journey-to-db-deployment-automaton-ssis-build-using-msbuild/
I've opened the CodePlex project, disabled signing, switched it to 4.6.1 and built the DLL and corrected paths etc. and go it semi-working. However MSBuild spits this error:
Could not load file or assembly 'Microsoft.SqlServer.DTSRuntimeWrap, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
I've installed SSDT latest for Visual Studio 2015. I have various SQL Server editions installed on my dev PC. The DLL seems to be present; I've copied all I need into one folder for the moment.
Open the CodePlex project again and remove the reference to Microsoft.SqlServer.ManagedDTS.
Look on your local disk for the missing Microsoft.SqlServer.DTSRuntimeWrap.dll and note the version(s) you have available.
Now look on your disk for Microsoft.SqlServer.ManagedDTS.dll and note the version(s).
Re-add the reference but make sure you pick a DLL for which you also have the version of the 'wrap' available.
Now make sure those DLLs are (re)copied over into your working folder or whatever.
If you're still having problems, you may need to copy some files around so that MSBuild.exe can find them or edit/create a config file for MSBuild.
How to solve: Custom MSBuild task requires assembly outside of AppBase

can not load assembly

I am working on C#, 2012 visual studio project. when I copy my project to another computer and try to run it, it throws the following error:
Could not load file or assembly 'Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system can not find the file. calling assembly: Coolite.Ext.Web .dll
I downloaded Newtonsoft.Json, Version=3.5.0.0 and referenced it in the project still the same error. I have also tried to redirect it using runtime redirection in the web.config, still no hope.
Make sure you target the proper framework in VS.
https://msdn.microsoft.com/en-us/library/bb398202(v=vs.110).aspx
Also make sure you're getting it from NuGet to ensure you have the most up to date version
https://www.nuget.org/packages/Newtonsoft.Json/

MySql.Data.dll version in Visual Studio 2010

I have an ASP.Net / c# web application running under framework 4.0, for some years now, using MySQL database.
I have recently being trying to implement reports, and have been trying to use for the first time the automated dataset wizard to create a new DataTable adapter. In running the wizard, I am able to set the datatable adapter and configure the sql statement. I am even able to execute and test it from the visual studio designer. I am also able to create a connection from the Server Explorer tab in Visual Studio and browse the database schema.
When I next try to compile the application, I get the following error:
"Error 1 Failed to generate code. Could not load file or assembly
'MySql.Data, Version=6.6.5.0, Culture=neutral,
PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040) C:\Projects\Sharpview
V2\SharpView V2\App_Code\MCPS\DAL\dsCrewHistory.xsd 1"
Looking in my bin directory, the version I have is 6.4.3.0. Does this mean that I have to download MySQL.Data.dll version 6.6.5.0 and replace it in the bin file? Where can I download this version?
In the visual studio take the reference from the explorer and make sure that the Specific Version is set to false.
If you have an acces to the file web.config make changes to the file and remove version info.
You would need to open the project file with you fav text editor and make sure the version is not mentioned , then remove the line
, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
Please have a look here and here

How do I reference a dll from SSIS in 2012?

I am trying to add a dll reference to my SSIS package (2012) with a script Component. The IntelliSense is working for me and I don't see error when coding. However, I get the following error:
Could not load file or assembly 'XYZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XYZ' or one of its dependencies. The system cannot find the file specified.
Please help.
If this is a custom DLL, then you will need to install it into the GAC (global assembly cache) for it to run outside of SSDT.
An assembly cannot be installed into the GAC unless it's strongly signed. Once it's signed, from a Visual Studio command prompt, registration would look like gacutil -if MyRadAssembly.dll

Could not load file or assembly 'System.Data.Linq, ..' The module was expected to contain an assembly manifest

Im bit lost here, I was developing some project for a while, in the beginning I was using console application to execute scripts, then I start building Silveilght and Web applications. Lately I had need to run some of that scripts again and I cant run Console project with reference to Data project, because once I'm trying to run console project I get this exception. Disregarding regarding Console project I need to run those scripts on daily basis via Windows Service, which have same problem as Console App...
Could not load file or assembly 'System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The module was expected to contain an assembly manifest.
But same assembly (data project) works fine with website/silverlight app.
I have absolutely no clue what this means and what to do..
I tried creating new console app or data project from scratch but it didn't worked..
I'm using LINQ TO SQL
Anybody can help me?