How to deploy C# console application? -


as stated in title. have tried copying entire bin\debug folder application doesnt run on other computers. believe console application not run if host pc not have visual studio , tools installed. there way deploy application such can run on computer?

edit: sorry not including more details. first started having missing assembly system.threading.tasks.dataflow have managed fixed getting dll nuget. host pc im testing on has required .net 4.5.2 installed, , current error message have is:

unhandled exception: system.aggregateexception: 1 or more errors occurred. ---> microsoft.build.exceptions.invalidprojectfileexception: imported project "c:\program files (x86)\msbuild\microsoft\visualstudio\v11.0\webapplications\microsoft.webapplicat‌​ion.targets" not found. confirm path in declaration correct, , file exists on disk.

please open project file. please comment below code if can found see if works.

<propertygroup> <visualstudioversion condition="'$(visualstudioversion)' == ''">10.0</visualstudioversion> <vstoolspath condition="'$(vstoolspath)' == ''">$(msbuildextensionspath32)\microsoft\visualstudio\v$(visualstudioversion)</vstoolspath> </propertygroup>


Comments