Ravi Patel

Results 222 comments of Ravi Patel

You can try adding binding redirects as shown in [this article](https://www.inrule.com/resources/blog/microsoft-xrm-client-woes-and-how-to-resolve-them/). Also, I don't see "Microsoft.Xrm.Sdk.dll" in targets file which should contain the "Microsoft.Xrm.Sdk". If it still doesn't work then...

You can try providing ILRepack.targets similar to the following one in your projects folder. ```xml ```

Yes, You have to provide targets file to use AllowedDuplicateNamespaces option which should work similarly to /allowDup. You can use something like the following if you don't want to write...

Try providing a LogFile option. It should show up in the log.

Or you can use [MSBuild Log Viewer](http://msbuildlog.com/).

Can you try outputting the log file using the LogFile option in your targets file? By inspecting the log file I will able to get more insight on how it...

@Garonenur Does the suggestion from @uecasm fixed the issue? This shouldn't happen cause it is working fine in Project itself.

@replaysMike Are you adding it at root of project directory?

@replaysMike It happens cause when you provide your custom targets file it assumes you want full control of the ILRepack procedure, so it doesn't do the cleaning. It only works...