There is now an open source release on CodePlex for a subversion based assembly version management library that leverages MSBuild Tasks for automation. What this provides is a way for you to integrate version management on your Visual Studio Projects and automatically ensure that the SVN Revision number is attached to the assembly version.
http://www.codeplex.com/wikipage?ProjectName=webserver&title=HTTPS
"WS-Trust (or the Web Service Trust Language) is a WS-* specification and OASIS standard that provides extensions to WS-Security dealing with issuing, renewing, validating and expiring security tokens. It also provides a way to address the presence of and broker trust relationships between participants of the secure message exchange."
Everyone who regrets installing Visual Studio 2003 can take pleasure in knowing there is an alternative. There is an MSBuild Extension called ‘MSBee’ that was built to manage building applications using Visual Studio 2005 projects that target .NET 1.1. Moving forward to use Visual Studio 2008, there is an extension to that called CrossCompile.CSharp.targets and CrossCompile.CSharpWeb.targets Referencing article: http://devlicio.us/blogs/ziemowit_skowronski/archive/2008/08/22/working-with-net-1-1-in-visual-studio-2008-and-team-server.aspx From that, it is possible to create a Visual Studio 2008 Project and ensure that it compiles directly to .NET 1.1 Assemblies. Setup: Download MSBee and install it (make sure you install the .NET Framework 1.1 and the .NET Framework 1.1 SDK): http://www.codeplex.com/MSBee Download CrossCompile and export the targets to your %Program Files%\MSBuild directory. http://www.gl-net.org.uk/Files/CrossCompile.zip Take a look at that article on how to take an existing project and ensure that you can convert it for Visual Studio 2008. New Class Library Project Templates Or if you happen to need a new project, I have created a Visual Studio Templates just for that: http://nyxtom.googlepages.com/ClassLibrary-Net.1.1.zip Note about adding additional references: Your project is set to .NET 2.0 so by default it any additional references added are only going to show as 2.0 References. To fix this, (say you add System.Web.Services) unload the project, edit the .csproj file and find the section that indicates a ‘HintPath’. You can either specify the .NET 1.1 Framework HintPath or delete the HintPath altogether. Without the hint paths, Visual Studio will assume .NET 2.0 and thus give you the ability to write 2.0 code; however any 2.0 based code you do write will cause a compiler error as it isn’t supported by the .NET 1.1 CSC ran by CrossCompile and MSBee. Enjoy J
When was the last time you decided you needed to deploy a product of yours. How often is it that you run into a situation where configuration and the manual to installation of your projects becomes a royal pain in the neck? Well, for most, maybe not all that often, but for the few in the corporate world - this may happen all too often.
using System.Security.Cryptography.X509Certificates;
namespace AddCert
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 7 && args.Length != 5)
Console.WriteLine("Usage: addcert cert.pfx /r LocalMachine /s My /pass mypass");
string path = args[0];
StoreLocation sl = (StoreLocation)Enum.Parse(typeof(StoreLocation), args[2]);
StoreName sn = (StoreName)Enum.Parse(typeof(StoreName), args[4]);
X509Store store = new X509Store(sn, sl);
store.Open(OpenFlags.ReadWrite);
if (args.Length == 5)
store.Add(new X509Certificate2(path));
else if (args.Length == 7)
store.Add(new X509Certificate2(path, args[6]));
store.Close();
}
}
}
Every now and then it's always nice to have a little system of automation to ease your way into deployment, packaging and all sorts of interesting things. To do so, all you have to do is dance dance! :D

- Copying the target directory to a deployment folder: copy "$(TargetDir)" "$(SolutionDir)Deployment\"
- Copying the target path to the deployment folder: copy "$(TargetPath)" $(SolutionDir)Deployment\"
- Running a script to cleanup the leftovers:
Within a bat file you can select all the directories within a directory where the given name appears:FOR /F "tokens=*" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q "%%G" FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" - Running a script to stop a service, uninstall it and then re-install it, and finally start it.
net stop MyServiceName
installutil -u Location\To\MyService.exe
installutil Location\To\MyService.exe
net start MyServiceName
Thomas,good work there.thanks. Is it possible to save the audio in .wav format rather than MP3 formatt.I look to hearing... read more
on Recording audio in C#