简体   繁体   中英

Visual Studio Express ClickOnce - Can't Publish .NET 4.5 Offline Installer with application

I'm trying to publish an application with a pre-req being .NET 4.5. I have Clicked create a setup program to install prereq components and I have selected to include .NET Framework 4.5

I have Selected download pre-req from the following location: and set a link to my server. This is the error when I try Publish it:

To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'DotNetFX45\\dotNetFx45_Full_x86_x64.exe' for item 'Microsoft .NET Framework 4.5 (x86 and x64)' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=239883 .

I've tried with .NET 4.5 and .NET 4.5.1, downloaded to local PC and Server and still have the same issue.

Anyone know what the go is? Thanks.

我通常将其设置为从MS获取文件,所以这不是我的头脑,但我认为如果您将redist添加到解决方案中,而不是单击项目属性的Publish选项卡中的“Application Files”按钮,确保.NET 4.5可再发行组件在列表中并且所有属性都设置正确你应该好好去...

Have you followed the instructions in the link? http://msdn.microsoft.com/en-us/library/hh873130(v=vs.110).aspx

You need to download and place the installer in the appropriate directory then map it inside the XML (the instructions under heading "To add an installer package for the .NET Framework 4.5" ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM