I have to export data to excel. In Excel sheet i have to keep some styling and grouping functionality. i have tried a POC with EPPlus.dll but getting an error
Error 1 The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)
I tried it in my vs 2010 frame work 4.
can any body tell me about how can i achieve this. or about the error or any other dlls with download url.
Thanks in advance.
Related
A class in "Assembly - CSharp" is not recognized or used by a class in another namespace.
The error I'm getting now is:
Unity Editor: The type or namespace name 'LogitechGSDK' could not be found (are you missing a using directive or an assembly reference?)
IDE: Namespace does not correspond to file location
How do I set it up?
have you setup the dependencies/references for the class not inside the "Assembly - CSharp"? If so you should add Assembly - CSharp to the depencies/references of the Assembly you want to use it in. Here is a link that could help you fix your Problem.
https://learn.microsoft.com/en-us/visualstudio/ide/managing-references-in-a-project?view=vs-2019
I am using a split page view for one of my page layouts in my Windows 8 app. If I run the app in debug mode the source details are loaded and everything is fine.
However, in my XAML designer view I am unable to bind the data to the view using d:Source & d:DataContext even though I've defined the xmlns:data source.
The error I get is as follows: The name "MyDataSource" does not exist in the namespace "using:MyApp.Data"
Has anyone come across this before?
I figured it out in the end. Rookie mistake, I used the incorrect namespace. Instead of MyApp.Data, I used just MyData in defining the source file namespace model.
I am evaluating Teechart 4.1.2012.2287 and I have a problem with the export to PDF function.
My project is written in VS2010, using VB.Net and framework 4.0, and I have Adobe Reader 9.4.7 on my PC.
When I try to open a PDF generated by TChart it says there is an error with the file.
I also get this problem using your Example application.
Is there a version requirment for the Reader?
I'm afraid this is a bug. I get this error message:
An error exists on this page. Acrobat may not display the page
correctly. Please contact the person who created the PDF document to
correct the problem.
Do you get the same? Anyway, I added the issue (TF02016129) to the bug list to be investigated.
I am creating my first mvc3 application (no previous mvc either) I am wanting to create a top level menu and be able to add a "selected" or "active" css class to the select LI tag. I found this link active menu item - asp.net mvc3 master page Ihave tried to add it to a class however I get an error back "Error 1 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'ActionLink' and no extension method 'ActionLink' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?) G:\MvcMusicStore-v2.0\MvcMusicStore-Completed\MvcMusicStore\Helpers\HtmlHelpers.cs 26 31 MvcMusicStore
"
So I am thinking I am missing a reference to something however I don't know what. Can someone kindly tell me what I need to reference to get this to work.
Add the following using at the top of your HtmlHelpers.cs file:
using System.Web.Mvc.Html;
Now the htmlHelper.ActionLink line should compile just fine.
VS 2010 solution and Silverlight project builds fine, then:
I open MyView.xaml view in Expression Blend 4
Add sample data from class (I use my class defined in the same project)
after I add new sample design data with Expression blend 4, everything looks fine, you see the added sample data in the EB 4 fine, you also see the data in VS 2010 designer too.
Close the EB 4, and next VS 2010 build is giving me this errors:
Error 7 XAML Namespace http://schemas.microsoft.com/expression/blend/2008 is not resolved. C:\Code\source\...myview.xaml
and:
Error 12 Object reference not set to an instance of an object. ... TestSampleData.xaml
when I open the TestSampleData.xaml I see that namespace for my class used to define sample data is not recognized.
However this namespace and the class itself exist in the same project!
If I remove the design data from the MyView.xaml:
d:DataContext="{d:DesignData /SampleData/TestSampleData.xaml}"
it builds fine and the namespace in TestSampleData.xaml is recognized this time??
and then if add:
d:DataContext="{d:DesignData /SampleData/TestSampleData.xaml}"
I again see in the VS 2010 designer sample data, but the next build fails and again I see studio cant find the namespace in my TestSampleData.xaml containing sample data.
That cycle is driving me crazy. Am I missing something here, is it not possible to have your class defining sample design data in the same project you have the MyView.xaml view??
cheers
Valko
I know this is and old question, but do you have the line mc:Ignorable="d" in your xaml? Without this line you will get this error.
Add this namespace
xmlns:SampleData="clr-namespace:Expression.Blend.SampleData.TestSampleData"
Add this resource to a resource dictionary
<SampleData:TestSampleData x:Key="TestSampleData" d:IsDataSource="True"/>
Reference like this in your xaml
d:DataContext="{Binding Source={StaticResource TestSampleData}}"
I realise this is an old(ish) question but I hope this helps someone.