473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Macros as Post Build Events?

I have a number of things that I need to do on my assemblies after a release
build which I'm currently doing by executing a VBS file as a post build
event. Things include Dotfuscating, re-singing using sn.exe and copying all
the resulting files to a separate production folder.

Is there a better way of doing this? Using the VBS file seams like a rather
old fashioned (and un-managed!) way of this. How else can I go about
executing all these tools and copying all the resulting files whilst taking
advantage of Dot Net? How about using Visual Studio Macros?

Many thanks,
ChrisB.
Feb 7 '06 #1
2 2048
Hi Chris,

Create a dotnet deployment package and add all these rules to the
package. When you create a deployment package, and compile the solution
it would give you the .exe and .msi files which you can use for
installing on any desired machine.

Cheers,
Kris

Feb 7 '06 #2
Hey Kris, thanks for the response.

Unfortunately we cant do that as the compiled assemblies once dotfuscated
and resigned have to go to a different department to then get packaged up
before going out the door. This would otherwise be the perfect way of doing
what needs to be done.

I'm probably not the only one who has their hands tied in this way, and I
hate the messy work arounds that I always end up having to do! I'm just
trying to find the best way I can do all this post build stuff in a managed
way, and drop the Notepad editing of the VBS files!

Any ideas?
<kr***********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi Chris,

Create a dotnet deployment package and add all these rules to the
package. When you create a deployment package, and compile the solution
it would give you the .exe and .msi files which you can use for
installing on any desired machine.

Cheers,
Kris

Feb 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: seberino | last post by:
I've been reading the beloved Paul Graham's "Hackers and Painters". He claims he developed a web app at light speed using Lisp and lots of macros. It got me curious if Lisp is inherently faster...
5
by: Veit Wiessner | last post by:
I wrote a program that handles the buildcount of projects (gets called every time I compile a project, it writes a header file which is #include-ed in the project). My question is this, is it...
4
by: Chronologic | last post by:
All, I have an issue I would like some expert help on. I understand, or so I believe, that C# does not support the concept of a "compile time macro". At least not in the sense I'm looking...
8
by: John | last post by:
Here is the current error that im getting when building my solution. The only thing i can think of is that i needed to install visual studio 6 after visual studio .net was already installed to...
3
by: Loui Mercieca | last post by:
I want to write a script to be executed whenever i build my web application in 'release' mode. What it does is that it gets the newly generated dll and places it in another folder. I tried to use...
6
by: DBxGlock | last post by:
I'm trying to create the equivalent of a post build event for a website. I have the "Web Deployment Projects" add-in installed and am attempting to follow the instructions in the "Using Web...
1
by: Nick | last post by:
Hi There, I'm a little confused how the ActiveSolutionProjects property works in the DTE object whilst working with macros. I would have thought that this would return an array of every active...
4
by: Allan Ebdrup | last post by:
Hi I'm Using VS.Net 2003 and am trying to get the app.config file copied to the directory of the target dll by using a post build command. In Properties/Common Properties/Build Events/Post-build...
3
by: michael.lang | last post by:
I am using PostBuild events in a C# project to run some tasks, but only when in release configuration mode. The build events run perfectly as expected when run. The problem comes when I save the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.