Before Resharper came along and clutter my directories with files, I used tab-completion to launch my solution files from the command line using:
START MyApplication.sln
But, with two other resharper files now preceeding the solution file I needed another way to launch the solutution file. Here’s the script that I came up with:
@ECHO OFF FOR %%n IN (*.sln) DO START %%n
@ECHO OFF
FOR %%n IN (*.sln) DO START %%n
If you have more than one solution file in the same directory, this script is not for you, but that is not a likely scenario. I saved this file as sln.bat and put in the \windows\system32 directory, although any directory in your PATH will do.
An article talking about making ASP.NET Ajax Webservice calls faster by using a technique to divide the Ajax calls into several sub domains. The article includes a JavaScript class that acts like a manager for Ajax Webservice calls giving them several benefits. Its usage is transparent and you do not need to change your existing code. Any developer who uses ASP.NET Ajax Webservice calls should not miss this article.
If the target machine does not have gacutil.exe (for example if SDK is not installed) doing a .NET script to do the same is very easy.
- Add reference to System.EnterpriseServices assembly and
using System.EnterpriseServices.Internal; ... Publish p = new Publish(); // for GAC Installation p.GacInstall(file); // for gac installation ... p.GacRemove(file); // for gac removing ... p.RegisterAssembly(file); // for registering assembly for interop ... p.UnRegisterAssembly(file); // to unregister assembly
using System.EnterpriseServices.Internal;
...
Publish p = new Publish();
// for GAC Installation
p.GacInstall(file); // for gac installation
p.GacRemove(file); // for gac removing
p.RegisterAssembly(file); // for registering assembly for interop
p.UnRegisterAssembly(file); // to unregister assembly
Carefull thow on Vista you should probably try running the program as an Administrator
I think it is safe to say this website sucks ass.
Practically two months without an update when people have been submitting things for you to post.
I am pretty lazy when it comes to a lot of things, and up until today have kept your shitty RSS feed in my reader in hopes that you would actully update the site some day.
But you suck and I hope your website bombs.
Burn in hell.
-thiswebsitesuck