I am trying to reference LINQPad.exe, the .NET executable, so that my code can use its wonderful extension method .Dump () . Adding a link to exe allows me to use the following code on my dev machine, but it breaks ClickOnce ("The link in the manifest does not match the identifier of the loaded LINQPad.exe assembly.").
public static string DumpString<T>(this T o) { var w = LINQPad.Util.CreateXhtmlWriter(); w.WriteLine(o); return w.ToString(); }
Does anyone know how to reference .exe and deploy it using ClickOnce (or a similarly simple method)? Please note that I cannot just include .exe and name it as a process - I need to refer to it as an API. In addition, LINQPad.exe has assemblies inside it that cause problems when trying to use ILMerge in a file, so ILMerge does not seem to be an option.
LINQPad EULA does not allow redistribution without the written permission of the owner of LINQPad.
You are not allowed to do what you want to do, because it is illegal.
- , . Dump() Codeplex .
LinqPad, :
: (no promises) , .
linkqpad.exe . none, copy-to-output-directory false.
, , , , . , , GAC. , "content" copy-to-output- false. , , .
DLL , GAC ( DirectX, Infragistics). , exe...
RobinDotNet
Source: https://habr.com/ru/post/1734278/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1734271/sql-server-2005-select-that-joins-tables-from-a-remote-server-runs-too-slowly-when-i-select-mincolumn&usg=ALkJrhh2-_kHzt_q-DJXPd_XkqDm_QpahQHow character binding works for shared libraries on Linux - c ++SQL - Mixing AND and OR - sqlLook at div # in the answer if the data is 1 - javascriptНеобходимы рекомендации или рекомендации по стратегиям управления релизами - svnhow to use dll? - c ++Why do thousands of failed SQL Server login attempts cause an application to abort? - .netI am creating an open source GPL H264 encoding lib / app (based on x264), do I need to pay for a license? - c ++How to “update” Vista's startup menu programmatically - c #Где я могу найти версию Xcode 3, которая будет работать в Mac OS X 10.5? - xcodeAll Articles