Can AssemblyInfo patching work for only specific files

seandhunt_7's Avatar


02 Jun, 2018 07:01 PM

So like for example I got like 7~8 .NET (C# assemblies), some of them must be a separate version than what my main projects are. I only want to patch the AssemblyInfo.cs files to the main projects, not the non main which are in this case plugins (5 of the) loaded by a core dll which is then loaded by the main windows forms exe that both share the same version. The other 2 assemblies are non-versioned and are just used for build (like getting information from git or for doing the actual zipping of artifacts because I want it to also zip locally even outsize of AppVeyor. So doing a patch on only 2 of the AssemblyInfo.cs files on the projects might be helpful.

  1. Support Staff 1 Posted by Ilya Finkelshte... on 03 Jun, 2018 07:05 AM

    Ilya Finkelshteyn's Avatar

    You can share assemblyinfo file between projects you need to patch and patch only that file. This file can have different name as well.

    Some helpful info:

  2. 2 Posted by seandhunt_7 on 08 Jun, 2018 02:24 AM

    seandhunt_7's Avatar

    Well unrelated but apperently if I call rc.exe on my laptop in a c# project it works but apperently in AppVeyor it fails under the default build with msbuild on the sln. You guys might want to add rc.exe to the path on the VS2017 boxes.

  3. Ilya Finkelshteyn closed this discussion on 27 Aug, 2018 08:06 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac