473,395 Members | 1,677 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,395 software developers and data experts.

VS.NET Randomly Deletes Referenced Assemblies

Bob
I have an application that builds to the same directory that contains outside
references and it seems to be very buggy.

Random outside assemblies (referenced by projects in the solution) get
deleted once in a while for no reason at all. This usually seems to happen
during build or deploy (not sure which). One time it wiped out the entire
directory.

This latest time it happened I added a new project to the solution...
deleted it (no changes or added references to the project) and it deleted
several class libraries and removed references in other projects in the
solution to those class libraries.

Is there a workaround for this behavior? It is annoying to have to
rebuild/restore assemblies and fix my project over and over again after
VS.NET deletes stuff.
Jul 21 '05 #1
2 1062
CMM
I'm not sure when exactly this happens but I've noticed this at times when a
class' interface changes... thus theoretically breaking other components that
rely on it. This is especially true with "designed" classes (controls and
"components") as it prevents the IDE from serializing their properties when
saving forms that contain them.

Tweaking your Build Order should fix the problem.

"Bob" wrote:
I have an application that builds to the same directory that contains outside
references and it seems to be very buggy.

Random outside assemblies (referenced by projects in the solution) get
deleted once in a while for no reason at all. This usually seems to happen
during build or deploy (not sure which). One time it wiped out the entire
directory.

This latest time it happened I added a new project to the solution...
deleted it (no changes or added references to the project) and it deleted
several class libraries and removed references in other projects in the
solution to those class libraries.

Is there a workaround for this behavior? It is annoying to have to
rebuild/restore assemblies and fix my project over and over again after
VS.NET deletes stuff.

Jul 21 '05 #2
CMM
I'm not sure when exactly this happens but I've noticed this at times when a
class' interface changes... thus theoretically breaking other components that
rely on it. This is especially true with "designed" classes (controls and
"components") as it prevents the IDE from serializing their properties when
saving forms that contain them.

Tweaking your Build Order should fix the problem.

"Bob" wrote:
I have an application that builds to the same directory that contains outside
references and it seems to be very buggy.

Random outside assemblies (referenced by projects in the solution) get
deleted once in a while for no reason at all. This usually seems to happen
during build or deploy (not sure which). One time it wiped out the entire
directory.

This latest time it happened I added a new project to the solution...
deleted it (no changes or added references to the project) and it deleted
several class libraries and removed references in other projects in the
solution to those class libraries.

Is there a workaround for this behavior? It is annoying to have to
rebuild/restore assemblies and fix my project over and over again after
VS.NET deletes stuff.

Jul 21 '05 #3

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

Similar topics

4
by: Jimi | last post by:
Given a C# project file path, can I use reflection to get all the assemblies referenced by the project? e.g., I know the path of a C# project, say, "c:\SomeProject.csproj", and I want to load...
1
by: Jimi | last post by:
(Sorry for the repost, but I thought maybe I'd have better luck this time) I'm working on a utility to provide an overview of one's .NET projects and one of the things I want to display is...
2
by: BH | last post by:
My question may be a bit odd. Right now I can see that all referenced assemblies in my project are compiled into the application assembly so when I deploy the application, I don't see those...
1
by: Bob | last post by:
For an assembly I manually load from a file, this code snippet: For Each t As Type In asm.GetTypes 'do something Next generates this error message: ...
3
by: Steve Long | last post by:
Hello, can anybody tell me what the trick is to getting VB.NET 2003 to step into the code of an assembly that I have referenced in my project? For instance, I have these two assemblies, both...
2
by: Bob | last post by:
I have an application that builds to the same directory that contains outside references and it seems to be very buggy. Random outside assemblies (referenced by projects in the solution) get...
1
by: Omatase | last post by:
Here is my code: CDO.Message iMessage = new CDO.MessageClass(); string sFrom; string sDate; iMessage.DataSource.Open(bstrURLItem,null, ADODB.ConnectModeEnum.adModeRead,...
0
by: lbolognini | last post by:
Hi all, How do i get a list of all cross-referenced assemblies starting from a foo.dll? i'd like to have a unique list of all the assemblies dependant on foo.dll and of all the assemblies that...
0
by: mahendra dubey | last post by:
Hi There I want to get all referenced assembly of a Project.While googling I found two way of doing this... 1)Assembly.GetEntryAssembly().GetReferencedAssembly() but problem with that...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...
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
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...

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.