Question

Visual Studio 2008(C#).....I have 3 project in one solution(win application). In every project I've been signing using project properties signing tab to one MySigned.snk. How to manage build configuration so my project doesn't error on every build?

I use [assembly: InternalsVisibleTo("MYproject1, PublicKey=.....")] properties so the other project class can access internal class of base class on other project.

Error becasuse I used backgroundprocess to update every form on my project.But on development environment what suppose I have to do so The project safely on during development? thx before...

Was it helpful?

Solution

I use [assembly: InternalsVisibleTo("MYproject1, PublicKey=.....")] properties so the other project class can access internal class of base class on other project.

This is not related to the issue.

In every project I've been signing using project properties signing tab to one MySigned.snk. How to manage build configuration so my project doesn't error on every build?

I assume it is because the assembly versions are auto-incrementing:

  • Use project references always. This way, you will make sure everything is built against latest version numbers
  • Removing * from the AssemblyInfo's assembly version attribute will help here but it is advisable to keep it there.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top