>>>>>>>>HI
>>>>>>>>
>>>>>>>>I have some dll referred to in the bin folder of my project which I have moved.
>>>>>>>>
>>>>>>>>I removed a dll and want to re add the reference
>>>>>>>>
>>>>>>>>When I do I just get a file called dllname.dll.refresh
>>>>>>>>
>>>>>>>>What am I doing wrong ?
>>>>>>>
>>>>>>>I think the *.dll.refresh file is just a text file that lets VS know where the referenced dll should be copied from.
>>>>>>>
>>>>>>>When you say 'I just get a file called ....." do you mean that you can only see the .refresh file and no plain .dll to choose or do you mean that you reference the .dll but it doesn't show up in the bin folder of the project you are referencing it from?
>>>>>>
>>>>>>Hi Viv
>>>>>>
>>>>>>I can see the dll in the folder but when I select add dll I only get the refresh file in the bin folder in the project explorer in visual studio.
>>>>>Hmm,
>>>>>I'm a bit hazy on this. Two questions:
>>>>>Is this a web project of some type?
>>>>>Have you actually tried compiling ?
>>>>
>>>>Its a VB web project and its associated with me trying to move it. Which we discussed briefly a few days ago.
>>>>
>>>>I've copied the project folder to another location and when I open it in Visual studio I get a lot of errors. I thought I'd start clearing them and wanted to make sure the bin folder contents where correct. But when I attempt to delete and re add I get this problem.
>>>>
>>>>I have an additional problem with a lot of errors like "Name Color is not defined". I can cure that specifically by using Import System.Drawing but there are a lot of these errors so I assume I have done something wrong in the way I've moved the project.
>>>>
>>>>Any thoughts ?
>>>
>>>If I get into this sort of mess (and I do :-}) I usually take a clean-sweep approach. Remove all references that are not .Net framework dlls (or other GAC dlls you know you need). Delete everything from the bin folder. Then add references back one at a time until the compiler stops complaining.....
>>
>>supplementary question Viv. (if you don't mind)
>>
>>when I type imports in a pvb program intellisense gives me a list of values I can use.
>>I'm getting a different list in my original project compared to my copy.
>>
>>For instance the original has Dundas on the list my copy doesn't.
>>
>>What dictates what is on that list ?
>
>What's a pvb program ? IAC the namespaces that are listed in intellisense should include any namespaces used in the dlls referenced by the project. So if something is not appearing in the dropdown as expected double check that the reference is in place.
sorry a pvb is a typo.
One more question.
in my original project in one vb file the line
.BackColor = Color.WhiteSmoke
is fine
in my copy in the same vb file Color is flagged as an error name undeclared
this is with no code changes
the suggested fix is to use imports system.
I've tried emptying the bin folder and re adding the references but that has not changed anything.
Any thoughts ?.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only