|
Hello,
I am using Windows XP, VS 2008 SP1, .Net 3.5 SP1 and Xna 3.0. ClickOnce is issuing the warning 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'c:\ProgramFiles\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'.I do not havea DotNetFX35SP1 folder anywhere, butControl Panel's Add or Remove Programs shows that I dohave Microsoft.Net Framework 3.5 SP1 installed. What am I doing wrong? Please help!
Thanks,
Louis.
|
| lrsg2000 Wednesday, July 08, 2009 2:34 PM |
Hilrsg2000,
From my experience, it is possible that the DotNetFx35SP1 is not installed correctly so that some files are missed. You can copy the package from other computer who have installed .NET Framework 3.5 SP1. In another way, you can install DotNetFx35SP1 in a virtual machine and copy files from the virtual machine.
Let me know if this helps. Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread. - Marked As Answer bylrsg2000 Wednesday, July 15, 2009 7:11 PM
-
|
| Aland Li Wednesday, July 15, 2009 3:11 AM |
When are you getting this message? Are you getting it when trying to deploy your application, or when trying to install it? Are you specifying .Net 3.5 SP-1 as a prerequisite to your application in the Prerequisites diealog? Which option for locating the prerequisite do you have selected? Is it "from component vendor's site" ? RobinDotNet Click here to visit my ClickOnce blog! |
| RobinDotNet Thursday, July 09, 2009 2:06 AM |
Hello RobinDotNet!
I am getting the warning"Microsoft.Net.Framework.3.5.SP1 could not be located in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\" by ClickOnce Deployment.Yes, I am specifying .Net Framework 3.5 SP1 in my prerequisitesand yes, I have selected "Download prerequisites from component vendor's web site".
The part that has really confused me is that the warning is correct.Downloading .NetFramework 3.5 SP1 Bootstrapper to my PC does not create the folder c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1 as itshould.Incidentally, Control Panel\Add or Remove Programs shows that I do have .Net Framework 3.5 SP1 installed..... somewhere!!! Searchingthe whole hard drive forthe DotNetFx35SP1folder fails to find it!
Eventually, what I would like to do is to use the option "Download prerequisites from the same location as my application" so my clients do not have to be connected to the Internet.
Thanks a lot for your help, I am completely lost.
Louis. |
| lrsg2000 Thursday, July 09, 2009 1:45 PM |
Hi lrsg2000,
From your description, you selected “Download prerequisites from the same location as my application� This means you need to place the setup files of the dot net 3.5 in your publish machine. These are the steps:
1. Create this directory: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX35.
2. Download the setup file of dot net 3.5 from http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe.
3. Extract files in dotnetfx35.exe to a folder, such as dotnet35.
4. In the files folder(e.g. dotnet35), find these directories: dotNetFX20, dotNetFX30, dotNetFX35, dotNetMSP and a file called dotNetFx35Setup.exe. Copy these four directories and the dotNetFx35Setup.exe file to the directory we have created: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX35.
Please make sure the publish machine have this folder: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\WindowsInstaller3_1 and this file C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe. You can download the file from http://www.microsoft.com/downloads/details.aspx?FamilyID=889482FC-5F56-4A38-B838-DE776FD4138C&displaylang=en.
Please follow this link to get more information: http://social.msdn.microsoft.com/forums/en-US/Vsexpressvb/thread/2bfad816-2802-4fe7-bb52-c4eb4689d50b/.
Best regards, Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread. |
| Aland Li Tuesday, July 14, 2009 6:50 AM |
Hello Aland Li,
Yes, I have all the folders and files exactly as listed above in your reply,but since I don't have a DotNetFx3.5SP1 folder anywhere,ClickOnceis still issuing the warning 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'c:\ProgramFiles\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'.
I am really baffled by this problem and I sincerely appreciate your help in this matter.
Warm regards,
Louis.
|
| lrsg2000 Tuesday, July 14, 2009 2:47 PM |
Hilrsg2000,
Please download this document: http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm#General Issues and search "2.3.1.1 Enable Samesite for the .NET Framework 3.5 SP1 bootstrapper package".
After you finished all the steps, please close and reopen the visual studio to let it pick up the changes.
Let me know if this helps. Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread. |
| Aland Li Tuesday, July 14, 2009 3:51 PM |
Hello Aland,
Now we are getting to the heart of the problem. I have been aware of said document for some time now, but I cannot follow those instructionsbecause I do not have a "[Program Files]\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1" folder anywhere.
Regards,
Louis.
|
| lrsg2000 Tuesday, July 14, 2009 4:11 PM |
Hilrsg2000,
From my experience, it is possible that the DotNetFx35SP1 is not installed correctly so that some files are missed. You can copy the package from other computer who have installed .NET Framework 3.5 SP1. In another way, you can install DotNetFx35SP1 in a virtual machine and copy files from the virtual machine.
Let me know if this helps. Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread. - Marked As Answer bylrsg2000 Wednesday, July 15, 2009 7:11 PM
-
|
| Aland Li Wednesday, July 15, 2009 3:11 AM |
Hello Aland,
Thanksa lot, that worked fine! Isincerely appreciate your effort in helpingus out. Now a different problem. I do not get any warnings or errors when I publish, but when I try to install my application in another PC I get the error:"Could not find file 'D:\Application Files\Project1000_1_0_0_3\obj\x86\Debug\Project1000.obj.x86.Debug.Microsoft.Xna.Framework.RuntimeProfile.txt.deploy'."
Any ideas?
Regards,
Louis.
|
| lrsg2000 Wednesday, July 15, 2009 7:28 PM |
Hilrsg2000,
Please post the question in another thread. We can only have one issue in one thread. Thanks.
Best regrads, Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread. |
| Aland Li Thursday, July 16, 2009 2:22 AM |