all groups > dotnet windows forms designtime > july 2004 >
You're in the

dotnet windows forms designtime

group:

Problem: Assemblies cannot be replaced at VS designtime



Problem: Assemblies cannot be replaced at VS designtime Bernd S
7/6/2004 5:26:19 PM
dotnet windows forms designtime: Hi,

is it possible to copy assemblies from the original place in the solution to
another place in the file system and then - at Visual Studio designtime, in
order to create an instance descriptor for a property for code serialization
in InitializeComponent - loading them from there (in order to reflect them);
and then compile the same solution?

Background: Sometimes I have some compiler errors that dll- or pdb-files
cannnot be replaced. May it be that this is because of prior loading those
assemblies at Visual Studio designtime (in spite of copying them to another
place)? If yes, is there an easy workaround?

Thanks,
Bernd




Re: Problem: Assemblies cannot be replaced at VS designtime Bernd S
7/8/2004 10:23:47 AM
I found out that explicitly referencing implicitly used projects eliminates
the problem that assemblies are locked by another process.

"Bernd S" <nospam@nospam7428012.de> schrieb im Newsbeitrag
news:%23nAYk12YEHA.1000@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button