473,401 Members | 2,125 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,401 software developers and data experts.

Delay signing

Hi,

I have an assemly that is delay signed during the dev work and then it is
resigned later when we perform a release build. In the same solution I have
a setup project that uses the PRIMARY OUTPUT of the first project. I also
have a new Configuration setting where I can just build the setup project.

Now, my problem is that the setup project seems to be recompiling the
primary output of the first project before it includes it. The problem is
that this new compile will not be fully signed.

How should I handle this? Do I have to stop using primary output setup group
and start pointing the project to the output assembly that has been
resignedy?

Thanks for any help

Graham Allwood
Jul 19 '05 #1
2 3969
Perhaps, you can try one of the following

(1) If you are using VS.NET 2003, you can specfiy a command in the Build
Events of your project,
sn -R <assembly> <keyfile> when Build is success

This way, everytime when the build is successful, your primary output will
be resigned, and thus your setup project has the right version

(2) You must explicitly tell the setup project not to use the primary output
(as you guessed)
In setup project properties, "Exclude" the primary output, and add your
resigned assemblies into the project

Huihong
protect your .net code @ http://www.remotesoft.com

"Graham Allwood" <gr************@idesta.com> wrote in message
news:OD*************@tk2msftngp13.phx.gbl...
Hi,

I have an assemly that is delay signed during the dev work and then it is
resigned later when we perform a release build. In the same solution I have a setup project that uses the PRIMARY OUTPUT of the first project. I also
have a new Configuration setting where I can just build the setup project.

Now, my problem is that the setup project seems to be recompiling the
primary output of the first project before it includes it. The problem is
that this new compile will not be fully signed.

How should I handle this? Do I have to stop using primary output setup group and start pointing the project to the output assembly that has been
resignedy?

Thanks for any help

Graham Allwood

Jul 19 '05 #2
Thanks for the reply. It seems that 2) is the only way. I don't want to
fully sign my assemblies on the developers desktop so I can't really put
anything in the build events.

Cheers

Graham

"Huihong Luo" <hu******@stanfordalumni.org> wrote in message
news:uL**************@TK2MSFTNGP11.phx.gbl...
Perhaps, you can try one of the following

(1) If you are using VS.NET 2003, you can specfiy a command in the Build
Events of your project,
sn -R <assembly> <keyfile> when Build is success

This way, everytime when the build is successful, your primary output will
be resigned, and thus your setup project has the right version

(2) You must explicitly tell the setup project not to use the primary output (as you guessed)
In setup project properties, "Exclude" the primary output, and add your
resigned assemblies into the project

Huihong
protect your .net code @ http://www.remotesoft.com

"Graham Allwood" <gr************@idesta.com> wrote in message
news:OD*************@tk2msftngp13.phx.gbl...
Hi,

I have an assemly that is delay signed during the dev work and then it is resigned later when we perform a release build. In the same solution I

have
a setup project that uses the PRIMARY OUTPUT of the first project. I also have a new Configuration setting where I can just build the setup project.
Now, my problem is that the setup project seems to be recompiling the
primary output of the first project before it includes it. The problem is that this new compile will not be fully signed.

How should I handle this? Do I have to stop using primary output setup

group
and start pointing the project to the output assembly that has been
resignedy?

Thanks for any help

Graham Allwood


Jul 19 '05 #3

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

Similar topics

1
by: Martin | last post by:
I have a couple of questions around code signing with MS technology: 1. Is there a way to transfer the generated strong name signing private key directly to a smartcard (or generate it on the...
2
by: Graham Allwood | last post by:
Hi, I have an assemly that is delay signed during the dev work and then it is resigned later when we perform a release build. In the same solution I have a setup project that uses the PRIMARY...
6
by: Trevor Hardwick | last post by:
Hi I'm Delay Signing an assembly. The Register for Com Interop property is set to true for all output files. When I build the solution I get the following error: "COM Interop registration...
0
by: inpuarg | last post by:
I have more then 5 projects in one solution. (c# VS 2005) GUI , BOL , DAL , Common Library , Extended Grid Component etc. All are compiled as strongly named assemblies. I am using public...
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.