Thank you for the answer.
I think that you understood my scenario correctly.
I reference my class library by project reference and the assemblies are not
strong named.
Thanks you
Shimon.
Hi Shimon,
>I reference my class library by project reference and the
>assemblies are not strong named.
If so, such behavior is as expected, the referenced assembly is just being
locked by the VS.NET IDE(it is still being used by your ASP.NET project
which belongs to the current solution.)
In this scenario, I suggest you can exclude that class library project from
the ASP.NET project's solution or don't use the project reference, just the
reference the target assembly directly...
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
Shimon Sim - 01 Sep 2005 14:43 GMT
But I need to use debug version of the class library when I am using debug
version of ASP..NET project and release version when I am building for
release.
How do I accomplish this without referencing the project?
Shimon
> Hi Shimon,
>
[quoted text clipped - 25 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Gary Chang[MSFT]" - 02 Sep 2005 09:00 GMT
Hi Shimon,
>But I need to use debug version of the class library when
>I am using debug version of ASP..NET project and
>release version when I am building for release.
>How do I accomplish this without referencing the project?
This could not be done without referencing the project, but If you just
want to your ASP.NET project uses the latest build version of the target
assembly, I suggest you may try the following workaround without the
referencing the class library project directly:
Specify the class library's Output Path property to your ASP.NET project's
bin directory:
YourAsssemblyProject Property Pages/Cinfiguration
Properties/Build/Outputs/Output Path
Whis this helps!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
Shimon Sim - 02 Sep 2005 13:15 GMT
Thank you Gary
Shimon
> Hi Shimon,
>
[quoted text clipped - 28 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Gary Chang[MSFT]" - 03 Sep 2005 03:30 GMT
You are welcome Shimon!
I am glad to help you on this issue and appreciate your understanding with
this VS2003 IDE's behavior.
Have a nice weekend!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
Shimon Sim - 01 Sep 2005 17:39 GMT
I was trying to make some research on this. Everything I found is exactly
what I am doing - referencing project.
Why no one ever mentions about this behavior and shows other approach?
This is strange.
Shimon.
> Hi Shimon,
>
[quoted text clipped - 25 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.