开发者

Error Code 1 when I install an assembly in GAC

What is the error ?

The command ""C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" /i D:\WDS\bin\Debug\WDS.dll /f" exited with code 1.

I am using VS 2010 and I run this on my post build event.

"$(Framewo开发者_开发知识库rkSDKDir)bin\gacutil.exe" /i $(TargetPath) /f

I found in some forum that I have to quote the TargetPath like that

"$(FrameworkSDKDir)bin\gacutil.exe" /i "$(TargetPath)" /f

But the error is still there.

Can anybody help me ?


I was getting a similar error. Following Hans Passant's comment to the question, I discovered an access denied error. Running Visual Studio as Administrator fixed the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜