I have downloaded QuickBooks SDK 13.0 and am trying to build a very simple C# application that connects to QuickBooks via QBSessionManager.
I am using Visual Studio Express 2013. I have the following lines of code in the Load function of my very simple Form.
QBSessionManager sessionManager = new QBSessionManager();
sessionManager.OpenConnection("", "Application");
When I try to compile, I get
The type or namespace name 'QBSessionManager' could not be found (are you missing a using directive or an assembly reference?)"
I see lots of sample code that starts with instantiating QBSessionManager, but nothing that identifes the namespace or reference I need to specify.
Am I missing something really obvious?
Add the file QBFC13Lib.dll to your project requirements.
The file can be found in the c:Program Files(x86)\Common Files\intuit\QuickBooks directory of a standard install of quickbooks.
Related
I've created a reference in script to Universal.Microsoft.Bot.Connector.DirectLine in Visual Studio 2019 and everything looks fine but after I save and return to Unity, I get the following error:
error CS0246: The type or namespace name 'Universal' could not be found (are you missing a using directive or an assembly reference?)
I tried adding a reference to 'Universal' by Creating an Assembly Definition Reference asset, but did not see Universal on the list of references to add.
I'm wondering if what I'm trying to do is even possible in Unity.
You can find the package on Nuget, and grab the DLLs (and any DLLs it depends on) and put them into Assets/Plugins
https://www.nuget.org/packages/Microsoft.Bot.Connector/
if it has different folders/versions pick the Standard version
I am running into the weird issue that the script component of an SSIS package deployed as part of an ISPAC file fails if the project deployment is done in an automated fashion - from C# or using PowerShell, that is. Deploying the exact same project using the Integration Services Deployment Wizzard in Visual Studio does not raise any erros when executing the package on the server.
However, I am getting various errors about things missing in the system namespace when executing the package that has been deployed with C# (using Microsoft.SqlServer.Management.IntegrationServices) such as:
DFT Load STG_ETL_TEST_STAGING_CDC:Error: CS0234 - The type or
namespace name 'ComponentModel' does not exist in the namespace
'System' (are you missing an assembly reference?),
Properties\Resources.Designer.cs, 59, 25
DFT Load STG_ETL_TEST_STAGING_CDC:Error: CS0234 - The type or
namespace name 'CodeDom' does not exist in the namespace 'System' (are
you missing an assembly reference?), Properties\Resources.Designer.cs,
25, 21
I exported the deployed packages and compared their file sizes. I noticed that the ISPAC of the manually deployed project is slightly bigger than the one deployed programmatically. What is the Deployment Wizzard doing to the project that isn't happening during automated deployment?
To exclude that it has something to do with my C# code, I also tried the following PowerShell script from the Microsoft docs. However, it does use the same assembly as I use in my code (Microsoft.SqlServer.Management.IntegrationServices) and the deployed package has the same issues.
I should have mentioned that the project was generated with Biml. Turned out the issue was not related to the binaries but the ISPAC file created by the Biml compiler. Building the project again with VS (using devenv.com theproject.dtproj -build) solved the issue for me and allowed for programmatic deployment of the project.
I want to list all the subscriptions made in the reporting server. For this I created a sample console application and added the reference of Microsoft.ReportViewer.WebForms.dll located in the
%Program Files(x86)%\Microsoft Visual Studio
11.0\ReportViewer\Microsoft.ReportViewer.WebForms.dll
But, when I am trying to create object of ReportingService2010 using the following
ReportingService2010.ReportingService2010 r = new
ReportingService2010.ReportingService2010();
It won't allow me to create the object, and throws a compile time error
error CS0246: The type or namespace name 'ReportingService2010'
could not be found (are you missing a using directive or an assembly
reference?)
Which ddl's I am missing here please help me.
Microsoft has a ReportViewer package that needs to be deployed (link below). Adding reference to the project from your development box may not be sufficient.
http://msdn.microsoft.com/en-us/library/ms251723.aspx
I believe the ReportingService2010 is not part of the reference Microsoft.ReportViewer.WebForms.
You need to add a web refrence to your project.
Here is a great tutorial from Microsoft, it shows you how to add a web reference to the SQL Server Reporting Web Service:
http://technet.microsoft.com/en-us/library/ms169926.aspx
If you follow these steps you should be able to use ReportingService2010 like this:
ReportingService2010 rs = new ReportingService2010();
I've installed MSDeploy on my machine. I am using Visual Studio 2010 and C#. Trying to load 'Microsoft.Web.*' to code some sexy msdeploy functionality. Perhaps I'm a level 3 tard (highly probable) but the documentation for getting this absolutely blow as#.
The error I get is:
"The type or namespace name 'Web' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)"
So -- of course I try to load it via References, but it aint there. I then Google like a mf for "webdeploy api C#" and the such and cannot for the love of the giant spaghetti monster find anything on how to install / download the msdeploy ("microsoft.web.*) .dlls, apis.
Anyone can point a brother to a link?
I did download and install "WebDeploymentSetup.msi", but nope. I did install "webdeploy_en.msi" but nope. Then I found this craaaazy thing called "AzurePack.exe" -- didn't even try to install that. But, will if someone says that's it.
Thanks.
The Microsoft.Web.Deployment.dll can be found here:
c:\Program Files\IIS\Microsoft Web Deploy V3\Microsoft.Web.Deployment.dll
Point a reference to that.
The only prerequisite is installing WebDeploy v3.0:
http://www.iis.net/downloads/microsoft/web-deploy
I am using DynamicPDF creator, Visual Studio 2010, and IIS 7.
On my local machine, the line "using ceTe.DynamicPDF;" and subsequent lines work fine, but
when I try to load the page on my server, I get the following error:
"Compiler Error Message: CS0246: The type or namespace name 'ceTe' could not be found (are you missing a using directive or an assembly reference?)"
I have added the .dll file as a reference, and intellisense even works.
I am wondering if it is a problem with assemblies. Any ideas about what I should do to get this working on my server?
May be you lost some of dlls, you can check dll which contains ceTe. ... by dependency walker.