Click here to Skip to main content
15,896,154 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How to restrict a .NET assembly to be consumed only by a specific assembly(exe or WebApp) Pin
Joe Woodbury12-Mar-09 8:15
professionalJoe Woodbury12-Mar-09 8:15 
AnswerRe: How to restrict a .NET assembly to be consumed only by a specific assembly(exe or WebApp) Pin
supercat912-Mar-09 8:27
supercat912-Mar-09 8:27 
QuestionGetSystemMetric(SM_NETWORK) returns alwas 3 as the value!!! Pin
CoolCoder_New11-Mar-09 4:18
CoolCoder_New11-Mar-09 4:18 
AnswerRe: GetSystemMetric(SM_NETWORK) returns alwas 3 as the value!!! Pin
Dave Kreskowiak11-Mar-09 4:31
mveDave Kreskowiak11-Mar-09 4:31 
Question"Method Not Allowed" 405 On 2003 SP2 Pin
Lior Zat9-Mar-09 22:14
Lior Zat9-Mar-09 22:14 
AnswerRe: "Method Not Allowed" 405 On 2003 SP2 Pin
Dave Kreskowiak10-Mar-09 1:26
mveDave Kreskowiak10-Mar-09 1:26 
GeneralRe: "Method Not Allowed" 405 On 2003 SP2 Pin
led mike10-Mar-09 4:47
led mike10-Mar-09 4:47 
QuestionAppending the ToolboxItem.DependentAssemblies property Pin
astibich29-Mar-09 11:04
astibich29-Mar-09 11:04 
I am writing a Visual Studio 2008 Tool Window plugin that exposes a custom toolbox. I create controls on Forms using the 'ToolboxItem' class. I would like to append to the ToolboxItem dependencies, such that my assembly will be auto-inserted as a reference after the control creation. Here's an example of what I'm trying to do:

ToolboxItem tbi = new ToolboxItem(typeof(CheckBox));

AssemblyName[] depends = tbi.DependentAssemblies;
List<assemblyname> listDepends = new List<assemblyname>();
listDepends.AddRange(depends);

listDepends.Add(new AssemblyName("MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e7d025b3483b4afc"));

tbi.DependentAssemblies = listDepends.ToArray();

The control gets created fine, but 'MyAssembly' is not added to the project references. 'MyAssembly' is installed in the GAC - I've double checked that the full path is correct.

Thanks,

Aaron
AnswerRe: Appending the ToolboxItem.DependentAssemblies property Pin
0x3c09-Mar-09 11:55
0x3c09-Mar-09 11:55 
QuestionBug in DataTable ReadXml causes spaces to be ignored Pin
calhuskerfan9-Mar-09 6:37
calhuskerfan9-Mar-09 6:37 
QuestionGlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 1:35
CoolCoder_New9-Mar-09 1:35 
AnswerRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 3:02
sitebuilderLuc Pattyn9-Mar-09 3:02 
AnswerRe: GlobalMemoryStatus() return negative value like - Pin
Dave Kreskowiak9-Mar-09 3:16
mveDave Kreskowiak9-Mar-09 3:16 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 3:45
CoolCoder_New9-Mar-09 3:45 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 3:55
sitebuilderLuc Pattyn9-Mar-09 3:55 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 4:23
CoolCoder_New9-Mar-09 4:23 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 4:29
sitebuilderLuc Pattyn9-Mar-09 4:29 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 4:58
CoolCoder_New9-Mar-09 4:58 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 5:05
sitebuilderLuc Pattyn9-Mar-09 5:05 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:53
CoolCoder_New9-Mar-09 5:53 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 6:02
sitebuilderLuc Pattyn9-Mar-09 6:02 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Dave Kreskowiak9-Mar-09 4:40
mveDave Kreskowiak9-Mar-09 4:40 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:48
CoolCoder_New9-Mar-09 5:48 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 6:00
sitebuilderLuc Pattyn9-Mar-09 6:00 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:54
CoolCoder_New9-Mar-09 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.