Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cant get drag-n-drop from Excel to work. Please help. Pin
Heath Stewart6-Feb-05 6:08
protectorHeath Stewart6-Feb-05 6:08 
GeneralOverriding Uninstall method Pin
Adnan Siddiqi4-Feb-05 12:13
Adnan Siddiqi4-Feb-05 12:13 
GeneralRe: Overriding Uninstall method Pin
Heath Stewart4-Feb-05 13:21
protectorHeath Stewart4-Feb-05 13:21 
GeneralRe: Overriding Uninstall method Pin
Adnan Siddiqi4-Feb-05 20:10
Adnan Siddiqi4-Feb-05 20:10 
GeneralRe: Overriding Uninstall method Pin
Heath Stewart5-Feb-05 3:01
protectorHeath Stewart5-Feb-05 3:01 
GeneralRe: Overriding Uninstall method Pin
Adnan Siddiqi5-Feb-05 4:10
Adnan Siddiqi5-Feb-05 4:10 
GeneralRe: Overriding Uninstall method Pin
Heath Stewart5-Feb-05 4:58
protectorHeath Stewart5-Feb-05 4:58 
GeneralRe: Overriding Uninstall method Pin
Adnan Siddiqi5-Feb-05 8:28
Adnan Siddiqi5-Feb-05 8:28 
GeneralRe: Overriding Uninstall method Pin
Adnan Siddiqi6-Feb-05 2:34
Adnan Siddiqi6-Feb-05 2:34 
GeneralRe: Overriding Uninstall method Pin
Heath Stewart6-Feb-05 5:20
protectorHeath Stewart6-Feb-05 5:20 
GeneralCreating web user control dinamically Pin
see074-Feb-05 12:06
see074-Feb-05 12:06 
GeneralRe: Creating web user control dinamically Pin
Heath Stewart4-Feb-05 13:19
protectorHeath Stewart4-Feb-05 13:19 
GeneralManaged direct3d and vmr9 Pin
natarius4-Feb-05 10:46
natarius4-Feb-05 10:46 
GeneralRe: Managed direct3d and vmr9 Pin
Heath Stewart4-Feb-05 13:17
protectorHeath Stewart4-Feb-05 13:17 
GeneralRe: Managed direct3d and vmr9 Pin
natarius4-Feb-05 13:48
natarius4-Feb-05 13:48 
GeneralRe: Managed direct3d and vmr9 Pin
Heath Stewart5-Feb-05 3:14
protectorHeath Stewart5-Feb-05 3:14 
GeneralRe: Managed direct3d and vmr9 Pin
natarius5-Feb-05 7:57
natarius5-Feb-05 7:57 
GeneralRe: Managed direct3d and vmr9 Pin
Heath Stewart6-Feb-05 5:11
protectorHeath Stewart6-Feb-05 5:11 
QuestionHow to enable an UI control in System.Threading.Timer Pin
jll03304-Feb-05 10:11
jll03304-Feb-05 10:11 
AnswerRe: How to enable an UI control in System.Threading.Timer Pin
leppie4-Feb-05 13:07
leppie4-Feb-05 13:07 
GeneralRe: How to enable an UI control in System.Threading.Timer Pin
jll03304-Feb-05 13:17
jll03304-Feb-05 13:17 
GeneralPost Build Error Pin
gantww4-Feb-05 9:16
gantww4-Feb-05 9:16 
GeneralRe: Post Build Error Pin
Heath Stewart4-Feb-05 13:14
protectorHeath Stewart4-Feb-05 13:14 
gacutil.exe must be in your path and you must have installed the .NET Framework SDK. By default this is installed with VS.NET.

To add this to your PATH environment variable, right-click on "My Computer", select Properties, click the Advanced tab, and select environment variables. I recommend adding this to the system environment variables toward the end (after the various %WINDIR% directories).

Add the following to your PATH environment variable (separated by semi-colons):
%WINDIR%\Microsoft.NET\Framework\v1.1.4322
Use whichever .NET verison is appropriate. The above is for .NET 1.1, of course.

You must restart VS.NET for this change to take effect. You could also specify the following for your post build action instead of just "gacutil.exe":
$(WINDIR)\Microsoft.NET\Framework\v1.1.4322
The larger problem is, why are you installing your projects you're working on in the GAC? The GAC is for runtime assemblies only - not for building against (which is why both the .NET Framework BCL assemblies and third-party assemblies install both into a private version directory as well as into the GAC). If you're solution includes multiple projects, use a project reference instead of a file reference. This means that when you use the Add Reference dialog for your project, you click on the Project tab and add your project. Not only does this keep your assemblies up-to-date by establising build dependencies, but it also makes sure that if you're using automatic versioning (using an asterisk in your AssemblyVersionAttributE, which isn't recommended for most projects) your assemblies with that dependency will build against the right version since version numbers matters very much for managed assemblies (as opposed to most native libraries).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Post Build Error Pin
gantww5-Feb-05 17:56
gantww5-Feb-05 17:56 
GeneralRe: Post Build Error Pin
Heath Stewart6-Feb-05 5:44
protectorHeath Stewart6-Feb-05 5:44 

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.