Reputation: 17565
I have a problem while building a C# project: something's going wrong while launching the enhancer.
In order to investigate, I'd like to run the corresponding command in commandline, but as this has the annoying habit of mentioning all references, soon enough the command becomes that large that it does not fit in Windows commandline anymore.
I already tried using the developer command prompt for VS 2022 but that does not solve the issue.
My command:
"C:\<Project>\packages\Telerik.DataAccess.Fluent.2016.2.822.1\tools\enhancer\enhancer.exe"
-verboseMode:3
-assembly:"C:\<Development_Directory\obj\Debug\Program.dll"
-reference:...
-attributeMapping
-fluentMapping
(The list of references is HUGE.)
Upvotes: 0
Views: 80
Reputation: 328
Write all your command in a .txt file. The format is as below:
C:\<Project>\packages\Telerik.DataAccess.Fluent.2016.2.822.1\tools\enhancer\enhancer.exe -verboseMode:3 -assembly:"C:\<Development_Directory\obj\Debug\Program.dll" -reference:… -attributeMapping -fluentMapping
pause
Then change the .txt to .bat and click to excute.
Upvotes: 0