473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

@Import namespace

Hi,

In the .NET Framework 1.1 environment.

After I have registered an assembly as GAC, I reference it in my Web page
(NO Code-behind) using <%@import namespace="myAssembly" %>. I would get the
compiler error: The type or namespace name 'myAssembly' could not be found
.....
But it will not create an error if I copy the assembly in the local /bin
folder. Also this does not happen to a Web page with code-behind which I
have the "using myAssembly" in the code-behind. Does anyone know why and what
the solution is?

Thanks.

Jan 13 '06 #1
0 891

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Simon Harris | last post by:
Hi All, I am currently learning ASP.Net, heres one of many, many questions to come... :) If you use for example "@import namespace system.data", do I then need to release the namespace, free...
1
by: chuck | last post by:
Every once in awhile I run across a python module that might have statements like: for c in sys.modules.__dict__.values(): or import __builtin__ __builtin__.__dict__ = lambda x: x
1
by: moondaddy | last post by:
In vb.net its possible import a namespace into a project so you don't need to add it to the top of every class. Is there a way to do this in c# on a project level?
3
by: Chris | last post by:
Hi, 1) In file test.aspx, i put: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %> <%@ import namespace="System.Data"%> <%@ import...
1
by: Paul | last post by:
Hello: I want to nlude this statement into everyone of my application's .aspx pages. <%@ Import Namespace="System.Data.SQLClient" %> What is the best practice to do this? Can I do this...
0
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi everyone! In asp.net 2003, I was using for example: <%@ import namespace="mycompany.services.mynamespace" %> and later I could access all mynamespace's classes from the aspx page (separate...
1
by: Johnson545236 | last post by:
I need some serious help. I'm extremely new to vs 2003 .net and I have to work with CRM, sigh. I am trying my first program and I get this error: Description: An error occurred during the...
0
by: Laszlo Nagy | last post by:
ohad frand wrote: So this is what you have: /1/tmp1.py /1/tmp2.py /2/tmp1.py /2/tmp2.py
3
by: =?Utf-8?B?U3VyZXNo?= | last post by:
Anyway to do the following in aspx HTML? Currently in my codebehind: #if SOMECONDITION using MYBL=MyNamespace.Biz #else using MYBL=MyNamespace.WebServiceBiz #endif
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.