S
SirMike
Hello,
I have got two assembly in web application's Bin folder. There is a
class in both of them with the same namespace and a name. Ofcourse there
is totally different code in them and I cannot recompile.
I know that I can add /reference option to the compiler and make an
extern alias in my aspx.cs file.
The problem is when I pass the /reference:Alias=name.dll I have got the
message from a compiler that this assembly is already referenced. I
suppose that it's automatically referenced by the compiler because it's
in Bin directory.
So, I tried to move it away from Bin folder and refrence the new folder.
It compiles in the Visual Studio but when page is loading I have got
another error: "Could not load file or assembly: name.dll
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies"
Can somebody give me a hint how to solve it?
I have got two assembly in web application's Bin folder. There is a
class in both of them with the same namespace and a name. Ofcourse there
is totally different code in them and I cannot recompile.
I know that I can add /reference option to the compiler and make an
extern alias in my aspx.cs file.
The problem is when I pass the /reference:Alias=name.dll I have got the
message from a compiler that this assembly is already referenced. I
suppose that it's automatically referenced by the compiler because it's
in Bin directory.
So, I tried to move it away from Bin folder and refrence the new folder.
It compiles in the Visual Studio but when page is loading I have got
another error: "Could not load file or assembly: name.dll
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies"
Can somebody give me a hint how to solve it?