gacutil postbuild event exists with code 1

前端 未结 6 1560
广开言路
广开言路 2021-01-05 03:10

I am trying to register and assembly in the GAC on a post-build event. Here\'s my post-build command

\"C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Bin\

6条回答
  •  -上瘾入骨i
    2021-01-05 04:12

    I had the same problem, I was able to fix it by:

    1. Finding and stopping any other processes that had a handle open on the dll using Process Explorer
    2. Uninstalling the assembly with "gacutil /u AssemblyName"
    3. Increasing the Assembly Version Number in Project Properties -> Assembly information

    After these steps my post build step started working again.

提交回复
热议问题