0

I have created a setup file for windows forms app and .net framework is 3.0. Now i don't want it to download from internet if framework is not available on installation machine. For that i am using below option as shown in screenshot.

Pre-requisite snapshot

After that when i build i get following errors. How can i fix all these errors or is there any other way to achieve this?

Error snapshot

Ronak
  • 187
  • 2
  • 17
  • You'll have to manually download all these dependencies and put them on the same location as your application, then they will be packaged with the app – Dumisani Feb 20 '20 at 09:50
  • Try downloading the full Service Pack [Here](https://www.microsoft.com/en-za/download/details.aspx?id=25150) then place it in your App's location – Dumisani Feb 20 '20 at 09:54
  • @Dumisani - At what location should i place this full service pack? Will it be C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages\SqlClrTypes_x86. Full service pack is .exe file so i will have to install that for getting the packages right? I believe .net framework 3.5 includes both 2.0 and 3.0 just to confirm? – Ronak Feb 20 '20 at 10:09
  • I think the path should be `C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\Packages\DotNetFX35SP1` according to your error but I'm not too sure. I don't think you have to install it, but that should be packaged and be installed when installing your app. Yes it includes those versions too and based on your errors it's mainly 3.5 that's an issue. – Dumisani Feb 20 '20 at 10:37
  • Sorry, I haven't worked with winforms since varsity but I had to perform this task before. And it was a mission – Dumisani Feb 20 '20 at 10:39

0 Answers0