|
by: Bruce D |
last post by:
Hi all. I'm working on debugging someone else's code. The .NET application
is a mess...I can't open the project or solution files, so I've started
over...creating new projects and such. I'm working on a form that gives me
the following error when I try to build the project:
The type or namespace name 'ogi' could not be found (are you missing a using
directive or an assembly reference?)
Here is the line it's having problems with:...
|
by: Jim Heavey |
last post by:
I am trying to figure out the @Assembly directive.
I have an application which uses "codebehind" and only uses source code,
so I
am using the "src=" option of the @Page directive. So I have something
that
looks like the following:
ASPX Files ASPX.VB Files
Page1.aspx Page1.aspx.vb
|
by: Bruce W. Roeser |
last post by:
All,
I'm reading a book by Charles Petzold (Programming VS.Net). Pretty good
content but am confused about the difference. From the text:
----------------------------------------------------------------------------------------------------------------------------------------------------------
The @ Import Directive
Next to @ Page, the directive that ASP.NET programmers use the most is @
Import. The @ Import directive is ASP.NET's...
|
by: Steve Richter |
last post by:
When I build a C# class and install it in the GAC, my code works as it
should, my .aspx code finds the DLL and can run a static method:
<%@ Assembly Name="AutoCoder, Culture=neutral,
Version=1.0.1922.22245, PublicKeyToken=0a4067d718757385" %>
<%@ Import Namespace="AutoCoder" %>
Trace.Write( "AutoCoder", AutoCoder.Common.GetConnectionString( )) ;
But I cant locate the assembly in its directory using the src=
property.
|
by: Jim |
last post by:
Hi, I have an assembly and it's satellite in my GAC.
I have referenced the DLLs in my project (from the same location where I
added it to the GAC). CopyLocal is set false.
When I run the project I get our old friend:
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
|
|
by: Andy Fish |
last post by:
Hi,
I have a single-file aspx file (no codebehind). when I try to do this:
<%@ Import Namespace="MySql.Data.MySqlClient" %>
I get this:
CS0246: The type or namespace name 'MySql' could not be found (are you
missing a using directive or an assembly reference?)
|
by: ewolfman |
last post by:
Hi,
I've read many posts in several news groups, but can't figure out how
to publish my website. The specific error I'm getting (on the
"successfully published website") is "Could not load the assembly
'App_Web_vxfyglsm'. Make sure that it is compiled before accessing the
page".
I checked - The assembly DOES exist in the target web folder.
|
by: volvox |
last post by:
hi, is it possible to access protected mode registers (EAX ,
EBX,ECX...) via assembly in C .
|
by: Ebbe Kristensen |
last post by:
Hi All
I am trying to get access to an assembly in an ASPX project. I have added
the assembly to GAC using gacutil and added an "%@Import namespace =
"MyNamespace" %" to the .aspx file but this is seemingly not enough since
the using directive in the .aspx.cs file gives the error:
"The type or namespace name "MyNamespace" could not be found (are you
missing a using directive or an assembly reference?)"
|
by: Paul |
last post by:
Hi,
I have experience in Java and C++ but I am rather new to C# and just
started learning it. I am using Visual C# 2005 Express Edition and I
found that there is a file called "AssemblyInfo.cs", which is something
like I attached below. Would anyone please let me know what is the
purpose of this file? Or are there any equivalent stuff I can imagine
in C++ or Java?
Thanks a lot.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|